@burnt-labs/xion-types 0.0.1-test.1762962136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jest.config.js +18 -0
- package/package.json +56 -0
- package/scripts/aminos.ts +29 -0
- package/scripts/codegen.ts +94 -0
- package/scripts/download-protos.ts +248 -0
- package/telescope.config.json +84 -0
- package/tsconfig.esm.json +9 -0
- package/tsconfig.json +18 -0
- package/types/abstractaccount/bundle.ts +35 -0
- package/types/abstractaccount/client.ts +48 -0
- package/types/abstractaccount/lcd.ts +130 -0
- package/types/abstractaccount/rpc.query.ts +93 -0
- package/types/abstractaccount/rpc.tx.ts +74 -0
- package/types/abstractaccount/v1/account.ts +250 -0
- package/types/abstractaccount/v1/events.ts +135 -0
- package/types/abstractaccount/v1/genesis.ts +106 -0
- package/types/abstractaccount/v1/params.ts +192 -0
- package/types/abstractaccount/v1/query.lcd.ts +19 -0
- package/types/abstractaccount/v1/query.rpc.Query.ts +31 -0
- package/types/abstractaccount/v1/query.ts +160 -0
- package/types/abstractaccount/v1/tx.amino.ts +14 -0
- package/types/abstractaccount/v1/tx.registry.ts +53 -0
- package/types/abstractaccount/v1/tx.rpc.msg.ts +29 -0
- package/types/abstractaccount/v1/tx.ts +454 -0
- package/types/amino/amino.ts +1 -0
- package/types/amino/bundle.ts +5 -0
- package/types/binary.ts +535 -0
- package/types/cosmos/app/runtime/v1alpha1/module.ts +492 -0
- package/types/cosmos/app/v1alpha1/config.ts +437 -0
- package/types/cosmos/app/v1alpha1/module.ts +466 -0
- package/types/cosmos/app/v1alpha1/query.rpc.Query.ts +31 -0
- package/types/cosmos/app/v1alpha1/query.ts +176 -0
- package/types/cosmos/auth/module/v1/module.ts +288 -0
- package/types/cosmos/auth/v1beta1/auth.ts +562 -0
- package/types/cosmos/auth/v1beta1/genesis.ts +123 -0
- package/types/cosmos/auth/v1beta1/query.lcd.ts +91 -0
- package/types/cosmos/auth/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/auth/v1beta1/query.ts +2005 -0
- package/types/cosmos/auth/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/auth/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/auth/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/auth/v1beta1/tx.ts +208 -0
- package/types/cosmos/authz/module/v1/module.ts +77 -0
- package/types/cosmos/authz/v1beta1/authz.ts +599 -0
- package/types/cosmos/authz/v1beta1/event.ts +274 -0
- package/types/cosmos/authz/v1beta1/genesis.ts +99 -0
- package/types/cosmos/authz/v1beta1/query.lcd.ts +59 -0
- package/types/cosmos/authz/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/authz/v1beta1/query.ts +734 -0
- package/types/cosmos/authz/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/authz/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/authz/v1beta1/tx.rpc.msg.ts +49 -0
- package/types/cosmos/authz/v1beta1/tx.ts +666 -0
- package/types/cosmos/autocli/v1/options.ts +1317 -0
- package/types/cosmos/autocli/v1/query.rpc.Query.ts +32 -0
- package/types/cosmos/autocli/v1/query.ts +298 -0
- package/types/cosmos/bank/module/v1/module.ts +156 -0
- package/types/cosmos/bank/v1beta1/authz.ts +134 -0
- package/types/cosmos/bank/v1beta1/bank.ts +984 -0
- package/types/cosmos/bank/v1beta1/genesis.ts +316 -0
- package/types/cosmos/bank/v1beta1/query.lcd.ts +207 -0
- package/types/cosmos/bank/v1beta1/query.rpc.Query.ts +212 -0
- package/types/cosmos/bank/v1beta1/query.ts +3051 -0
- package/types/cosmos/bank/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/bank/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/bank/v1beta1/tx.rpc.msg.ts +53 -0
- package/types/cosmos/bank/v1beta1/tx.ts +845 -0
- package/types/cosmos/base/abci/v1beta1/abci.ts +1776 -0
- package/types/cosmos/base/node/v1beta1/query.lcd.ts +25 -0
- package/types/cosmos/base/node/v1beta1/query.rpc.Service.ts +42 -0
- package/types/cosmos/base/node/v1beta1/query.ts +467 -0
- package/types/cosmos/base/query/v1beta1/pagination.ts +372 -0
- package/types/cosmos/base/reflection/v1beta1/reflection.ts +385 -0
- package/types/cosmos/base/reflection/v2alpha1/reflection.ts +2790 -0
- package/types/cosmos/base/tendermint/v1beta1/query.lcd.ts +87 -0
- package/types/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +103 -0
- package/types/cosmos/base/tendermint/v1beta1/query.ts +2358 -0
- package/types/cosmos/base/tendermint/v1beta1/types.ts +492 -0
- package/types/cosmos/base/v1beta1/coin.ts +449 -0
- package/types/cosmos/benchmark/module/v1/module.ts +384 -0
- package/types/cosmos/benchmark/v1/benchmark.ts +186 -0
- package/types/cosmos/benchmark/v1/tx.amino.ts +9 -0
- package/types/cosmos/benchmark/v1/tx.registry.ts +35 -0
- package/types/cosmos/benchmark/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/benchmark/v1/tx.ts +224 -0
- package/types/cosmos/bundle.ts +807 -0
- package/types/cosmos/circuit/module/v1/module.ts +100 -0
- package/types/cosmos/circuit/v1/query.lcd.ts +40 -0
- package/types/cosmos/circuit/v1/query.rpc.Query.ts +55 -0
- package/types/cosmos/circuit/v1/query.ts +576 -0
- package/types/cosmos/circuit/v1/tx.amino.ts +19 -0
- package/types/cosmos/circuit/v1/tx.registry.ts +71 -0
- package/types/cosmos/circuit/v1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/circuit/v1/tx.ts +685 -0
- package/types/cosmos/circuit/v1/types.ts +419 -0
- package/types/cosmos/client.ts +100 -0
- package/types/cosmos/consensus/module/v1/module.ts +100 -0
- package/types/cosmos/consensus/v1/query.lcd.ts +19 -0
- package/types/cosmos/consensus/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/consensus/v1/query.ts +182 -0
- package/types/cosmos/consensus/v1/tx.amino.ts +9 -0
- package/types/cosmos/consensus/v1/tx.registry.ts +35 -0
- package/types/cosmos/consensus/v1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/consensus/v1/tx.ts +257 -0
- package/types/cosmos/counter/module/v1/module.ts +100 -0
- package/types/cosmos/counter/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/counter/v1/query.ts +171 -0
- package/types/cosmos/counter/v1/tx.amino.ts +9 -0
- package/types/cosmos/counter/v1/tx.registry.ts +35 -0
- package/types/cosmos/counter/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/counter/v1/tx.ts +217 -0
- package/types/cosmos/crisis/module/v1/module.ts +119 -0
- package/types/cosmos/crisis/v1beta1/genesis.ts +105 -0
- package/types/cosmos/crisis/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/crisis/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/crisis/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/crisis/v1beta1/tx.ts +413 -0
- package/types/cosmos/crypto/bls12_381/keys.ts +207 -0
- package/types/cosmos/crypto/ed25519/keys.ts +214 -0
- package/types/cosmos/crypto/hd/v1/hd.ts +180 -0
- package/types/cosmos/crypto/keyring/v1/record.ts +542 -0
- package/types/cosmos/crypto/multisig/keys.ts +124 -0
- package/types/cosmos/crypto/multisig/v1beta1/multisig.ts +231 -0
- package/types/cosmos/crypto/secp256k1/keys.ts +207 -0
- package/types/cosmos/crypto/secp256r1/keys.ts +203 -0
- package/types/cosmos/distribution/module/v1/module.ts +115 -0
- package/types/cosmos/distribution/v1beta1/distribution.ts +1551 -0
- package/types/cosmos/distribution/v1beta1/genesis.ts +1208 -0
- package/types/cosmos/distribution/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/distribution/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/distribution/v1beta1/query.ts +2195 -0
- package/types/cosmos/distribution/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/distribution/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/distribution/v1beta1/tx.rpc.msg.ts +96 -0
- package/types/cosmos/distribution/v1beta1/tx.ts +1460 -0
- package/types/cosmos/epochs/module/v1/module.ts +77 -0
- package/types/cosmos/epochs/v1beta1/events.ts +205 -0
- package/types/cosmos/epochs/v1beta1/genesis.ts +384 -0
- package/types/cosmos/epochs/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/epochs/v1beta1/query.rpc.Query.ts +42 -0
- package/types/cosmos/epochs/v1beta1/query.ts +390 -0
- package/types/cosmos/evidence/module/v1/module.ts +77 -0
- package/types/cosmos/evidence/v1beta1/evidence.ts +166 -0
- package/types/cosmos/evidence/v1beta1/genesis.ts +103 -0
- package/types/cosmos/evidence/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/evidence/v1beta1/query.rpc.Query.ts +44 -0
- package/types/cosmos/evidence/v1beta1/query.ts +458 -0
- package/types/cosmos/evidence/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/evidence/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/evidence/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/evidence/v1beta1/tx.ts +243 -0
- package/types/cosmos/feegrant/module/v1/module.ts +77 -0
- package/types/cosmos/feegrant/v1beta1/feegrant.ts +701 -0
- package/types/cosmos/feegrant/v1beta1/genesis.ts +99 -0
- package/types/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/types/cosmos/feegrant/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/feegrant/v1beta1/query.ts +683 -0
- package/types/cosmos/feegrant/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/feegrant/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/feegrant/v1beta1/tx.ts +683 -0
- package/types/cosmos/genutil/module/v1/module.ts +77 -0
- package/types/cosmos/genutil/v1beta1/genesis.ts +103 -0
- package/types/cosmos/gov/module/v1/module.ts +123 -0
- package/types/cosmos/gov/v1/genesis.ts +288 -0
- package/types/cosmos/gov/v1/gov.ts +1889 -0
- package/types/cosmos/gov/v1/query.lcd.ts +95 -0
- package/types/cosmos/gov/v1/query.rpc.Query.ts +119 -0
- package/types/cosmos/gov/v1/query.ts +2026 -0
- package/types/cosmos/gov/v1/tx.amino.ts +39 -0
- package/types/cosmos/gov/v1/tx.registry.ts +143 -0
- package/types/cosmos/gov/v1/tx.rpc.msg.ts +75 -0
- package/types/cosmos/gov/v1/tx.ts +1911 -0
- package/types/cosmos/gov/v1beta1/genesis.ts +221 -0
- package/types/cosmos/gov/v1beta1/gov.ts +1725 -0
- package/types/cosmos/gov/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/gov/v1beta1/query.rpc.Query.ts +108 -0
- package/types/cosmos/gov/v1beta1/query.ts +1813 -0
- package/types/cosmos/gov/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/gov/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/gov/v1beta1/tx.rpc.msg.ts +45 -0
- package/types/cosmos/gov/v1beta1/tx.ts +1128 -0
- package/types/cosmos/group/module/v1/module.ts +128 -0
- package/types/cosmos/group/v1/events.ts +1195 -0
- package/types/cosmos/group/v1/genesis.ts +256 -0
- package/types/cosmos/group/v1/query.lcd.ts +158 -0
- package/types/cosmos/group/v1/query.rpc.Query.ts +182 -0
- package/types/cosmos/group/v1/query.ts +3108 -0
- package/types/cosmos/group/v1/tx.amino.ts +74 -0
- package/types/cosmos/group/v1/tx.registry.ts +269 -0
- package/types/cosmos/group/v1/tx.rpc.msg.ts +125 -0
- package/types/cosmos/group/v1/tx.ts +3353 -0
- package/types/cosmos/group/v1/types.ts +2248 -0
- package/types/cosmos/ics23/v1/proofs.ts +2167 -0
- package/types/cosmos/lcd.ts +125 -0
- package/types/cosmos/mint/module/v1/module.ts +115 -0
- package/types/cosmos/mint/v1beta1/genesis.ts +120 -0
- package/types/cosmos/mint/v1beta1/mint.ts +313 -0
- package/types/cosmos/mint/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/mint/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/mint/v1beta1/query.ts +544 -0
- package/types/cosmos/mint/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/mint/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/mint/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/mint/v1beta1/tx.ts +208 -0
- package/types/cosmos/msg/textual/v1/textual.ts +1 -0
- package/types/cosmos/msg/v1/msg.ts +1 -0
- package/types/cosmos/nft/module/v1/module.ts +77 -0
- package/types/cosmos/nft/v1beta1/event.ts +429 -0
- package/types/cosmos/nft/v1beta1/genesis.ts +243 -0
- package/types/cosmos/nft/v1beta1/nft.ts +389 -0
- package/types/cosmos/nft/v1beta1/query.lcd.ts +77 -0
- package/types/cosmos/nft/v1beta1/query.rpc.Query.ts +102 -0
- package/types/cosmos/nft/v1beta1/query.ts +1513 -0
- package/types/cosmos/nft/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/nft/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/nft/v1beta1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/nft/v1beta1/tx.ts +232 -0
- package/types/cosmos/params/module/v1/module.ts +77 -0
- package/types/cosmos/params/v1beta1/params.ts +262 -0
- package/types/cosmos/params/v1beta1/query.lcd.ts +35 -0
- package/types/cosmos/params/v1beta1/query.rpc.Query.ts +45 -0
- package/types/cosmos/params/v1beta1/query.ts +521 -0
- package/types/cosmos/protocolpool/module/v1/module.ts +100 -0
- package/types/cosmos/protocolpool/v1/genesis.ts +126 -0
- package/types/cosmos/protocolpool/v1/query.lcd.ts +37 -0
- package/types/cosmos/protocolpool/v1/query.rpc.Query.ts +64 -0
- package/types/cosmos/protocolpool/v1/query.ts +761 -0
- package/types/cosmos/protocolpool/v1/tx.amino.ts +29 -0
- package/types/cosmos/protocolpool/v1/tx.registry.ts +107 -0
- package/types/cosmos/protocolpool/v1/tx.rpc.msg.ts +69 -0
- package/types/cosmos/protocolpool/v1/tx.ts +1124 -0
- package/types/cosmos/protocolpool/v1/types.ts +268 -0
- package/types/cosmos/query/v1/query.ts +1 -0
- package/types/cosmos/reflection/v1/reflection.ts +178 -0
- package/types/cosmos/rpc.query.ts +90 -0
- package/types/cosmos/rpc.tx.ts +71 -0
- package/types/cosmos/slashing/module/v1/module.ts +100 -0
- package/types/cosmos/slashing/v1beta1/genesis.ts +511 -0
- package/types/cosmos/slashing/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/slashing/v1beta1/query.rpc.Query.ts +55 -0
- package/types/cosmos/slashing/v1beta1/query.ts +606 -0
- package/types/cosmos/slashing/v1beta1/slashing.ts +371 -0
- package/types/cosmos/slashing/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/slashing/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/slashing/v1beta1/tx.rpc.msg.ts +36 -0
- package/types/cosmos/slashing/v1beta1/tx.ts +377 -0
- package/types/cosmos/staking/module/v1/module.ts +165 -0
- package/types/cosmos/staking/v1beta1/authz.ts +321 -0
- package/types/cosmos/staking/v1beta1/genesis.ts +370 -0
- package/types/cosmos/staking/v1beta1/query.lcd.ts +174 -0
- package/types/cosmos/staking/v1beta1/query.rpc.Query.ts +217 -0
- package/types/cosmos/staking/v1beta1/query.ts +3187 -0
- package/types/cosmos/staking/v1beta1/staking.ts +3193 -0
- package/types/cosmos/staking/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/staking/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/staking/v1beta1/tx.rpc.msg.ts +84 -0
- package/types/cosmos/staking/v1beta1/tx.ts +1642 -0
- package/types/cosmos/store/internal/kv/v1beta1/kv.ts +208 -0
- package/types/cosmos/store/snapshots/v1/snapshot.ts +840 -0
- package/types/cosmos/store/streaming/abci/grpc.ts +393 -0
- package/types/cosmos/store/v1beta1/commit_info.ts +369 -0
- package/types/cosmos/store/v1beta1/listening.ts +296 -0
- package/types/cosmos/tx/config/v1/config.ts +127 -0
- package/types/cosmos/tx/signing/v1beta1/signing.ts +713 -0
- package/types/cosmos/tx/v1beta1/service.lcd.ts +59 -0
- package/types/cosmos/tx/v1beta1/service.rpc.Service.ts +119 -0
- package/types/cosmos/tx/v1beta1/service.ts +2319 -0
- package/types/cosmos/tx/v1beta1/tx.ts +2168 -0
- package/types/cosmos/upgrade/module/v1/module.ts +100 -0
- package/types/cosmos/upgrade/v1beta1/query.lcd.ts +54 -0
- package/types/cosmos/upgrade/v1beta1/query.rpc.Query.ts +82 -0
- package/types/cosmos/upgrade/v1beta1/query.ts +1004 -0
- package/types/cosmos/upgrade/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/upgrade/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/upgrade/v1beta1/tx.ts +368 -0
- package/types/cosmos/upgrade/v1beta1/upgrade.ts +623 -0
- package/types/cosmos/vesting/module/v1/module.ts +77 -0
- package/types/cosmos/vesting/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/vesting/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/vesting/v1beta1/tx.rpc.msg.ts +46 -0
- package/types/cosmos/vesting/v1beta1/tx.ts +688 -0
- package/types/cosmos/vesting/v1beta1/vesting.ts +751 -0
- package/types/cosmos_proto/bundle.ts +5 -0
- package/types/cosmos_proto/cosmos.ts +355 -0
- package/types/cosmwasm/bundle.ts +39 -0
- package/types/cosmwasm/client.ts +48 -0
- package/types/cosmwasm/lcd.ts +132 -0
- package/types/cosmwasm/rpc.query.ts +95 -0
- package/types/cosmwasm/rpc.tx.ts +76 -0
- package/types/cosmwasm/wasm/v1/authz.ts +1409 -0
- package/types/cosmwasm/wasm/v1/genesis.ts +544 -0
- package/types/cosmwasm/wasm/v1/ibc.ts +437 -0
- package/types/cosmwasm/wasm/v1/proposal_legacy.ts +2711 -0
- package/types/cosmwasm/wasm/v1/query.lcd.ts +154 -0
- package/types/cosmwasm/wasm/v1/query.rpc.Query.ts +181 -0
- package/types/cosmwasm/wasm/v1/query.ts +3339 -0
- package/types/cosmwasm/wasm/v1/tx.amino.ts +89 -0
- package/types/cosmwasm/wasm/v1/tx.registry.ts +323 -0
- package/types/cosmwasm/wasm/v1/tx.rpc.msg.ts +197 -0
- package/types/cosmwasm/wasm/v1/tx.ts +4403 -0
- package/types/cosmwasm/wasm/v1/types.ts +1193 -0
- package/types/gogoproto/bundle.ts +5 -0
- package/types/gogoproto/gogo.ts +1 -0
- package/types/google/api/annotations.ts +1 -0
- package/types/google/api/apikeys/v2/apikeys.ts +1245 -0
- package/types/google/api/apikeys/v2/resources.ts +1268 -0
- package/types/google/api/auth.ts +1175 -0
- package/types/google/api/backend.ts +691 -0
- package/types/google/api/billing.ts +333 -0
- package/types/google/api/client.ts +3100 -0
- package/types/google/api/cloudquotas/v1/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1/resources.ts +2065 -0
- package/types/google/api/cloudquotas/v1beta/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1beta/quota_adjuster_settings.ts +509 -0
- package/types/google/api/cloudquotas/v1beta/resources.ts +2069 -0
- package/types/google/api/config_change.ts +385 -0
- package/types/google/api/consumer.ts +362 -0
- package/types/google/api/context.ts +418 -0
- package/types/google/api/control.ts +141 -0
- package/types/google/api/distribution.ts +1253 -0
- package/types/google/api/documentation.ts +738 -0
- package/types/google/api/endpoint.ts +245 -0
- package/types/google/api/error_reason.ts +816 -0
- package/types/google/api/expr/conformance/v1alpha1/conformance_service.ts +1293 -0
- package/types/google/api/expr/v1alpha1/checked.ts +2259 -0
- package/types/google/api/expr/v1alpha1/eval.ts +675 -0
- package/types/google/api/expr/v1alpha1/explain.ts +257 -0
- package/types/google/api/expr/v1alpha1/syntax.ts +2983 -0
- package/types/google/api/expr/v1alpha1/value.ts +771 -0
- package/types/google/api/expr/v1beta1/decl.ts +563 -0
- package/types/google/api/expr/v1beta1/eval.ts +758 -0
- package/types/google/api/expr/v1beta1/expr.ts +1750 -0
- package/types/google/api/expr/v1beta1/source.ts +446 -0
- package/types/google/api/expr/v1beta1/value.ts +771 -0
- package/types/google/api/field_behavior.ts +136 -0
- package/types/google/api/field_info.ts +319 -0
- package/types/google/api/http.ts +1362 -0
- package/types/google/api/httpbody.ts +270 -0
- package/types/google/api/label.ts +174 -0
- package/types/google/api/launch_stage.ts +112 -0
- package/types/google/api/log.ts +201 -0
- package/types/google/api/logging.ts +355 -0
- package/types/google/api/metric.ts +1174 -0
- package/types/google/api/monitored_resource.ts +841 -0
- package/types/google/api/monitoring.ts +430 -0
- package/types/google/api/policy.ts +314 -0
- package/types/google/api/quota.ts +1040 -0
- package/types/google/api/resource.ts +769 -0
- package/types/google/api/routing.ts +1405 -0
- package/types/google/api/service.ts +790 -0
- package/types/google/api/servicecontrol/v1/check_error.ts +366 -0
- package/types/google/api/servicecontrol/v1/distribution.ts +773 -0
- package/types/google/api/servicecontrol/v1/http_request.ts +427 -0
- package/types/google/api/servicecontrol/v1/log_entry.ts +804 -0
- package/types/google/api/servicecontrol/v1/metric_value.ts +499 -0
- package/types/google/api/servicecontrol/v1/operation.ts +544 -0
- package/types/google/api/servicecontrol/v1/quota_controller.ts +1041 -0
- package/types/google/api/servicecontrol/v1/service_controller.ts +1164 -0
- package/types/google/api/servicecontrol/v2/service_controller.ts +949 -0
- package/types/google/api/servicemanagement/v1/resources.ts +1888 -0
- package/types/google/api/servicemanagement/v1/servicemanager.ts +2444 -0
- package/types/google/api/serviceusage/v1/resources.ts +629 -0
- package/types/google/api/serviceusage/v1/serviceusage.ts +1530 -0
- package/types/google/api/serviceusage/v1beta1/resources.ts +2972 -0
- package/types/google/api/serviceusage/v1beta1/serviceusage.ts +4567 -0
- package/types/google/api/source_info.ts +97 -0
- package/types/google/api/system_parameter.ts +461 -0
- package/types/google/api/usage.ts +404 -0
- package/types/google/api/visibility.ts +328 -0
- package/types/google/bundle.ts +115 -0
- package/types/google/logging/type/log_severity.ts +104 -0
- package/types/google/longrunning/operations.ts +1153 -0
- package/types/google/protobuf/any.ts +424 -0
- package/types/google/protobuf/api.ts +942 -0
- package/types/google/protobuf/descriptor.ts +7801 -0
- package/types/google/protobuf/duration.ts +284 -0
- package/types/google/protobuf/empty.ts +93 -0
- package/types/google/protobuf/field_mask.ts +694 -0
- package/types/google/protobuf/source_context.ts +105 -0
- package/types/google/protobuf/struct.ts +584 -0
- package/types/google/protobuf/timestamp.ts +373 -0
- package/types/google/protobuf/type.ts +1279 -0
- package/types/google/protobuf/wrappers.ts +1002 -0
- package/types/google/rpc/code.ts +286 -0
- package/types/google/rpc/context/attribute_context.ts +2517 -0
- package/types/google/rpc/context/audit_context.ts +188 -0
- package/types/google/rpc/error_details.ts +2467 -0
- package/types/google/rpc/http.ts +424 -0
- package/types/google/rpc/status.ts +173 -0
- package/types/helpers.ts +259 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +107 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.lcd.ts +25 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +42 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.ts +379 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +19 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +71 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +692 -0
- package/types/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +675 -0
- package/types/ibc/applications/interchain_accounts/host/v1/host.ts +261 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.lcd.ts +19 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +31 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.ts +176 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.ts +440 -0
- package/types/ibc/applications/interchain_accounts/v1/account.ts +115 -0
- package/types/ibc/applications/interchain_accounts/v1/metadata.ts +206 -0
- package/types/ibc/applications/interchain_accounts/v1/packet.ts +262 -0
- package/types/ibc/applications/transfer/v1/authz.ts +297 -0
- package/types/ibc/applications/transfer/v1/denomtrace.ts +133 -0
- package/types/ibc/applications/transfer/v1/genesis.ts +156 -0
- package/types/ibc/applications/transfer/v1/packet.ts +186 -0
- package/types/ibc/applications/transfer/v1/query.lcd.ts +76 -0
- package/types/ibc/applications/transfer/v1/query.rpc.Query.ts +88 -0
- package/types/ibc/applications/transfer/v1/query.ts +1233 -0
- package/types/ibc/applications/transfer/v1/token.ts +347 -0
- package/types/ibc/applications/transfer/v1/transfer.ts +140 -0
- package/types/ibc/applications/transfer/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/transfer/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/transfer/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/transfer/v1/tx.ts +579 -0
- package/types/ibc/bundle.ts +265 -0
- package/types/ibc/client.ts +72 -0
- package/types/ibc/core/channel/v1/channel.ts +1455 -0
- package/types/ibc/core/channel/v1/genesis.ts +351 -0
- package/types/ibc/core/channel/v1/query.lcd.ts +135 -0
- package/types/ibc/core/channel/v1/query.rpc.Query.ts +200 -0
- package/types/ibc/core/channel/v1/query.ts +3943 -0
- package/types/ibc/core/channel/v1/tx.amino.ts +54 -0
- package/types/ibc/core/channel/v1/tx.registry.ts +197 -0
- package/types/ibc/core/channel/v1/tx.rpc.msg.ts +96 -0
- package/types/ibc/core/channel/v1/tx.ts +2558 -0
- package/types/ibc/core/channel/v2/genesis.ts +433 -0
- package/types/ibc/core/channel/v2/packet.ts +640 -0
- package/types/ibc/core/channel/v2/query.lcd.ts +77 -0
- package/types/ibc/core/channel/v2/query.rpc.Query.ts +108 -0
- package/types/ibc/core/channel/v2/query.ts +2075 -0
- package/types/ibc/core/channel/v2/tx.amino.ts +24 -0
- package/types/ibc/core/channel/v2/tx.registry.ts +89 -0
- package/types/ibc/core/channel/v2/tx.rpc.msg.ts +45 -0
- package/types/ibc/core/channel/v2/tx.ts +1003 -0
- package/types/ibc/core/client/v1/client.ts +636 -0
- package/types/ibc/core/client/v1/genesis.ts +448 -0
- package/types/ibc/core/client/v1/query.lcd.ts +102 -0
- package/types/ibc/core/client/v1/query.rpc.Query.ts +149 -0
- package/types/ibc/core/client/v1/query.ts +2588 -0
- package/types/ibc/core/client/v1/tx.amino.ts +44 -0
- package/types/ibc/core/client/v1/tx.registry.ts +161 -0
- package/types/ibc/core/client/v1/tx.rpc.msg.ts +77 -0
- package/types/ibc/core/client/v1/tx.ts +1796 -0
- package/types/ibc/core/client/v2/config.ts +115 -0
- package/types/ibc/core/client/v2/counterparty.ts +122 -0
- package/types/ibc/core/client/v2/genesis.ts +220 -0
- package/types/ibc/core/client/v2/query.lcd.ts +25 -0
- package/types/ibc/core/client/v2/query.rpc.Query.ts +42 -0
- package/types/ibc/core/client/v2/query.ts +402 -0
- package/types/ibc/core/client/v2/tx.amino.ts +14 -0
- package/types/ibc/core/client/v2/tx.registry.ts +53 -0
- package/types/ibc/core/client/v2/tx.rpc.msg.ts +29 -0
- package/types/ibc/core/client/v2/tx.ts +453 -0
- package/types/ibc/core/commitment/v1/commitment.ts +321 -0
- package/types/ibc/core/commitment/v2/commitment.ts +193 -0
- package/types/ibc/core/connection/v1/connection.ts +1056 -0
- package/types/ibc/core/connection/v1/genesis.ts +150 -0
- package/types/ibc/core/connection/v1/query.lcd.ts +61 -0
- package/types/ibc/core/connection/v1/query.rpc.Query.ts +97 -0
- package/types/ibc/core/connection/v1/query.ts +1472 -0
- package/types/ibc/core/connection/v1/tx.amino.ts +29 -0
- package/types/ibc/core/connection/v1/tx.registry.ts +107 -0
- package/types/ibc/core/connection/v1/tx.rpc.msg.ts +59 -0
- package/types/ibc/core/connection/v1/tx.ts +1456 -0
- package/types/ibc/core/types/v1/genesis.ts +191 -0
- package/types/ibc/lcd.ts +176 -0
- package/types/ibc/lightclients/solomachine/v2/solomachine.ts +2161 -0
- package/types/ibc/lightclients/solomachine/v3/solomachine.ts +1114 -0
- package/types/ibc/lightclients/tendermint/v1/tendermint.ts +891 -0
- package/types/ibc/lightclients/wasm/v1/genesis.ts +201 -0
- package/types/ibc/lightclients/wasm/v1/query.lcd.ts +34 -0
- package/types/ibc/lightclients/wasm/v1/query.rpc.Query.ts +44 -0
- package/types/ibc/lightclients/wasm/v1/query.ts +413 -0
- package/types/ibc/lightclients/wasm/v1/tx.amino.ts +19 -0
- package/types/ibc/lightclients/wasm/v1/tx.registry.ts +71 -0
- package/types/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/lightclients/wasm/v1/tx.ts +640 -0
- package/types/ibc/lightclients/wasm/v1/wasm.ts +444 -0
- package/types/ibc/rpc.query.ts +123 -0
- package/types/ibc/rpc.tx.ts +104 -0
- package/types/index.ts +25 -0
- package/types/tendermint/abci/types.ts +6565 -0
- package/types/tendermint/bundle.ts +33 -0
- package/types/tendermint/crypto/keys.ts +106 -0
- package/types/tendermint/crypto/proof.ts +576 -0
- package/types/tendermint/p2p/types.ts +523 -0
- package/types/tendermint/types/block.ts +134 -0
- package/types/tendermint/types/evidence.ts +491 -0
- package/types/tendermint/types/params.ts +839 -0
- package/types/tendermint/types/types.ts +2266 -0
- package/types/tendermint/types/validator.ts +399 -0
- package/types/tendermint/version/types.ts +228 -0
- package/types/utf8.ts +149 -0
- package/types/varint.ts +489 -0
- package/types/xion/bundle.ts +117 -0
- package/types/xion/client.ts +57 -0
- package/types/xion/feeabs/v1beta1/epoch.ts +386 -0
- package/types/xion/feeabs/v1beta1/genesis.ts +136 -0
- package/types/xion/feeabs/v1beta1/osmosisibc.ts +868 -0
- package/types/xion/feeabs/v1beta1/params.ts +189 -0
- package/types/xion/feeabs/v1beta1/proposal.ts +593 -0
- package/types/xion/feeabs/v1beta1/query.lcd.ts +37 -0
- package/types/xion/feeabs/v1beta1/query.rpc.Query.ts +64 -0
- package/types/xion/feeabs/v1beta1/query.ts +732 -0
- package/types/xion/feeabs/v1beta1/tx.amino.ts +39 -0
- package/types/xion/feeabs/v1beta1/tx.registry.ts +143 -0
- package/types/xion/feeabs/v1beta1/tx.rpc.msg.ts +72 -0
- package/types/xion/feeabs/v1beta1/tx.ts +1261 -0
- package/types/xion/globalfee/v1/genesis.ts +249 -0
- package/types/xion/globalfee/v1/query.lcd.ts +19 -0
- package/types/xion/globalfee/v1/query.rpc.Query.ts +31 -0
- package/types/xion/globalfee/v1/query.ts +178 -0
- package/types/xion/jwk/v1/audience.ts +224 -0
- package/types/xion/jwk/v1/genesis.ts +117 -0
- package/types/xion/jwk/v1/params.ts +113 -0
- package/types/xion/jwk/v1/query.lcd.ts +52 -0
- package/types/xion/jwk/v1/query.rpc.Query.ts +77 -0
- package/types/xion/jwk/v1/query.ts +1697 -0
- package/types/xion/jwk/v1/tx.amino.ts +29 -0
- package/types/xion/jwk/v1/tx.registry.ts +107 -0
- package/types/xion/jwk/v1/tx.rpc.msg.ts +53 -0
- package/types/xion/jwk/v1/tx.ts +1040 -0
- package/types/xion/lcd.ts +147 -0
- package/types/xion/mint/v1/event.ts +216 -0
- package/types/xion/mint/v1/genesis.ts +114 -0
- package/types/xion/mint/v1/mint.ts +307 -0
- package/types/xion/mint/v1/query.lcd.ts +31 -0
- package/types/xion/mint/v1/query.rpc.Query.ts +53 -0
- package/types/xion/mint/v1/query.ts +508 -0
- package/types/xion/mint/v1/tx.amino.ts +9 -0
- package/types/xion/mint/v1/tx.registry.ts +35 -0
- package/types/xion/mint/v1/tx.rpc.msg.ts +26 -0
- package/types/xion/mint/v1/tx.ts +222 -0
- package/types/xion/rpc.query.ts +105 -0
- package/types/xion/rpc.tx.ts +83 -0
- package/types/xion/v1/feegrant.ts +457 -0
- package/types/xion/v1/genesis.ts +116 -0
- package/types/xion/v1/query.rpc.Query.ts +64 -0
- package/types/xion/v1/query.ts +862 -0
- package/types/xion/v1/tx.amino.ts +24 -0
- package/types/xion/v1/tx.registry.ts +89 -0
- package/types/xion/v1/tx.rpc.msg.ts +57 -0
- package/types/xion/v1/tx.ts +793 -0
|
@@ -0,0 +1,1253 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { Timestamp } from "../protobuf/timestamp";
|
|
3
|
+
import { Any, AnyAmino, AnySDKType } from "../protobuf/any";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../binary";
|
|
5
|
+
import { toTimestamp, fromTimestamp } from "../../helpers";
|
|
6
|
+
/**
|
|
7
|
+
* `Distribution` contains summary statistics for a population of values. It
|
|
8
|
+
* optionally contains a histogram representing the distribution of those values
|
|
9
|
+
* across a set of buckets.
|
|
10
|
+
*
|
|
11
|
+
* The summary statistics are the count, mean, sum of the squared deviation from
|
|
12
|
+
* the mean, the minimum, and the maximum of the set of population of values.
|
|
13
|
+
* The histogram is based on a sequence of buckets and gives a count of values
|
|
14
|
+
* that fall into each bucket. The boundaries of the buckets are given either
|
|
15
|
+
* explicitly or by formulas for buckets of fixed or exponentially increasing
|
|
16
|
+
* widths.
|
|
17
|
+
*
|
|
18
|
+
* Although it is not forbidden, it is generally a bad idea to include
|
|
19
|
+
* non-finite values (infinities or NaNs) in the population of values, as this
|
|
20
|
+
* will render the `mean` and `sum_of_squared_deviation` fields meaningless.
|
|
21
|
+
*/
|
|
22
|
+
export interface Distribution {
|
|
23
|
+
/**
|
|
24
|
+
* The number of values in the population. Must be non-negative. This value
|
|
25
|
+
* must equal the sum of the values in `bucket_counts` if a histogram is
|
|
26
|
+
* provided.
|
|
27
|
+
*/
|
|
28
|
+
count: bigint;
|
|
29
|
+
/**
|
|
30
|
+
* The arithmetic mean of the values in the population. If `count` is zero
|
|
31
|
+
* then this field must be zero.
|
|
32
|
+
*/
|
|
33
|
+
mean: number;
|
|
34
|
+
/**
|
|
35
|
+
* The sum of squared deviations from the mean of the values in the
|
|
36
|
+
* population. For values x_i this is:
|
|
37
|
+
*
|
|
38
|
+
* Sum[i=1..n]((x_i - mean)^2)
|
|
39
|
+
*
|
|
40
|
+
* Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
|
|
41
|
+
* describes Welford's method for accumulating this sum in one pass.
|
|
42
|
+
*
|
|
43
|
+
* If `count` is zero then this field must be zero.
|
|
44
|
+
*/
|
|
45
|
+
sumOfSquaredDeviation: number;
|
|
46
|
+
/**
|
|
47
|
+
* If specified, contains the range of the population values. The field
|
|
48
|
+
* must not be present if the `count` is zero.
|
|
49
|
+
*/
|
|
50
|
+
range?: Distribution_Range;
|
|
51
|
+
/**
|
|
52
|
+
* Defines the histogram bucket boundaries. If the distribution does not
|
|
53
|
+
* contain a histogram, then omit this field.
|
|
54
|
+
*/
|
|
55
|
+
bucketOptions?: Distribution_BucketOptions;
|
|
56
|
+
/**
|
|
57
|
+
* The number of values in each bucket of the histogram, as described in
|
|
58
|
+
* `bucket_options`. If the distribution does not have a histogram, then omit
|
|
59
|
+
* this field. If there is a histogram, then the sum of the values in
|
|
60
|
+
* `bucket_counts` must equal the value in the `count` field of the
|
|
61
|
+
* distribution.
|
|
62
|
+
*
|
|
63
|
+
* If present, `bucket_counts` should contain N values, where N is the number
|
|
64
|
+
* of buckets specified in `bucket_options`. If you supply fewer than N
|
|
65
|
+
* values, the remaining values are assumed to be 0.
|
|
66
|
+
*
|
|
67
|
+
* The order of the values in `bucket_counts` follows the bucket numbering
|
|
68
|
+
* schemes described for the three bucket types. The first value must be the
|
|
69
|
+
* count for the underflow bucket (number 0). The next N-2 values are the
|
|
70
|
+
* counts for the finite buckets (number 1 through N-2). The N'th value in
|
|
71
|
+
* `bucket_counts` is the count for the overflow bucket (number N-1).
|
|
72
|
+
*/
|
|
73
|
+
bucketCounts: bigint[];
|
|
74
|
+
/** Must be in increasing order of `value` field. */
|
|
75
|
+
exemplars: Distribution_Exemplar[];
|
|
76
|
+
}
|
|
77
|
+
export interface DistributionProtoMsg {
|
|
78
|
+
typeUrl: "/google.api.Distribution";
|
|
79
|
+
value: Uint8Array;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* `Distribution` contains summary statistics for a population of values. It
|
|
83
|
+
* optionally contains a histogram representing the distribution of those values
|
|
84
|
+
* across a set of buckets.
|
|
85
|
+
*
|
|
86
|
+
* The summary statistics are the count, mean, sum of the squared deviation from
|
|
87
|
+
* the mean, the minimum, and the maximum of the set of population of values.
|
|
88
|
+
* The histogram is based on a sequence of buckets and gives a count of values
|
|
89
|
+
* that fall into each bucket. The boundaries of the buckets are given either
|
|
90
|
+
* explicitly or by formulas for buckets of fixed or exponentially increasing
|
|
91
|
+
* widths.
|
|
92
|
+
*
|
|
93
|
+
* Although it is not forbidden, it is generally a bad idea to include
|
|
94
|
+
* non-finite values (infinities or NaNs) in the population of values, as this
|
|
95
|
+
* will render the `mean` and `sum_of_squared_deviation` fields meaningless.
|
|
96
|
+
* @name DistributionAmino
|
|
97
|
+
* @package google.api
|
|
98
|
+
* @see proto type: google.api.Distribution
|
|
99
|
+
*/
|
|
100
|
+
export interface DistributionAmino {
|
|
101
|
+
/**
|
|
102
|
+
* The number of values in the population. Must be non-negative. This value
|
|
103
|
+
* must equal the sum of the values in `bucket_counts` if a histogram is
|
|
104
|
+
* provided.
|
|
105
|
+
*/
|
|
106
|
+
count?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The arithmetic mean of the values in the population. If `count` is zero
|
|
109
|
+
* then this field must be zero.
|
|
110
|
+
*/
|
|
111
|
+
mean?: number;
|
|
112
|
+
/**
|
|
113
|
+
* The sum of squared deviations from the mean of the values in the
|
|
114
|
+
* population. For values x_i this is:
|
|
115
|
+
*
|
|
116
|
+
* Sum[i=1..n]((x_i - mean)^2)
|
|
117
|
+
*
|
|
118
|
+
* Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
|
|
119
|
+
* describes Welford's method for accumulating this sum in one pass.
|
|
120
|
+
*
|
|
121
|
+
* If `count` is zero then this field must be zero.
|
|
122
|
+
*/
|
|
123
|
+
sum_of_squared_deviation?: number;
|
|
124
|
+
/**
|
|
125
|
+
* If specified, contains the range of the population values. The field
|
|
126
|
+
* must not be present if the `count` is zero.
|
|
127
|
+
*/
|
|
128
|
+
range?: Distribution_RangeAmino;
|
|
129
|
+
/**
|
|
130
|
+
* Defines the histogram bucket boundaries. If the distribution does not
|
|
131
|
+
* contain a histogram, then omit this field.
|
|
132
|
+
*/
|
|
133
|
+
bucket_options?: Distribution_BucketOptionsAmino;
|
|
134
|
+
/**
|
|
135
|
+
* The number of values in each bucket of the histogram, as described in
|
|
136
|
+
* `bucket_options`. If the distribution does not have a histogram, then omit
|
|
137
|
+
* this field. If there is a histogram, then the sum of the values in
|
|
138
|
+
* `bucket_counts` must equal the value in the `count` field of the
|
|
139
|
+
* distribution.
|
|
140
|
+
*
|
|
141
|
+
* If present, `bucket_counts` should contain N values, where N is the number
|
|
142
|
+
* of buckets specified in `bucket_options`. If you supply fewer than N
|
|
143
|
+
* values, the remaining values are assumed to be 0.
|
|
144
|
+
*
|
|
145
|
+
* The order of the values in `bucket_counts` follows the bucket numbering
|
|
146
|
+
* schemes described for the three bucket types. The first value must be the
|
|
147
|
+
* count for the underflow bucket (number 0). The next N-2 values are the
|
|
148
|
+
* counts for the finite buckets (number 1 through N-2). The N'th value in
|
|
149
|
+
* `bucket_counts` is the count for the overflow bucket (number N-1).
|
|
150
|
+
*/
|
|
151
|
+
bucket_counts?: string[];
|
|
152
|
+
/**
|
|
153
|
+
* Must be in increasing order of `value` field.
|
|
154
|
+
*/
|
|
155
|
+
exemplars?: Distribution_ExemplarAmino[];
|
|
156
|
+
}
|
|
157
|
+
export interface DistributionAminoMsg {
|
|
158
|
+
type: "/google.api.Distribution";
|
|
159
|
+
value: DistributionAmino;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* `Distribution` contains summary statistics for a population of values. It
|
|
163
|
+
* optionally contains a histogram representing the distribution of those values
|
|
164
|
+
* across a set of buckets.
|
|
165
|
+
*
|
|
166
|
+
* The summary statistics are the count, mean, sum of the squared deviation from
|
|
167
|
+
* the mean, the minimum, and the maximum of the set of population of values.
|
|
168
|
+
* The histogram is based on a sequence of buckets and gives a count of values
|
|
169
|
+
* that fall into each bucket. The boundaries of the buckets are given either
|
|
170
|
+
* explicitly or by formulas for buckets of fixed or exponentially increasing
|
|
171
|
+
* widths.
|
|
172
|
+
*
|
|
173
|
+
* Although it is not forbidden, it is generally a bad idea to include
|
|
174
|
+
* non-finite values (infinities or NaNs) in the population of values, as this
|
|
175
|
+
* will render the `mean` and `sum_of_squared_deviation` fields meaningless.
|
|
176
|
+
*/
|
|
177
|
+
export interface DistributionSDKType {
|
|
178
|
+
count: bigint;
|
|
179
|
+
mean: number;
|
|
180
|
+
sum_of_squared_deviation: number;
|
|
181
|
+
range?: Distribution_RangeSDKType;
|
|
182
|
+
bucket_options?: Distribution_BucketOptionsSDKType;
|
|
183
|
+
bucket_counts: bigint[];
|
|
184
|
+
exemplars: Distribution_ExemplarSDKType[];
|
|
185
|
+
}
|
|
186
|
+
/** The range of the population values. */
|
|
187
|
+
export interface Distribution_Range {
|
|
188
|
+
/** The minimum of the population values. */
|
|
189
|
+
min: number;
|
|
190
|
+
/** The maximum of the population values. */
|
|
191
|
+
max: number;
|
|
192
|
+
}
|
|
193
|
+
export interface Distribution_RangeProtoMsg {
|
|
194
|
+
typeUrl: "/google.api.Range";
|
|
195
|
+
value: Uint8Array;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* The range of the population values.
|
|
199
|
+
* @name Distribution_RangeAmino
|
|
200
|
+
* @package google.api
|
|
201
|
+
* @see proto type: google.api.Distribution_Range
|
|
202
|
+
*/
|
|
203
|
+
export interface Distribution_RangeAmino {
|
|
204
|
+
/**
|
|
205
|
+
* The minimum of the population values.
|
|
206
|
+
*/
|
|
207
|
+
min?: number;
|
|
208
|
+
/**
|
|
209
|
+
* The maximum of the population values.
|
|
210
|
+
*/
|
|
211
|
+
max?: number;
|
|
212
|
+
}
|
|
213
|
+
export interface Distribution_RangeAminoMsg {
|
|
214
|
+
type: "/google.api.Range";
|
|
215
|
+
value: Distribution_RangeAmino;
|
|
216
|
+
}
|
|
217
|
+
/** The range of the population values. */
|
|
218
|
+
export interface Distribution_RangeSDKType {
|
|
219
|
+
min: number;
|
|
220
|
+
max: number;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* `BucketOptions` describes the bucket boundaries used to create a histogram
|
|
224
|
+
* for the distribution. The buckets can be in a linear sequence, an
|
|
225
|
+
* exponential sequence, or each bucket can be specified explicitly.
|
|
226
|
+
* `BucketOptions` does not include the number of values in each bucket.
|
|
227
|
+
*
|
|
228
|
+
* A bucket has an inclusive lower bound and exclusive upper bound for the
|
|
229
|
+
* values that are counted for that bucket. The upper bound of a bucket must
|
|
230
|
+
* be strictly greater than the lower bound. The sequence of N buckets for a
|
|
231
|
+
* distribution consists of an underflow bucket (number 0), zero or more
|
|
232
|
+
* finite buckets (number 1 through N - 2) and an overflow bucket (number N -
|
|
233
|
+
* 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the
|
|
234
|
+
* same as the upper bound of bucket i - 1. The buckets span the whole range
|
|
235
|
+
* of finite values: lower bound of the underflow bucket is -infinity and the
|
|
236
|
+
* upper bound of the overflow bucket is +infinity. The finite buckets are
|
|
237
|
+
* so-called because both bounds are finite.
|
|
238
|
+
*/
|
|
239
|
+
export interface Distribution_BucketOptions {
|
|
240
|
+
/** The linear bucket. */
|
|
241
|
+
linearBuckets?: Distribution_BucketOptions_Linear;
|
|
242
|
+
/** The exponential buckets. */
|
|
243
|
+
exponentialBuckets?: Distribution_BucketOptions_Exponential;
|
|
244
|
+
/** The explicit buckets. */
|
|
245
|
+
explicitBuckets?: Distribution_BucketOptions_Explicit;
|
|
246
|
+
}
|
|
247
|
+
export interface Distribution_BucketOptionsProtoMsg {
|
|
248
|
+
typeUrl: "/google.api.BucketOptions";
|
|
249
|
+
value: Uint8Array;
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* `BucketOptions` describes the bucket boundaries used to create a histogram
|
|
253
|
+
* for the distribution. The buckets can be in a linear sequence, an
|
|
254
|
+
* exponential sequence, or each bucket can be specified explicitly.
|
|
255
|
+
* `BucketOptions` does not include the number of values in each bucket.
|
|
256
|
+
*
|
|
257
|
+
* A bucket has an inclusive lower bound and exclusive upper bound for the
|
|
258
|
+
* values that are counted for that bucket. The upper bound of a bucket must
|
|
259
|
+
* be strictly greater than the lower bound. The sequence of N buckets for a
|
|
260
|
+
* distribution consists of an underflow bucket (number 0), zero or more
|
|
261
|
+
* finite buckets (number 1 through N - 2) and an overflow bucket (number N -
|
|
262
|
+
* 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the
|
|
263
|
+
* same as the upper bound of bucket i - 1. The buckets span the whole range
|
|
264
|
+
* of finite values: lower bound of the underflow bucket is -infinity and the
|
|
265
|
+
* upper bound of the overflow bucket is +infinity. The finite buckets are
|
|
266
|
+
* so-called because both bounds are finite.
|
|
267
|
+
* @name Distribution_BucketOptionsAmino
|
|
268
|
+
* @package google.api
|
|
269
|
+
* @see proto type: google.api.Distribution_BucketOptions
|
|
270
|
+
*/
|
|
271
|
+
export interface Distribution_BucketOptionsAmino {
|
|
272
|
+
/**
|
|
273
|
+
* The linear bucket.
|
|
274
|
+
*/
|
|
275
|
+
linear_buckets?: Distribution_BucketOptions_LinearAmino;
|
|
276
|
+
/**
|
|
277
|
+
* The exponential buckets.
|
|
278
|
+
*/
|
|
279
|
+
exponential_buckets?: Distribution_BucketOptions_ExponentialAmino;
|
|
280
|
+
/**
|
|
281
|
+
* The explicit buckets.
|
|
282
|
+
*/
|
|
283
|
+
explicit_buckets?: Distribution_BucketOptions_ExplicitAmino;
|
|
284
|
+
}
|
|
285
|
+
export interface Distribution_BucketOptionsAminoMsg {
|
|
286
|
+
type: "/google.api.BucketOptions";
|
|
287
|
+
value: Distribution_BucketOptionsAmino;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* `BucketOptions` describes the bucket boundaries used to create a histogram
|
|
291
|
+
* for the distribution. The buckets can be in a linear sequence, an
|
|
292
|
+
* exponential sequence, or each bucket can be specified explicitly.
|
|
293
|
+
* `BucketOptions` does not include the number of values in each bucket.
|
|
294
|
+
*
|
|
295
|
+
* A bucket has an inclusive lower bound and exclusive upper bound for the
|
|
296
|
+
* values that are counted for that bucket. The upper bound of a bucket must
|
|
297
|
+
* be strictly greater than the lower bound. The sequence of N buckets for a
|
|
298
|
+
* distribution consists of an underflow bucket (number 0), zero or more
|
|
299
|
+
* finite buckets (number 1 through N - 2) and an overflow bucket (number N -
|
|
300
|
+
* 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the
|
|
301
|
+
* same as the upper bound of bucket i - 1. The buckets span the whole range
|
|
302
|
+
* of finite values: lower bound of the underflow bucket is -infinity and the
|
|
303
|
+
* upper bound of the overflow bucket is +infinity. The finite buckets are
|
|
304
|
+
* so-called because both bounds are finite.
|
|
305
|
+
*/
|
|
306
|
+
export interface Distribution_BucketOptionsSDKType {
|
|
307
|
+
linear_buckets?: Distribution_BucketOptions_LinearSDKType;
|
|
308
|
+
exponential_buckets?: Distribution_BucketOptions_ExponentialSDKType;
|
|
309
|
+
explicit_buckets?: Distribution_BucketOptions_ExplicitSDKType;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Specifies a linear sequence of buckets that all have the same width
|
|
313
|
+
* (except overflow and underflow). Each bucket represents a constant
|
|
314
|
+
* absolute uncertainty on the specific value in the bucket.
|
|
315
|
+
*
|
|
316
|
+
* There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
|
317
|
+
* following boundaries:
|
|
318
|
+
*
|
|
319
|
+
* Upper bound (0 <= i < N-1): offset + (width * i).
|
|
320
|
+
*
|
|
321
|
+
* Lower bound (1 <= i < N): offset + (width * (i - 1)).
|
|
322
|
+
*/
|
|
323
|
+
export interface Distribution_BucketOptions_Linear {
|
|
324
|
+
/** Must be greater than 0. */
|
|
325
|
+
numFiniteBuckets: number;
|
|
326
|
+
/** Must be greater than 0. */
|
|
327
|
+
width: number;
|
|
328
|
+
/** Lower bound of the first bucket. */
|
|
329
|
+
offset: number;
|
|
330
|
+
}
|
|
331
|
+
export interface Distribution_BucketOptions_LinearProtoMsg {
|
|
332
|
+
typeUrl: "/google.api.Linear";
|
|
333
|
+
value: Uint8Array;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Specifies a linear sequence of buckets that all have the same width
|
|
337
|
+
* (except overflow and underflow). Each bucket represents a constant
|
|
338
|
+
* absolute uncertainty on the specific value in the bucket.
|
|
339
|
+
*
|
|
340
|
+
* There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
|
341
|
+
* following boundaries:
|
|
342
|
+
*
|
|
343
|
+
* Upper bound (0 <= i < N-1): offset + (width * i).
|
|
344
|
+
*
|
|
345
|
+
* Lower bound (1 <= i < N): offset + (width * (i - 1)).
|
|
346
|
+
* @name Distribution_BucketOptions_LinearAmino
|
|
347
|
+
* @package google.api
|
|
348
|
+
* @see proto type: google.api.Distribution_BucketOptions_Linear
|
|
349
|
+
*/
|
|
350
|
+
export interface Distribution_BucketOptions_LinearAmino {
|
|
351
|
+
/**
|
|
352
|
+
* Must be greater than 0.
|
|
353
|
+
*/
|
|
354
|
+
num_finite_buckets?: number;
|
|
355
|
+
/**
|
|
356
|
+
* Must be greater than 0.
|
|
357
|
+
*/
|
|
358
|
+
width?: number;
|
|
359
|
+
/**
|
|
360
|
+
* Lower bound of the first bucket.
|
|
361
|
+
*/
|
|
362
|
+
offset?: number;
|
|
363
|
+
}
|
|
364
|
+
export interface Distribution_BucketOptions_LinearAminoMsg {
|
|
365
|
+
type: "/google.api.Linear";
|
|
366
|
+
value: Distribution_BucketOptions_LinearAmino;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Specifies a linear sequence of buckets that all have the same width
|
|
370
|
+
* (except overflow and underflow). Each bucket represents a constant
|
|
371
|
+
* absolute uncertainty on the specific value in the bucket.
|
|
372
|
+
*
|
|
373
|
+
* There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
|
374
|
+
* following boundaries:
|
|
375
|
+
*
|
|
376
|
+
* Upper bound (0 <= i < N-1): offset + (width * i).
|
|
377
|
+
*
|
|
378
|
+
* Lower bound (1 <= i < N): offset + (width * (i - 1)).
|
|
379
|
+
*/
|
|
380
|
+
export interface Distribution_BucketOptions_LinearSDKType {
|
|
381
|
+
num_finite_buckets: number;
|
|
382
|
+
width: number;
|
|
383
|
+
offset: number;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Specifies an exponential sequence of buckets that have a width that is
|
|
387
|
+
* proportional to the value of the lower bound. Each bucket represents a
|
|
388
|
+
* constant relative uncertainty on a specific value in the bucket.
|
|
389
|
+
*
|
|
390
|
+
* There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
|
391
|
+
* following boundaries:
|
|
392
|
+
*
|
|
393
|
+
* Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
|
|
394
|
+
*
|
|
395
|
+
* Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
|
|
396
|
+
*/
|
|
397
|
+
export interface Distribution_BucketOptions_Exponential {
|
|
398
|
+
/** Must be greater than 0. */
|
|
399
|
+
numFiniteBuckets: number;
|
|
400
|
+
/** Must be greater than 1. */
|
|
401
|
+
growthFactor: number;
|
|
402
|
+
/** Must be greater than 0. */
|
|
403
|
+
scale: number;
|
|
404
|
+
}
|
|
405
|
+
export interface Distribution_BucketOptions_ExponentialProtoMsg {
|
|
406
|
+
typeUrl: "/google.api.Exponential";
|
|
407
|
+
value: Uint8Array;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Specifies an exponential sequence of buckets that have a width that is
|
|
411
|
+
* proportional to the value of the lower bound. Each bucket represents a
|
|
412
|
+
* constant relative uncertainty on a specific value in the bucket.
|
|
413
|
+
*
|
|
414
|
+
* There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
|
415
|
+
* following boundaries:
|
|
416
|
+
*
|
|
417
|
+
* Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
|
|
418
|
+
*
|
|
419
|
+
* Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
|
|
420
|
+
* @name Distribution_BucketOptions_ExponentialAmino
|
|
421
|
+
* @package google.api
|
|
422
|
+
* @see proto type: google.api.Distribution_BucketOptions_Exponential
|
|
423
|
+
*/
|
|
424
|
+
export interface Distribution_BucketOptions_ExponentialAmino {
|
|
425
|
+
/**
|
|
426
|
+
* Must be greater than 0.
|
|
427
|
+
*/
|
|
428
|
+
num_finite_buckets?: number;
|
|
429
|
+
/**
|
|
430
|
+
* Must be greater than 1.
|
|
431
|
+
*/
|
|
432
|
+
growth_factor?: number;
|
|
433
|
+
/**
|
|
434
|
+
* Must be greater than 0.
|
|
435
|
+
*/
|
|
436
|
+
scale?: number;
|
|
437
|
+
}
|
|
438
|
+
export interface Distribution_BucketOptions_ExponentialAminoMsg {
|
|
439
|
+
type: "/google.api.Exponential";
|
|
440
|
+
value: Distribution_BucketOptions_ExponentialAmino;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Specifies an exponential sequence of buckets that have a width that is
|
|
444
|
+
* proportional to the value of the lower bound. Each bucket represents a
|
|
445
|
+
* constant relative uncertainty on a specific value in the bucket.
|
|
446
|
+
*
|
|
447
|
+
* There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the
|
|
448
|
+
* following boundaries:
|
|
449
|
+
*
|
|
450
|
+
* Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).
|
|
451
|
+
*
|
|
452
|
+
* Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
|
|
453
|
+
*/
|
|
454
|
+
export interface Distribution_BucketOptions_ExponentialSDKType {
|
|
455
|
+
num_finite_buckets: number;
|
|
456
|
+
growth_factor: number;
|
|
457
|
+
scale: number;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* Specifies a set of buckets with arbitrary widths.
|
|
461
|
+
*
|
|
462
|
+
* There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
|
|
463
|
+
* boundaries:
|
|
464
|
+
*
|
|
465
|
+
* Upper bound (0 <= i < N-1): bounds[i]
|
|
466
|
+
* Lower bound (1 <= i < N); bounds[i - 1]
|
|
467
|
+
*
|
|
468
|
+
* The `bounds` field must contain at least one element. If `bounds` has
|
|
469
|
+
* only one element, then there are no finite buckets, and that single
|
|
470
|
+
* element is the common boundary of the overflow and underflow buckets.
|
|
471
|
+
*/
|
|
472
|
+
export interface Distribution_BucketOptions_Explicit {
|
|
473
|
+
/** The values must be monotonically increasing. */
|
|
474
|
+
bounds: number[];
|
|
475
|
+
}
|
|
476
|
+
export interface Distribution_BucketOptions_ExplicitProtoMsg {
|
|
477
|
+
typeUrl: "/google.api.Explicit";
|
|
478
|
+
value: Uint8Array;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* Specifies a set of buckets with arbitrary widths.
|
|
482
|
+
*
|
|
483
|
+
* There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
|
|
484
|
+
* boundaries:
|
|
485
|
+
*
|
|
486
|
+
* Upper bound (0 <= i < N-1): bounds[i]
|
|
487
|
+
* Lower bound (1 <= i < N); bounds[i - 1]
|
|
488
|
+
*
|
|
489
|
+
* The `bounds` field must contain at least one element. If `bounds` has
|
|
490
|
+
* only one element, then there are no finite buckets, and that single
|
|
491
|
+
* element is the common boundary of the overflow and underflow buckets.
|
|
492
|
+
* @name Distribution_BucketOptions_ExplicitAmino
|
|
493
|
+
* @package google.api
|
|
494
|
+
* @see proto type: google.api.Distribution_BucketOptions_Explicit
|
|
495
|
+
*/
|
|
496
|
+
export interface Distribution_BucketOptions_ExplicitAmino {
|
|
497
|
+
/**
|
|
498
|
+
* The values must be monotonically increasing.
|
|
499
|
+
*/
|
|
500
|
+
bounds?: number[];
|
|
501
|
+
}
|
|
502
|
+
export interface Distribution_BucketOptions_ExplicitAminoMsg {
|
|
503
|
+
type: "/google.api.Explicit";
|
|
504
|
+
value: Distribution_BucketOptions_ExplicitAmino;
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* Specifies a set of buckets with arbitrary widths.
|
|
508
|
+
*
|
|
509
|
+
* There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following
|
|
510
|
+
* boundaries:
|
|
511
|
+
*
|
|
512
|
+
* Upper bound (0 <= i < N-1): bounds[i]
|
|
513
|
+
* Lower bound (1 <= i < N); bounds[i - 1]
|
|
514
|
+
*
|
|
515
|
+
* The `bounds` field must contain at least one element. If `bounds` has
|
|
516
|
+
* only one element, then there are no finite buckets, and that single
|
|
517
|
+
* element is the common boundary of the overflow and underflow buckets.
|
|
518
|
+
*/
|
|
519
|
+
export interface Distribution_BucketOptions_ExplicitSDKType {
|
|
520
|
+
bounds: number[];
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* Exemplars are example points that may be used to annotate aggregated
|
|
524
|
+
* distribution values. They are metadata that gives information about a
|
|
525
|
+
* particular value added to a Distribution bucket, such as a trace ID that
|
|
526
|
+
* was active when a value was added. They may contain further information,
|
|
527
|
+
* such as a example values and timestamps, origin, etc.
|
|
528
|
+
*/
|
|
529
|
+
export interface Distribution_Exemplar {
|
|
530
|
+
/**
|
|
531
|
+
* Value of the exemplar point. This value determines to which bucket the
|
|
532
|
+
* exemplar belongs.
|
|
533
|
+
*/
|
|
534
|
+
value: number;
|
|
535
|
+
/** The observation (sampling) time of the above value. */
|
|
536
|
+
timestamp?: Date;
|
|
537
|
+
/**
|
|
538
|
+
* Contextual information about the example value. Examples are:
|
|
539
|
+
*
|
|
540
|
+
* Trace: type.googleapis.com/google.monitoring.v3.SpanContext
|
|
541
|
+
*
|
|
542
|
+
* Literal string: type.googleapis.com/google.protobuf.StringValue
|
|
543
|
+
*
|
|
544
|
+
* Labels dropped during aggregation:
|
|
545
|
+
* type.googleapis.com/google.monitoring.v3.DroppedLabels
|
|
546
|
+
*
|
|
547
|
+
* There may be only a single attachment of any given message type in a
|
|
548
|
+
* single exemplar, and this is enforced by the system.
|
|
549
|
+
*/
|
|
550
|
+
attachments: Any[];
|
|
551
|
+
}
|
|
552
|
+
export interface Distribution_ExemplarProtoMsg {
|
|
553
|
+
typeUrl: "/google.api.Exemplar";
|
|
554
|
+
value: Uint8Array;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* Exemplars are example points that may be used to annotate aggregated
|
|
558
|
+
* distribution values. They are metadata that gives information about a
|
|
559
|
+
* particular value added to a Distribution bucket, such as a trace ID that
|
|
560
|
+
* was active when a value was added. They may contain further information,
|
|
561
|
+
* such as a example values and timestamps, origin, etc.
|
|
562
|
+
* @name Distribution_ExemplarAmino
|
|
563
|
+
* @package google.api
|
|
564
|
+
* @see proto type: google.api.Distribution_Exemplar
|
|
565
|
+
*/
|
|
566
|
+
export interface Distribution_ExemplarAmino {
|
|
567
|
+
/**
|
|
568
|
+
* Value of the exemplar point. This value determines to which bucket the
|
|
569
|
+
* exemplar belongs.
|
|
570
|
+
*/
|
|
571
|
+
value?: number;
|
|
572
|
+
/**
|
|
573
|
+
* The observation (sampling) time of the above value.
|
|
574
|
+
*/
|
|
575
|
+
timestamp?: string;
|
|
576
|
+
/**
|
|
577
|
+
* Contextual information about the example value. Examples are:
|
|
578
|
+
*
|
|
579
|
+
* Trace: type.googleapis.com/google.monitoring.v3.SpanContext
|
|
580
|
+
*
|
|
581
|
+
* Literal string: type.googleapis.com/google.protobuf.StringValue
|
|
582
|
+
*
|
|
583
|
+
* Labels dropped during aggregation:
|
|
584
|
+
* type.googleapis.com/google.monitoring.v3.DroppedLabels
|
|
585
|
+
*
|
|
586
|
+
* There may be only a single attachment of any given message type in a
|
|
587
|
+
* single exemplar, and this is enforced by the system.
|
|
588
|
+
*/
|
|
589
|
+
attachments?: AnyAmino[];
|
|
590
|
+
}
|
|
591
|
+
export interface Distribution_ExemplarAminoMsg {
|
|
592
|
+
type: "/google.api.Exemplar";
|
|
593
|
+
value: Distribution_ExemplarAmino;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Exemplars are example points that may be used to annotate aggregated
|
|
597
|
+
* distribution values. They are metadata that gives information about a
|
|
598
|
+
* particular value added to a Distribution bucket, such as a trace ID that
|
|
599
|
+
* was active when a value was added. They may contain further information,
|
|
600
|
+
* such as a example values and timestamps, origin, etc.
|
|
601
|
+
*/
|
|
602
|
+
export interface Distribution_ExemplarSDKType {
|
|
603
|
+
value: number;
|
|
604
|
+
timestamp?: Date;
|
|
605
|
+
attachments: AnySDKType[];
|
|
606
|
+
}
|
|
607
|
+
function createBaseDistribution(): Distribution {
|
|
608
|
+
return {
|
|
609
|
+
count: BigInt(0),
|
|
610
|
+
mean: 0,
|
|
611
|
+
sumOfSquaredDeviation: 0,
|
|
612
|
+
range: undefined,
|
|
613
|
+
bucketOptions: undefined,
|
|
614
|
+
bucketCounts: [],
|
|
615
|
+
exemplars: []
|
|
616
|
+
};
|
|
617
|
+
}
|
|
618
|
+
export const Distribution = {
|
|
619
|
+
typeUrl: "/google.api.Distribution",
|
|
620
|
+
encode(message: Distribution, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
621
|
+
if (message.count !== BigInt(0)) {
|
|
622
|
+
writer.uint32(8).int64(message.count);
|
|
623
|
+
}
|
|
624
|
+
if (message.mean !== 0) {
|
|
625
|
+
writer.uint32(17).double(message.mean);
|
|
626
|
+
}
|
|
627
|
+
if (message.sumOfSquaredDeviation !== 0) {
|
|
628
|
+
writer.uint32(25).double(message.sumOfSquaredDeviation);
|
|
629
|
+
}
|
|
630
|
+
if (message.range !== undefined) {
|
|
631
|
+
Distribution_Range.encode(message.range, writer.uint32(34).fork()).ldelim();
|
|
632
|
+
}
|
|
633
|
+
if (message.bucketOptions !== undefined) {
|
|
634
|
+
Distribution_BucketOptions.encode(message.bucketOptions, writer.uint32(50).fork()).ldelim();
|
|
635
|
+
}
|
|
636
|
+
writer.uint32(58).fork();
|
|
637
|
+
for (const v of message.bucketCounts) {
|
|
638
|
+
writer.int64(v);
|
|
639
|
+
}
|
|
640
|
+
writer.ldelim();
|
|
641
|
+
for (const v of message.exemplars) {
|
|
642
|
+
Distribution_Exemplar.encode(v!, writer.uint32(82).fork()).ldelim();
|
|
643
|
+
}
|
|
644
|
+
return writer;
|
|
645
|
+
},
|
|
646
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Distribution {
|
|
647
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
648
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
649
|
+
const message = createBaseDistribution();
|
|
650
|
+
while (reader.pos < end) {
|
|
651
|
+
const tag = reader.uint32();
|
|
652
|
+
switch (tag >>> 3) {
|
|
653
|
+
case 1:
|
|
654
|
+
message.count = reader.int64();
|
|
655
|
+
break;
|
|
656
|
+
case 2:
|
|
657
|
+
message.mean = reader.double();
|
|
658
|
+
break;
|
|
659
|
+
case 3:
|
|
660
|
+
message.sumOfSquaredDeviation = reader.double();
|
|
661
|
+
break;
|
|
662
|
+
case 4:
|
|
663
|
+
message.range = Distribution_Range.decode(reader, reader.uint32());
|
|
664
|
+
break;
|
|
665
|
+
case 6:
|
|
666
|
+
message.bucketOptions = Distribution_BucketOptions.decode(reader, reader.uint32());
|
|
667
|
+
break;
|
|
668
|
+
case 7:
|
|
669
|
+
if ((tag & 7) === 2) {
|
|
670
|
+
const end2 = reader.uint32() + reader.pos;
|
|
671
|
+
while (reader.pos < end2) {
|
|
672
|
+
message.bucketCounts.push(reader.int64());
|
|
673
|
+
}
|
|
674
|
+
} else {
|
|
675
|
+
message.bucketCounts.push(reader.int64());
|
|
676
|
+
}
|
|
677
|
+
break;
|
|
678
|
+
case 10:
|
|
679
|
+
message.exemplars.push(Distribution_Exemplar.decode(reader, reader.uint32()));
|
|
680
|
+
break;
|
|
681
|
+
default:
|
|
682
|
+
reader.skipType(tag & 7);
|
|
683
|
+
break;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
return message;
|
|
687
|
+
},
|
|
688
|
+
fromPartial(object: Partial<Distribution>): Distribution {
|
|
689
|
+
const message = createBaseDistribution();
|
|
690
|
+
message.count = object.count !== undefined && object.count !== null ? BigInt(object.count.toString()) : BigInt(0);
|
|
691
|
+
message.mean = object.mean ?? 0;
|
|
692
|
+
message.sumOfSquaredDeviation = object.sumOfSquaredDeviation ?? 0;
|
|
693
|
+
message.range = object.range !== undefined && object.range !== null ? Distribution_Range.fromPartial(object.range) : undefined;
|
|
694
|
+
message.bucketOptions = object.bucketOptions !== undefined && object.bucketOptions !== null ? Distribution_BucketOptions.fromPartial(object.bucketOptions) : undefined;
|
|
695
|
+
message.bucketCounts = object.bucketCounts?.map(e => BigInt(e.toString())) || [];
|
|
696
|
+
message.exemplars = object.exemplars?.map(e => Distribution_Exemplar.fromPartial(e)) || [];
|
|
697
|
+
return message;
|
|
698
|
+
},
|
|
699
|
+
fromAmino(object: DistributionAmino): Distribution {
|
|
700
|
+
const message = createBaseDistribution();
|
|
701
|
+
if (object.count !== undefined && object.count !== null) {
|
|
702
|
+
message.count = BigInt(object.count);
|
|
703
|
+
}
|
|
704
|
+
if (object.mean !== undefined && object.mean !== null) {
|
|
705
|
+
message.mean = object.mean;
|
|
706
|
+
}
|
|
707
|
+
if (object.sum_of_squared_deviation !== undefined && object.sum_of_squared_deviation !== null) {
|
|
708
|
+
message.sumOfSquaredDeviation = object.sum_of_squared_deviation;
|
|
709
|
+
}
|
|
710
|
+
if (object.range !== undefined && object.range !== null) {
|
|
711
|
+
message.range = Distribution_Range.fromAmino(object.range);
|
|
712
|
+
}
|
|
713
|
+
if (object.bucket_options !== undefined && object.bucket_options !== null) {
|
|
714
|
+
message.bucketOptions = Distribution_BucketOptions.fromAmino(object.bucket_options);
|
|
715
|
+
}
|
|
716
|
+
message.bucketCounts = object.bucket_counts?.map(e => BigInt(e)) || [];
|
|
717
|
+
message.exemplars = object.exemplars?.map(e => Distribution_Exemplar.fromAmino(e)) || [];
|
|
718
|
+
return message;
|
|
719
|
+
},
|
|
720
|
+
toAmino(message: Distribution): DistributionAmino {
|
|
721
|
+
const obj: any = {};
|
|
722
|
+
obj.count = message.count !== BigInt(0) ? message.count?.toString() : undefined;
|
|
723
|
+
obj.mean = message.mean === 0 ? undefined : message.mean;
|
|
724
|
+
obj.sum_of_squared_deviation = message.sumOfSquaredDeviation === 0 ? undefined : message.sumOfSquaredDeviation;
|
|
725
|
+
obj.range = message.range ? Distribution_Range.toAmino(message.range) : undefined;
|
|
726
|
+
obj.bucket_options = message.bucketOptions ? Distribution_BucketOptions.toAmino(message.bucketOptions) : undefined;
|
|
727
|
+
if (message.bucketCounts) {
|
|
728
|
+
obj.bucket_counts = message.bucketCounts.map(e => e.toString());
|
|
729
|
+
} else {
|
|
730
|
+
obj.bucket_counts = message.bucketCounts;
|
|
731
|
+
}
|
|
732
|
+
if (message.exemplars) {
|
|
733
|
+
obj.exemplars = message.exemplars.map(e => e ? Distribution_Exemplar.toAmino(e) : undefined);
|
|
734
|
+
} else {
|
|
735
|
+
obj.exemplars = message.exemplars;
|
|
736
|
+
}
|
|
737
|
+
return obj;
|
|
738
|
+
},
|
|
739
|
+
fromAminoMsg(object: DistributionAminoMsg): Distribution {
|
|
740
|
+
return Distribution.fromAmino(object.value);
|
|
741
|
+
},
|
|
742
|
+
fromProtoMsg(message: DistributionProtoMsg): Distribution {
|
|
743
|
+
return Distribution.decode(message.value);
|
|
744
|
+
},
|
|
745
|
+
toProto(message: Distribution): Uint8Array {
|
|
746
|
+
return Distribution.encode(message).finish();
|
|
747
|
+
},
|
|
748
|
+
toProtoMsg(message: Distribution): DistributionProtoMsg {
|
|
749
|
+
return {
|
|
750
|
+
typeUrl: "/google.api.Distribution",
|
|
751
|
+
value: Distribution.encode(message).finish()
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
function createBaseDistribution_Range(): Distribution_Range {
|
|
756
|
+
return {
|
|
757
|
+
min: 0,
|
|
758
|
+
max: 0
|
|
759
|
+
};
|
|
760
|
+
}
|
|
761
|
+
export const Distribution_Range = {
|
|
762
|
+
typeUrl: "/google.api.Range",
|
|
763
|
+
encode(message: Distribution_Range, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
764
|
+
if (message.min !== 0) {
|
|
765
|
+
writer.uint32(9).double(message.min);
|
|
766
|
+
}
|
|
767
|
+
if (message.max !== 0) {
|
|
768
|
+
writer.uint32(17).double(message.max);
|
|
769
|
+
}
|
|
770
|
+
return writer;
|
|
771
|
+
},
|
|
772
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Distribution_Range {
|
|
773
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
774
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
775
|
+
const message = createBaseDistribution_Range();
|
|
776
|
+
while (reader.pos < end) {
|
|
777
|
+
const tag = reader.uint32();
|
|
778
|
+
switch (tag >>> 3) {
|
|
779
|
+
case 1:
|
|
780
|
+
message.min = reader.double();
|
|
781
|
+
break;
|
|
782
|
+
case 2:
|
|
783
|
+
message.max = reader.double();
|
|
784
|
+
break;
|
|
785
|
+
default:
|
|
786
|
+
reader.skipType(tag & 7);
|
|
787
|
+
break;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
return message;
|
|
791
|
+
},
|
|
792
|
+
fromPartial(object: Partial<Distribution_Range>): Distribution_Range {
|
|
793
|
+
const message = createBaseDistribution_Range();
|
|
794
|
+
message.min = object.min ?? 0;
|
|
795
|
+
message.max = object.max ?? 0;
|
|
796
|
+
return message;
|
|
797
|
+
},
|
|
798
|
+
fromAmino(object: Distribution_RangeAmino): Distribution_Range {
|
|
799
|
+
const message = createBaseDistribution_Range();
|
|
800
|
+
if (object.min !== undefined && object.min !== null) {
|
|
801
|
+
message.min = object.min;
|
|
802
|
+
}
|
|
803
|
+
if (object.max !== undefined && object.max !== null) {
|
|
804
|
+
message.max = object.max;
|
|
805
|
+
}
|
|
806
|
+
return message;
|
|
807
|
+
},
|
|
808
|
+
toAmino(message: Distribution_Range): Distribution_RangeAmino {
|
|
809
|
+
const obj: any = {};
|
|
810
|
+
obj.min = message.min === 0 ? undefined : message.min;
|
|
811
|
+
obj.max = message.max === 0 ? undefined : message.max;
|
|
812
|
+
return obj;
|
|
813
|
+
},
|
|
814
|
+
fromAminoMsg(object: Distribution_RangeAminoMsg): Distribution_Range {
|
|
815
|
+
return Distribution_Range.fromAmino(object.value);
|
|
816
|
+
},
|
|
817
|
+
fromProtoMsg(message: Distribution_RangeProtoMsg): Distribution_Range {
|
|
818
|
+
return Distribution_Range.decode(message.value);
|
|
819
|
+
},
|
|
820
|
+
toProto(message: Distribution_Range): Uint8Array {
|
|
821
|
+
return Distribution_Range.encode(message).finish();
|
|
822
|
+
},
|
|
823
|
+
toProtoMsg(message: Distribution_Range): Distribution_RangeProtoMsg {
|
|
824
|
+
return {
|
|
825
|
+
typeUrl: "/google.api.Range",
|
|
826
|
+
value: Distribution_Range.encode(message).finish()
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
};
|
|
830
|
+
function createBaseDistribution_BucketOptions(): Distribution_BucketOptions {
|
|
831
|
+
return {
|
|
832
|
+
linearBuckets: undefined,
|
|
833
|
+
exponentialBuckets: undefined,
|
|
834
|
+
explicitBuckets: undefined
|
|
835
|
+
};
|
|
836
|
+
}
|
|
837
|
+
export const Distribution_BucketOptions = {
|
|
838
|
+
typeUrl: "/google.api.BucketOptions",
|
|
839
|
+
encode(message: Distribution_BucketOptions, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
840
|
+
if (message.linearBuckets !== undefined) {
|
|
841
|
+
Distribution_BucketOptions_Linear.encode(message.linearBuckets, writer.uint32(10).fork()).ldelim();
|
|
842
|
+
}
|
|
843
|
+
if (message.exponentialBuckets !== undefined) {
|
|
844
|
+
Distribution_BucketOptions_Exponential.encode(message.exponentialBuckets, writer.uint32(18).fork()).ldelim();
|
|
845
|
+
}
|
|
846
|
+
if (message.explicitBuckets !== undefined) {
|
|
847
|
+
Distribution_BucketOptions_Explicit.encode(message.explicitBuckets, writer.uint32(26).fork()).ldelim();
|
|
848
|
+
}
|
|
849
|
+
return writer;
|
|
850
|
+
},
|
|
851
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Distribution_BucketOptions {
|
|
852
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
853
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
854
|
+
const message = createBaseDistribution_BucketOptions();
|
|
855
|
+
while (reader.pos < end) {
|
|
856
|
+
const tag = reader.uint32();
|
|
857
|
+
switch (tag >>> 3) {
|
|
858
|
+
case 1:
|
|
859
|
+
message.linearBuckets = Distribution_BucketOptions_Linear.decode(reader, reader.uint32());
|
|
860
|
+
break;
|
|
861
|
+
case 2:
|
|
862
|
+
message.exponentialBuckets = Distribution_BucketOptions_Exponential.decode(reader, reader.uint32());
|
|
863
|
+
break;
|
|
864
|
+
case 3:
|
|
865
|
+
message.explicitBuckets = Distribution_BucketOptions_Explicit.decode(reader, reader.uint32());
|
|
866
|
+
break;
|
|
867
|
+
default:
|
|
868
|
+
reader.skipType(tag & 7);
|
|
869
|
+
break;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
return message;
|
|
873
|
+
},
|
|
874
|
+
fromPartial(object: Partial<Distribution_BucketOptions>): Distribution_BucketOptions {
|
|
875
|
+
const message = createBaseDistribution_BucketOptions();
|
|
876
|
+
message.linearBuckets = object.linearBuckets !== undefined && object.linearBuckets !== null ? Distribution_BucketOptions_Linear.fromPartial(object.linearBuckets) : undefined;
|
|
877
|
+
message.exponentialBuckets = object.exponentialBuckets !== undefined && object.exponentialBuckets !== null ? Distribution_BucketOptions_Exponential.fromPartial(object.exponentialBuckets) : undefined;
|
|
878
|
+
message.explicitBuckets = object.explicitBuckets !== undefined && object.explicitBuckets !== null ? Distribution_BucketOptions_Explicit.fromPartial(object.explicitBuckets) : undefined;
|
|
879
|
+
return message;
|
|
880
|
+
},
|
|
881
|
+
fromAmino(object: Distribution_BucketOptionsAmino): Distribution_BucketOptions {
|
|
882
|
+
const message = createBaseDistribution_BucketOptions();
|
|
883
|
+
if (object.linear_buckets !== undefined && object.linear_buckets !== null) {
|
|
884
|
+
message.linearBuckets = Distribution_BucketOptions_Linear.fromAmino(object.linear_buckets);
|
|
885
|
+
}
|
|
886
|
+
if (object.exponential_buckets !== undefined && object.exponential_buckets !== null) {
|
|
887
|
+
message.exponentialBuckets = Distribution_BucketOptions_Exponential.fromAmino(object.exponential_buckets);
|
|
888
|
+
}
|
|
889
|
+
if (object.explicit_buckets !== undefined && object.explicit_buckets !== null) {
|
|
890
|
+
message.explicitBuckets = Distribution_BucketOptions_Explicit.fromAmino(object.explicit_buckets);
|
|
891
|
+
}
|
|
892
|
+
return message;
|
|
893
|
+
},
|
|
894
|
+
toAmino(message: Distribution_BucketOptions): Distribution_BucketOptionsAmino {
|
|
895
|
+
const obj: any = {};
|
|
896
|
+
obj.linear_buckets = message.linearBuckets ? Distribution_BucketOptions_Linear.toAmino(message.linearBuckets) : undefined;
|
|
897
|
+
obj.exponential_buckets = message.exponentialBuckets ? Distribution_BucketOptions_Exponential.toAmino(message.exponentialBuckets) : undefined;
|
|
898
|
+
obj.explicit_buckets = message.explicitBuckets ? Distribution_BucketOptions_Explicit.toAmino(message.explicitBuckets) : undefined;
|
|
899
|
+
return obj;
|
|
900
|
+
},
|
|
901
|
+
fromAminoMsg(object: Distribution_BucketOptionsAminoMsg): Distribution_BucketOptions {
|
|
902
|
+
return Distribution_BucketOptions.fromAmino(object.value);
|
|
903
|
+
},
|
|
904
|
+
fromProtoMsg(message: Distribution_BucketOptionsProtoMsg): Distribution_BucketOptions {
|
|
905
|
+
return Distribution_BucketOptions.decode(message.value);
|
|
906
|
+
},
|
|
907
|
+
toProto(message: Distribution_BucketOptions): Uint8Array {
|
|
908
|
+
return Distribution_BucketOptions.encode(message).finish();
|
|
909
|
+
},
|
|
910
|
+
toProtoMsg(message: Distribution_BucketOptions): Distribution_BucketOptionsProtoMsg {
|
|
911
|
+
return {
|
|
912
|
+
typeUrl: "/google.api.BucketOptions",
|
|
913
|
+
value: Distribution_BucketOptions.encode(message).finish()
|
|
914
|
+
};
|
|
915
|
+
}
|
|
916
|
+
};
|
|
917
|
+
function createBaseDistribution_BucketOptions_Linear(): Distribution_BucketOptions_Linear {
|
|
918
|
+
return {
|
|
919
|
+
numFiniteBuckets: 0,
|
|
920
|
+
width: 0,
|
|
921
|
+
offset: 0
|
|
922
|
+
};
|
|
923
|
+
}
|
|
924
|
+
export const Distribution_BucketOptions_Linear = {
|
|
925
|
+
typeUrl: "/google.api.Linear",
|
|
926
|
+
encode(message: Distribution_BucketOptions_Linear, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
927
|
+
if (message.numFiniteBuckets !== 0) {
|
|
928
|
+
writer.uint32(8).int32(message.numFiniteBuckets);
|
|
929
|
+
}
|
|
930
|
+
if (message.width !== 0) {
|
|
931
|
+
writer.uint32(17).double(message.width);
|
|
932
|
+
}
|
|
933
|
+
if (message.offset !== 0) {
|
|
934
|
+
writer.uint32(25).double(message.offset);
|
|
935
|
+
}
|
|
936
|
+
return writer;
|
|
937
|
+
},
|
|
938
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Distribution_BucketOptions_Linear {
|
|
939
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
940
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
941
|
+
const message = createBaseDistribution_BucketOptions_Linear();
|
|
942
|
+
while (reader.pos < end) {
|
|
943
|
+
const tag = reader.uint32();
|
|
944
|
+
switch (tag >>> 3) {
|
|
945
|
+
case 1:
|
|
946
|
+
message.numFiniteBuckets = reader.int32();
|
|
947
|
+
break;
|
|
948
|
+
case 2:
|
|
949
|
+
message.width = reader.double();
|
|
950
|
+
break;
|
|
951
|
+
case 3:
|
|
952
|
+
message.offset = reader.double();
|
|
953
|
+
break;
|
|
954
|
+
default:
|
|
955
|
+
reader.skipType(tag & 7);
|
|
956
|
+
break;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
return message;
|
|
960
|
+
},
|
|
961
|
+
fromPartial(object: Partial<Distribution_BucketOptions_Linear>): Distribution_BucketOptions_Linear {
|
|
962
|
+
const message = createBaseDistribution_BucketOptions_Linear();
|
|
963
|
+
message.numFiniteBuckets = object.numFiniteBuckets ?? 0;
|
|
964
|
+
message.width = object.width ?? 0;
|
|
965
|
+
message.offset = object.offset ?? 0;
|
|
966
|
+
return message;
|
|
967
|
+
},
|
|
968
|
+
fromAmino(object: Distribution_BucketOptions_LinearAmino): Distribution_BucketOptions_Linear {
|
|
969
|
+
const message = createBaseDistribution_BucketOptions_Linear();
|
|
970
|
+
if (object.num_finite_buckets !== undefined && object.num_finite_buckets !== null) {
|
|
971
|
+
message.numFiniteBuckets = object.num_finite_buckets;
|
|
972
|
+
}
|
|
973
|
+
if (object.width !== undefined && object.width !== null) {
|
|
974
|
+
message.width = object.width;
|
|
975
|
+
}
|
|
976
|
+
if (object.offset !== undefined && object.offset !== null) {
|
|
977
|
+
message.offset = object.offset;
|
|
978
|
+
}
|
|
979
|
+
return message;
|
|
980
|
+
},
|
|
981
|
+
toAmino(message: Distribution_BucketOptions_Linear): Distribution_BucketOptions_LinearAmino {
|
|
982
|
+
const obj: any = {};
|
|
983
|
+
obj.num_finite_buckets = message.numFiniteBuckets === 0 ? undefined : message.numFiniteBuckets;
|
|
984
|
+
obj.width = message.width === 0 ? undefined : message.width;
|
|
985
|
+
obj.offset = message.offset === 0 ? undefined : message.offset;
|
|
986
|
+
return obj;
|
|
987
|
+
},
|
|
988
|
+
fromAminoMsg(object: Distribution_BucketOptions_LinearAminoMsg): Distribution_BucketOptions_Linear {
|
|
989
|
+
return Distribution_BucketOptions_Linear.fromAmino(object.value);
|
|
990
|
+
},
|
|
991
|
+
fromProtoMsg(message: Distribution_BucketOptions_LinearProtoMsg): Distribution_BucketOptions_Linear {
|
|
992
|
+
return Distribution_BucketOptions_Linear.decode(message.value);
|
|
993
|
+
},
|
|
994
|
+
toProto(message: Distribution_BucketOptions_Linear): Uint8Array {
|
|
995
|
+
return Distribution_BucketOptions_Linear.encode(message).finish();
|
|
996
|
+
},
|
|
997
|
+
toProtoMsg(message: Distribution_BucketOptions_Linear): Distribution_BucketOptions_LinearProtoMsg {
|
|
998
|
+
return {
|
|
999
|
+
typeUrl: "/google.api.Linear",
|
|
1000
|
+
value: Distribution_BucketOptions_Linear.encode(message).finish()
|
|
1001
|
+
};
|
|
1002
|
+
}
|
|
1003
|
+
};
|
|
1004
|
+
function createBaseDistribution_BucketOptions_Exponential(): Distribution_BucketOptions_Exponential {
|
|
1005
|
+
return {
|
|
1006
|
+
numFiniteBuckets: 0,
|
|
1007
|
+
growthFactor: 0,
|
|
1008
|
+
scale: 0
|
|
1009
|
+
};
|
|
1010
|
+
}
|
|
1011
|
+
export const Distribution_BucketOptions_Exponential = {
|
|
1012
|
+
typeUrl: "/google.api.Exponential",
|
|
1013
|
+
encode(message: Distribution_BucketOptions_Exponential, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1014
|
+
if (message.numFiniteBuckets !== 0) {
|
|
1015
|
+
writer.uint32(8).int32(message.numFiniteBuckets);
|
|
1016
|
+
}
|
|
1017
|
+
if (message.growthFactor !== 0) {
|
|
1018
|
+
writer.uint32(17).double(message.growthFactor);
|
|
1019
|
+
}
|
|
1020
|
+
if (message.scale !== 0) {
|
|
1021
|
+
writer.uint32(25).double(message.scale);
|
|
1022
|
+
}
|
|
1023
|
+
return writer;
|
|
1024
|
+
},
|
|
1025
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Distribution_BucketOptions_Exponential {
|
|
1026
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1027
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1028
|
+
const message = createBaseDistribution_BucketOptions_Exponential();
|
|
1029
|
+
while (reader.pos < end) {
|
|
1030
|
+
const tag = reader.uint32();
|
|
1031
|
+
switch (tag >>> 3) {
|
|
1032
|
+
case 1:
|
|
1033
|
+
message.numFiniteBuckets = reader.int32();
|
|
1034
|
+
break;
|
|
1035
|
+
case 2:
|
|
1036
|
+
message.growthFactor = reader.double();
|
|
1037
|
+
break;
|
|
1038
|
+
case 3:
|
|
1039
|
+
message.scale = reader.double();
|
|
1040
|
+
break;
|
|
1041
|
+
default:
|
|
1042
|
+
reader.skipType(tag & 7);
|
|
1043
|
+
break;
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
return message;
|
|
1047
|
+
},
|
|
1048
|
+
fromPartial(object: Partial<Distribution_BucketOptions_Exponential>): Distribution_BucketOptions_Exponential {
|
|
1049
|
+
const message = createBaseDistribution_BucketOptions_Exponential();
|
|
1050
|
+
message.numFiniteBuckets = object.numFiniteBuckets ?? 0;
|
|
1051
|
+
message.growthFactor = object.growthFactor ?? 0;
|
|
1052
|
+
message.scale = object.scale ?? 0;
|
|
1053
|
+
return message;
|
|
1054
|
+
},
|
|
1055
|
+
fromAmino(object: Distribution_BucketOptions_ExponentialAmino): Distribution_BucketOptions_Exponential {
|
|
1056
|
+
const message = createBaseDistribution_BucketOptions_Exponential();
|
|
1057
|
+
if (object.num_finite_buckets !== undefined && object.num_finite_buckets !== null) {
|
|
1058
|
+
message.numFiniteBuckets = object.num_finite_buckets;
|
|
1059
|
+
}
|
|
1060
|
+
if (object.growth_factor !== undefined && object.growth_factor !== null) {
|
|
1061
|
+
message.growthFactor = object.growth_factor;
|
|
1062
|
+
}
|
|
1063
|
+
if (object.scale !== undefined && object.scale !== null) {
|
|
1064
|
+
message.scale = object.scale;
|
|
1065
|
+
}
|
|
1066
|
+
return message;
|
|
1067
|
+
},
|
|
1068
|
+
toAmino(message: Distribution_BucketOptions_Exponential): Distribution_BucketOptions_ExponentialAmino {
|
|
1069
|
+
const obj: any = {};
|
|
1070
|
+
obj.num_finite_buckets = message.numFiniteBuckets === 0 ? undefined : message.numFiniteBuckets;
|
|
1071
|
+
obj.growth_factor = message.growthFactor === 0 ? undefined : message.growthFactor;
|
|
1072
|
+
obj.scale = message.scale === 0 ? undefined : message.scale;
|
|
1073
|
+
return obj;
|
|
1074
|
+
},
|
|
1075
|
+
fromAminoMsg(object: Distribution_BucketOptions_ExponentialAminoMsg): Distribution_BucketOptions_Exponential {
|
|
1076
|
+
return Distribution_BucketOptions_Exponential.fromAmino(object.value);
|
|
1077
|
+
},
|
|
1078
|
+
fromProtoMsg(message: Distribution_BucketOptions_ExponentialProtoMsg): Distribution_BucketOptions_Exponential {
|
|
1079
|
+
return Distribution_BucketOptions_Exponential.decode(message.value);
|
|
1080
|
+
},
|
|
1081
|
+
toProto(message: Distribution_BucketOptions_Exponential): Uint8Array {
|
|
1082
|
+
return Distribution_BucketOptions_Exponential.encode(message).finish();
|
|
1083
|
+
},
|
|
1084
|
+
toProtoMsg(message: Distribution_BucketOptions_Exponential): Distribution_BucketOptions_ExponentialProtoMsg {
|
|
1085
|
+
return {
|
|
1086
|
+
typeUrl: "/google.api.Exponential",
|
|
1087
|
+
value: Distribution_BucketOptions_Exponential.encode(message).finish()
|
|
1088
|
+
};
|
|
1089
|
+
}
|
|
1090
|
+
};
|
|
1091
|
+
function createBaseDistribution_BucketOptions_Explicit(): Distribution_BucketOptions_Explicit {
|
|
1092
|
+
return {
|
|
1093
|
+
bounds: []
|
|
1094
|
+
};
|
|
1095
|
+
}
|
|
1096
|
+
export const Distribution_BucketOptions_Explicit = {
|
|
1097
|
+
typeUrl: "/google.api.Explicit",
|
|
1098
|
+
encode(message: Distribution_BucketOptions_Explicit, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1099
|
+
writer.uint32(10).fork();
|
|
1100
|
+
for (const v of message.bounds) {
|
|
1101
|
+
writer.double(v);
|
|
1102
|
+
}
|
|
1103
|
+
writer.ldelim();
|
|
1104
|
+
return writer;
|
|
1105
|
+
},
|
|
1106
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Distribution_BucketOptions_Explicit {
|
|
1107
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1108
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1109
|
+
const message = createBaseDistribution_BucketOptions_Explicit();
|
|
1110
|
+
while (reader.pos < end) {
|
|
1111
|
+
const tag = reader.uint32();
|
|
1112
|
+
switch (tag >>> 3) {
|
|
1113
|
+
case 1:
|
|
1114
|
+
if ((tag & 7) === 2) {
|
|
1115
|
+
const end2 = reader.uint32() + reader.pos;
|
|
1116
|
+
while (reader.pos < end2) {
|
|
1117
|
+
message.bounds.push(reader.double());
|
|
1118
|
+
}
|
|
1119
|
+
} else {
|
|
1120
|
+
message.bounds.push(reader.double());
|
|
1121
|
+
}
|
|
1122
|
+
break;
|
|
1123
|
+
default:
|
|
1124
|
+
reader.skipType(tag & 7);
|
|
1125
|
+
break;
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
return message;
|
|
1129
|
+
},
|
|
1130
|
+
fromPartial(object: Partial<Distribution_BucketOptions_Explicit>): Distribution_BucketOptions_Explicit {
|
|
1131
|
+
const message = createBaseDistribution_BucketOptions_Explicit();
|
|
1132
|
+
message.bounds = object.bounds?.map(e => e) || [];
|
|
1133
|
+
return message;
|
|
1134
|
+
},
|
|
1135
|
+
fromAmino(object: Distribution_BucketOptions_ExplicitAmino): Distribution_BucketOptions_Explicit {
|
|
1136
|
+
const message = createBaseDistribution_BucketOptions_Explicit();
|
|
1137
|
+
message.bounds = object.bounds?.map(e => e) || [];
|
|
1138
|
+
return message;
|
|
1139
|
+
},
|
|
1140
|
+
toAmino(message: Distribution_BucketOptions_Explicit): Distribution_BucketOptions_ExplicitAmino {
|
|
1141
|
+
const obj: any = {};
|
|
1142
|
+
if (message.bounds) {
|
|
1143
|
+
obj.bounds = message.bounds.map(e => e);
|
|
1144
|
+
} else {
|
|
1145
|
+
obj.bounds = message.bounds;
|
|
1146
|
+
}
|
|
1147
|
+
return obj;
|
|
1148
|
+
},
|
|
1149
|
+
fromAminoMsg(object: Distribution_BucketOptions_ExplicitAminoMsg): Distribution_BucketOptions_Explicit {
|
|
1150
|
+
return Distribution_BucketOptions_Explicit.fromAmino(object.value);
|
|
1151
|
+
},
|
|
1152
|
+
fromProtoMsg(message: Distribution_BucketOptions_ExplicitProtoMsg): Distribution_BucketOptions_Explicit {
|
|
1153
|
+
return Distribution_BucketOptions_Explicit.decode(message.value);
|
|
1154
|
+
},
|
|
1155
|
+
toProto(message: Distribution_BucketOptions_Explicit): Uint8Array {
|
|
1156
|
+
return Distribution_BucketOptions_Explicit.encode(message).finish();
|
|
1157
|
+
},
|
|
1158
|
+
toProtoMsg(message: Distribution_BucketOptions_Explicit): Distribution_BucketOptions_ExplicitProtoMsg {
|
|
1159
|
+
return {
|
|
1160
|
+
typeUrl: "/google.api.Explicit",
|
|
1161
|
+
value: Distribution_BucketOptions_Explicit.encode(message).finish()
|
|
1162
|
+
};
|
|
1163
|
+
}
|
|
1164
|
+
};
|
|
1165
|
+
function createBaseDistribution_Exemplar(): Distribution_Exemplar {
|
|
1166
|
+
return {
|
|
1167
|
+
value: 0,
|
|
1168
|
+
timestamp: undefined,
|
|
1169
|
+
attachments: []
|
|
1170
|
+
};
|
|
1171
|
+
}
|
|
1172
|
+
export const Distribution_Exemplar = {
|
|
1173
|
+
typeUrl: "/google.api.Exemplar",
|
|
1174
|
+
encode(message: Distribution_Exemplar, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1175
|
+
if (message.value !== 0) {
|
|
1176
|
+
writer.uint32(9).double(message.value);
|
|
1177
|
+
}
|
|
1178
|
+
if (message.timestamp !== undefined) {
|
|
1179
|
+
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();
|
|
1180
|
+
}
|
|
1181
|
+
for (const v of message.attachments) {
|
|
1182
|
+
Any.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
1183
|
+
}
|
|
1184
|
+
return writer;
|
|
1185
|
+
},
|
|
1186
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Distribution_Exemplar {
|
|
1187
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1188
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1189
|
+
const message = createBaseDistribution_Exemplar();
|
|
1190
|
+
while (reader.pos < end) {
|
|
1191
|
+
const tag = reader.uint32();
|
|
1192
|
+
switch (tag >>> 3) {
|
|
1193
|
+
case 1:
|
|
1194
|
+
message.value = reader.double();
|
|
1195
|
+
break;
|
|
1196
|
+
case 2:
|
|
1197
|
+
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1198
|
+
break;
|
|
1199
|
+
case 3:
|
|
1200
|
+
message.attachments.push(Any.decode(reader, reader.uint32()));
|
|
1201
|
+
break;
|
|
1202
|
+
default:
|
|
1203
|
+
reader.skipType(tag & 7);
|
|
1204
|
+
break;
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
return message;
|
|
1208
|
+
},
|
|
1209
|
+
fromPartial(object: Partial<Distribution_Exemplar>): Distribution_Exemplar {
|
|
1210
|
+
const message = createBaseDistribution_Exemplar();
|
|
1211
|
+
message.value = object.value ?? 0;
|
|
1212
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
1213
|
+
message.attachments = object.attachments?.map(e => Any.fromPartial(e)) || [];
|
|
1214
|
+
return message;
|
|
1215
|
+
},
|
|
1216
|
+
fromAmino(object: Distribution_ExemplarAmino): Distribution_Exemplar {
|
|
1217
|
+
const message = createBaseDistribution_Exemplar();
|
|
1218
|
+
if (object.value !== undefined && object.value !== null) {
|
|
1219
|
+
message.value = object.value;
|
|
1220
|
+
}
|
|
1221
|
+
if (object.timestamp !== undefined && object.timestamp !== null) {
|
|
1222
|
+
message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp));
|
|
1223
|
+
}
|
|
1224
|
+
message.attachments = object.attachments?.map(e => Any.fromAmino(e)) || [];
|
|
1225
|
+
return message;
|
|
1226
|
+
},
|
|
1227
|
+
toAmino(message: Distribution_Exemplar): Distribution_ExemplarAmino {
|
|
1228
|
+
const obj: any = {};
|
|
1229
|
+
obj.value = message.value === 0 ? undefined : message.value;
|
|
1230
|
+
obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined;
|
|
1231
|
+
if (message.attachments) {
|
|
1232
|
+
obj.attachments = message.attachments.map(e => e ? Any.toAmino(e) : undefined);
|
|
1233
|
+
} else {
|
|
1234
|
+
obj.attachments = message.attachments;
|
|
1235
|
+
}
|
|
1236
|
+
return obj;
|
|
1237
|
+
},
|
|
1238
|
+
fromAminoMsg(object: Distribution_ExemplarAminoMsg): Distribution_Exemplar {
|
|
1239
|
+
return Distribution_Exemplar.fromAmino(object.value);
|
|
1240
|
+
},
|
|
1241
|
+
fromProtoMsg(message: Distribution_ExemplarProtoMsg): Distribution_Exemplar {
|
|
1242
|
+
return Distribution_Exemplar.decode(message.value);
|
|
1243
|
+
},
|
|
1244
|
+
toProto(message: Distribution_Exemplar): Uint8Array {
|
|
1245
|
+
return Distribution_Exemplar.encode(message).finish();
|
|
1246
|
+
},
|
|
1247
|
+
toProtoMsg(message: Distribution_Exemplar): Distribution_ExemplarProtoMsg {
|
|
1248
|
+
return {
|
|
1249
|
+
typeUrl: "/google.api.Exemplar",
|
|
1250
|
+
value: Distribution_Exemplar.encode(message).finish()
|
|
1251
|
+
};
|
|
1252
|
+
}
|
|
1253
|
+
};
|