
jvmMain.terra.dyncomm.v1beta1.Genesis Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: terra/dyncomm/v1beta1/genesis.proto
// Protobuf Java Version: 3.25.3
package terra.dyncomm.v1beta1;
public final class Genesis {
private Genesis() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface GenesisStateOrBuilder extends
// @@protoc_insertion_point(interface_extends:terra.dyncomm.v1beta1.GenesisState)
com.google.protobuf.MessageOrBuilder {
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
* @return Whether the params field is set.
*/
boolean hasParams();
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
* @return The params.
*/
terra.dyncomm.v1beta1.Dyncomm.Params getParams();
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder getParamsOrBuilder();
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
java.util.List
getValidatorCommissionRatesList();
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate getValidatorCommissionRates(int index);
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
int getValidatorCommissionRatesCount();
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
java.util.List extends terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder>
getValidatorCommissionRatesOrBuilderList();
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder getValidatorCommissionRatesOrBuilder(
int index);
}
/**
*
* GenesisState defines the dyncomm module's genesis state.
*
*
* Protobuf type {@code terra.dyncomm.v1beta1.GenesisState}
*/
public static final class GenesisState extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:terra.dyncomm.v1beta1.GenesisState)
GenesisStateOrBuilder {
private static final long serialVersionUID = 0L;
// Use GenesisState.newBuilder() to construct.
private GenesisState(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GenesisState() {
validatorCommissionRates_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GenesisState();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_GenesisState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_GenesisState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
terra.dyncomm.v1beta1.Genesis.GenesisState.class, terra.dyncomm.v1beta1.Genesis.GenesisState.Builder.class);
}
private int bitField0_;
public static final int PARAMS_FIELD_NUMBER = 1;
private terra.dyncomm.v1beta1.Dyncomm.Params params_;
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
* @return Whether the params field is set.
*/
@java.lang.Override
public boolean hasParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
* @return The params.
*/
@java.lang.Override
public terra.dyncomm.v1beta1.Dyncomm.Params getParams() {
return params_ == null ? terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance() : params_;
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
@java.lang.Override
public terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder getParamsOrBuilder() {
return params_ == null ? terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance() : params_;
}
public static final int VALIDATOR_COMMISSION_RATES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List validatorCommissionRates_;
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
@java.lang.Override
public java.util.List getValidatorCommissionRatesList() {
return validatorCommissionRates_;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
@java.lang.Override
public java.util.List extends terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder>
getValidatorCommissionRatesOrBuilderList() {
return validatorCommissionRates_;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
@java.lang.Override
public int getValidatorCommissionRatesCount() {
return validatorCommissionRates_.size();
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate getValidatorCommissionRates(int index) {
return validatorCommissionRates_.get(index);
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder getValidatorCommissionRatesOrBuilder(
int index) {
return validatorCommissionRates_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getParams());
}
for (int i = 0; i < validatorCommissionRates_.size(); i++) {
output.writeMessage(2, validatorCommissionRates_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getParams());
}
for (int i = 0; i < validatorCommissionRates_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, validatorCommissionRates_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof terra.dyncomm.v1beta1.Genesis.GenesisState)) {
return super.equals(obj);
}
terra.dyncomm.v1beta1.Genesis.GenesisState other = (terra.dyncomm.v1beta1.Genesis.GenesisState) obj;
if (hasParams() != other.hasParams()) return false;
if (hasParams()) {
if (!getParams()
.equals(other.getParams())) return false;
}
if (!getValidatorCommissionRatesList()
.equals(other.getValidatorCommissionRatesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasParams()) {
hash = (37 * hash) + PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getParams().hashCode();
}
if (getValidatorCommissionRatesCount() > 0) {
hash = (37 * hash) + VALIDATOR_COMMISSION_RATES_FIELD_NUMBER;
hash = (53 * hash) + getValidatorCommissionRatesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(terra.dyncomm.v1beta1.Genesis.GenesisState prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* GenesisState defines the dyncomm module's genesis state.
*
*
* Protobuf type {@code terra.dyncomm.v1beta1.GenesisState}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:terra.dyncomm.v1beta1.GenesisState)
terra.dyncomm.v1beta1.Genesis.GenesisStateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_GenesisState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_GenesisState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
terra.dyncomm.v1beta1.Genesis.GenesisState.class, terra.dyncomm.v1beta1.Genesis.GenesisState.Builder.class);
}
// Construct using terra.dyncomm.v1beta1.Genesis.GenesisState.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getParamsFieldBuilder();
getValidatorCommissionRatesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
params_ = null;
if (paramsBuilder_ != null) {
paramsBuilder_.dispose();
paramsBuilder_ = null;
}
if (validatorCommissionRatesBuilder_ == null) {
validatorCommissionRates_ = java.util.Collections.emptyList();
} else {
validatorCommissionRates_ = null;
validatorCommissionRatesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_GenesisState_descriptor;
}
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.GenesisState getDefaultInstanceForType() {
return terra.dyncomm.v1beta1.Genesis.GenesisState.getDefaultInstance();
}
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.GenesisState build() {
terra.dyncomm.v1beta1.Genesis.GenesisState result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.GenesisState buildPartial() {
terra.dyncomm.v1beta1.Genesis.GenesisState result = new terra.dyncomm.v1beta1.Genesis.GenesisState(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(terra.dyncomm.v1beta1.Genesis.GenesisState result) {
if (validatorCommissionRatesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
validatorCommissionRates_ = java.util.Collections.unmodifiableList(validatorCommissionRates_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.validatorCommissionRates_ = validatorCommissionRates_;
} else {
result.validatorCommissionRates_ = validatorCommissionRatesBuilder_.build();
}
}
private void buildPartial0(terra.dyncomm.v1beta1.Genesis.GenesisState result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.params_ = paramsBuilder_ == null
? params_
: paramsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof terra.dyncomm.v1beta1.Genesis.GenesisState) {
return mergeFrom((terra.dyncomm.v1beta1.Genesis.GenesisState)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(terra.dyncomm.v1beta1.Genesis.GenesisState other) {
if (other == terra.dyncomm.v1beta1.Genesis.GenesisState.getDefaultInstance()) return this;
if (other.hasParams()) {
mergeParams(other.getParams());
}
if (validatorCommissionRatesBuilder_ == null) {
if (!other.validatorCommissionRates_.isEmpty()) {
if (validatorCommissionRates_.isEmpty()) {
validatorCommissionRates_ = other.validatorCommissionRates_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureValidatorCommissionRatesIsMutable();
validatorCommissionRates_.addAll(other.validatorCommissionRates_);
}
onChanged();
}
} else {
if (!other.validatorCommissionRates_.isEmpty()) {
if (validatorCommissionRatesBuilder_.isEmpty()) {
validatorCommissionRatesBuilder_.dispose();
validatorCommissionRatesBuilder_ = null;
validatorCommissionRates_ = other.validatorCommissionRates_;
bitField0_ = (bitField0_ & ~0x00000002);
validatorCommissionRatesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getValidatorCommissionRatesFieldBuilder() : null;
} else {
validatorCommissionRatesBuilder_.addAllMessages(other.validatorCommissionRates_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getParamsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate m =
input.readMessage(
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.parser(),
extensionRegistry);
if (validatorCommissionRatesBuilder_ == null) {
ensureValidatorCommissionRatesIsMutable();
validatorCommissionRates_.add(m);
} else {
validatorCommissionRatesBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private terra.dyncomm.v1beta1.Dyncomm.Params params_;
private com.google.protobuf.SingleFieldBuilderV3<
terra.dyncomm.v1beta1.Dyncomm.Params, terra.dyncomm.v1beta1.Dyncomm.Params.Builder, terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder> paramsBuilder_;
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
* @return Whether the params field is set.
*/
public boolean hasParams() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
* @return The params.
*/
public terra.dyncomm.v1beta1.Dyncomm.Params getParams() {
if (paramsBuilder_ == null) {
return params_ == null ? terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance() : params_;
} else {
return paramsBuilder_.getMessage();
}
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(terra.dyncomm.v1beta1.Dyncomm.Params value) {
if (paramsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
params_ = value;
} else {
paramsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder setParams(
terra.dyncomm.v1beta1.Dyncomm.Params.Builder builderForValue) {
if (paramsBuilder_ == null) {
params_ = builderForValue.build();
} else {
paramsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder mergeParams(terra.dyncomm.v1beta1.Dyncomm.Params value) {
if (paramsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
params_ != null &&
params_ != terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance()) {
getParamsBuilder().mergeFrom(value);
} else {
params_ = value;
}
} else {
paramsBuilder_.mergeFrom(value);
}
if (params_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public Builder clearParams() {
bitField0_ = (bitField0_ & ~0x00000001);
params_ = null;
if (paramsBuilder_ != null) {
paramsBuilder_.dispose();
paramsBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public terra.dyncomm.v1beta1.Dyncomm.Params.Builder getParamsBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getParamsFieldBuilder().getBuilder();
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
public terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder getParamsOrBuilder() {
if (paramsBuilder_ != null) {
return paramsBuilder_.getMessageOrBuilder();
} else {
return params_ == null ?
terra.dyncomm.v1beta1.Dyncomm.Params.getDefaultInstance() : params_;
}
}
/**
*
* params defines all the paramaters of the module.
*
*
* .terra.dyncomm.v1beta1.Params params = 1 [(.gogoproto.nullable) = false];
*/
private com.google.protobuf.SingleFieldBuilderV3<
terra.dyncomm.v1beta1.Dyncomm.Params, terra.dyncomm.v1beta1.Dyncomm.Params.Builder, terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder>
getParamsFieldBuilder() {
if (paramsBuilder_ == null) {
paramsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
terra.dyncomm.v1beta1.Dyncomm.Params, terra.dyncomm.v1beta1.Dyncomm.Params.Builder, terra.dyncomm.v1beta1.Dyncomm.ParamsOrBuilder>(
getParams(),
getParentForChildren(),
isClean());
params_ = null;
}
return paramsBuilder_;
}
private java.util.List validatorCommissionRates_ =
java.util.Collections.emptyList();
private void ensureValidatorCommissionRatesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
validatorCommissionRates_ = new java.util.ArrayList(validatorCommissionRates_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder> validatorCommissionRatesBuilder_;
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List getValidatorCommissionRatesList() {
if (validatorCommissionRatesBuilder_ == null) {
return java.util.Collections.unmodifiableList(validatorCommissionRates_);
} else {
return validatorCommissionRatesBuilder_.getMessageList();
}
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public int getValidatorCommissionRatesCount() {
if (validatorCommissionRatesBuilder_ == null) {
return validatorCommissionRates_.size();
} else {
return validatorCommissionRatesBuilder_.getCount();
}
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate getValidatorCommissionRates(int index) {
if (validatorCommissionRatesBuilder_ == null) {
return validatorCommissionRates_.get(index);
} else {
return validatorCommissionRatesBuilder_.getMessage(index);
}
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public Builder setValidatorCommissionRates(
int index, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate value) {
if (validatorCommissionRatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValidatorCommissionRatesIsMutable();
validatorCommissionRates_.set(index, value);
onChanged();
} else {
validatorCommissionRatesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public Builder setValidatorCommissionRates(
int index, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder builderForValue) {
if (validatorCommissionRatesBuilder_ == null) {
ensureValidatorCommissionRatesIsMutable();
validatorCommissionRates_.set(index, builderForValue.build());
onChanged();
} else {
validatorCommissionRatesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public Builder addValidatorCommissionRates(terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate value) {
if (validatorCommissionRatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValidatorCommissionRatesIsMutable();
validatorCommissionRates_.add(value);
onChanged();
} else {
validatorCommissionRatesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public Builder addValidatorCommissionRates(
int index, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate value) {
if (validatorCommissionRatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureValidatorCommissionRatesIsMutable();
validatorCommissionRates_.add(index, value);
onChanged();
} else {
validatorCommissionRatesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public Builder addValidatorCommissionRates(
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder builderForValue) {
if (validatorCommissionRatesBuilder_ == null) {
ensureValidatorCommissionRatesIsMutable();
validatorCommissionRates_.add(builderForValue.build());
onChanged();
} else {
validatorCommissionRatesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public Builder addValidatorCommissionRates(
int index, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder builderForValue) {
if (validatorCommissionRatesBuilder_ == null) {
ensureValidatorCommissionRatesIsMutable();
validatorCommissionRates_.add(index, builderForValue.build());
onChanged();
} else {
validatorCommissionRatesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public Builder addAllValidatorCommissionRates(
java.lang.Iterable extends terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate> values) {
if (validatorCommissionRatesBuilder_ == null) {
ensureValidatorCommissionRatesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, validatorCommissionRates_);
onChanged();
} else {
validatorCommissionRatesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public Builder clearValidatorCommissionRates() {
if (validatorCommissionRatesBuilder_ == null) {
validatorCommissionRates_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
validatorCommissionRatesBuilder_.clear();
}
return this;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public Builder removeValidatorCommissionRates(int index) {
if (validatorCommissionRatesBuilder_ == null) {
ensureValidatorCommissionRatesIsMutable();
validatorCommissionRates_.remove(index);
onChanged();
} else {
validatorCommissionRatesBuilder_.remove(index);
}
return this;
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder getValidatorCommissionRatesBuilder(
int index) {
return getValidatorCommissionRatesFieldBuilder().getBuilder(index);
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder getValidatorCommissionRatesOrBuilder(
int index) {
if (validatorCommissionRatesBuilder_ == null) {
return validatorCommissionRates_.get(index); } else {
return validatorCommissionRatesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List extends terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder>
getValidatorCommissionRatesOrBuilderList() {
if (validatorCommissionRatesBuilder_ != null) {
return validatorCommissionRatesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(validatorCommissionRates_);
}
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder addValidatorCommissionRatesBuilder() {
return getValidatorCommissionRatesFieldBuilder().addBuilder(
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.getDefaultInstance());
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder addValidatorCommissionRatesBuilder(
int index) {
return getValidatorCommissionRatesFieldBuilder().addBuilder(
index, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.getDefaultInstance());
}
/**
* repeated .terra.dyncomm.v1beta1.ValidatorCommissionRate validator_commission_rates = 2 [(.gogoproto.nullable) = false];
*/
public java.util.List
getValidatorCommissionRatesBuilderList() {
return getValidatorCommissionRatesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder>
getValidatorCommissionRatesFieldBuilder() {
if (validatorCommissionRatesBuilder_ == null) {
validatorCommissionRatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder>(
validatorCommissionRates_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
validatorCommissionRates_ = null;
}
return validatorCommissionRatesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:terra.dyncomm.v1beta1.GenesisState)
}
// @@protoc_insertion_point(class_scope:terra.dyncomm.v1beta1.GenesisState)
private static final terra.dyncomm.v1beta1.Genesis.GenesisState DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new terra.dyncomm.v1beta1.Genesis.GenesisState();
}
public static terra.dyncomm.v1beta1.Genesis.GenesisState getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GenesisState parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.GenesisState getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ValidatorCommissionRateOrBuilder extends
// @@protoc_insertion_point(interface_extends:terra.dyncomm.v1beta1.ValidatorCommissionRate)
com.google.protobuf.MessageOrBuilder {
/**
* string validator_address = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"];
* @return The validatorAddress.
*/
java.lang.String getValidatorAddress();
/**
* string validator_address = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"];
* @return The bytes for validatorAddress.
*/
com.google.protobuf.ByteString
getValidatorAddressBytes();
/**
* string min_commission_rate = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The minCommissionRate.
*/
java.lang.String getMinCommissionRate();
/**
* string min_commission_rate = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The bytes for minCommissionRate.
*/
com.google.protobuf.ByteString
getMinCommissionRateBytes();
/**
* string target_commission_rate = 3 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The targetCommissionRate.
*/
java.lang.String getTargetCommissionRate();
/**
* string target_commission_rate = 3 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The bytes for targetCommissionRate.
*/
com.google.protobuf.ByteString
getTargetCommissionRateBytes();
}
/**
*
* MinDynCommission defines a validator - min commission rate
* pair to be enforced by the blockchain
*
*
* Protobuf type {@code terra.dyncomm.v1beta1.ValidatorCommissionRate}
*/
public static final class ValidatorCommissionRate extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:terra.dyncomm.v1beta1.ValidatorCommissionRate)
ValidatorCommissionRateOrBuilder {
private static final long serialVersionUID = 0L;
// Use ValidatorCommissionRate.newBuilder() to construct.
private ValidatorCommissionRate(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ValidatorCommissionRate() {
validatorAddress_ = "";
minCommissionRate_ = "";
targetCommissionRate_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ValidatorCommissionRate();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.class, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder.class);
}
public static final int VALIDATOR_ADDRESS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object validatorAddress_ = "";
/**
* string validator_address = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"];
* @return The validatorAddress.
*/
@java.lang.Override
public java.lang.String getValidatorAddress() {
java.lang.Object ref = validatorAddress_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
validatorAddress_ = s;
return s;
}
}
/**
* string validator_address = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"];
* @return The bytes for validatorAddress.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValidatorAddressBytes() {
java.lang.Object ref = validatorAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
validatorAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MIN_COMMISSION_RATE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object minCommissionRate_ = "";
/**
* string min_commission_rate = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The minCommissionRate.
*/
@java.lang.Override
public java.lang.String getMinCommissionRate() {
java.lang.Object ref = minCommissionRate_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
minCommissionRate_ = s;
return s;
}
}
/**
* string min_commission_rate = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The bytes for minCommissionRate.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMinCommissionRateBytes() {
java.lang.Object ref = minCommissionRate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
minCommissionRate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TARGET_COMMISSION_RATE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object targetCommissionRate_ = "";
/**
* string target_commission_rate = 3 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The targetCommissionRate.
*/
@java.lang.Override
public java.lang.String getTargetCommissionRate() {
java.lang.Object ref = targetCommissionRate_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
targetCommissionRate_ = s;
return s;
}
}
/**
* string target_commission_rate = 3 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The bytes for targetCommissionRate.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTargetCommissionRateBytes() {
java.lang.Object ref = targetCommissionRate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
targetCommissionRate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validatorAddress_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, validatorAddress_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minCommissionRate_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, minCommissionRate_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCommissionRate_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, targetCommissionRate_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(validatorAddress_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, validatorAddress_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minCommissionRate_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, minCommissionRate_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetCommissionRate_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, targetCommissionRate_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate)) {
return super.equals(obj);
}
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate other = (terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate) obj;
if (!getValidatorAddress()
.equals(other.getValidatorAddress())) return false;
if (!getMinCommissionRate()
.equals(other.getMinCommissionRate())) return false;
if (!getTargetCommissionRate()
.equals(other.getTargetCommissionRate())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + VALIDATOR_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getValidatorAddress().hashCode();
hash = (37 * hash) + MIN_COMMISSION_RATE_FIELD_NUMBER;
hash = (53 * hash) + getMinCommissionRate().hashCode();
hash = (37 * hash) + TARGET_COMMISSION_RATE_FIELD_NUMBER;
hash = (53 * hash) + getTargetCommissionRate().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* MinDynCommission defines a validator - min commission rate
* pair to be enforced by the blockchain
*
*
* Protobuf type {@code terra.dyncomm.v1beta1.ValidatorCommissionRate}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:terra.dyncomm.v1beta1.ValidatorCommissionRate)
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.class, terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.Builder.class);
}
// Construct using terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
validatorAddress_ = "";
minCommissionRate_ = "";
targetCommissionRate_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return terra.dyncomm.v1beta1.Genesis.internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_descriptor;
}
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate getDefaultInstanceForType() {
return terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.getDefaultInstance();
}
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate build() {
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate buildPartial() {
terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate result = new terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.validatorAddress_ = validatorAddress_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.minCommissionRate_ = minCommissionRate_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.targetCommissionRate_ = targetCommissionRate_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate) {
return mergeFrom((terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate other) {
if (other == terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate.getDefaultInstance()) return this;
if (!other.getValidatorAddress().isEmpty()) {
validatorAddress_ = other.validatorAddress_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getMinCommissionRate().isEmpty()) {
minCommissionRate_ = other.minCommissionRate_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getTargetCommissionRate().isEmpty()) {
targetCommissionRate_ = other.targetCommissionRate_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
validatorAddress_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
minCommissionRate_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
targetCommissionRate_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object validatorAddress_ = "";
/**
* string validator_address = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"];
* @return The validatorAddress.
*/
public java.lang.String getValidatorAddress() {
java.lang.Object ref = validatorAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
validatorAddress_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string validator_address = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"];
* @return The bytes for validatorAddress.
*/
public com.google.protobuf.ByteString
getValidatorAddressBytes() {
java.lang.Object ref = validatorAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
validatorAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string validator_address = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"];
* @param value The validatorAddress to set.
* @return This builder for chaining.
*/
public Builder setValidatorAddress(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
validatorAddress_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string validator_address = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"];
* @return This builder for chaining.
*/
public Builder clearValidatorAddress() {
validatorAddress_ = getDefaultInstance().getValidatorAddress();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string validator_address = 1 [(.cosmos_proto.scalar) = "cosmos.AddressString"];
* @param value The bytes for validatorAddress to set.
* @return This builder for chaining.
*/
public Builder setValidatorAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
validatorAddress_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object minCommissionRate_ = "";
/**
* string min_commission_rate = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The minCommissionRate.
*/
public java.lang.String getMinCommissionRate() {
java.lang.Object ref = minCommissionRate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
minCommissionRate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string min_commission_rate = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The bytes for minCommissionRate.
*/
public com.google.protobuf.ByteString
getMinCommissionRateBytes() {
java.lang.Object ref = minCommissionRate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
minCommissionRate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string min_commission_rate = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @param value The minCommissionRate to set.
* @return This builder for chaining.
*/
public Builder setMinCommissionRate(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
minCommissionRate_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string min_commission_rate = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return This builder for chaining.
*/
public Builder clearMinCommissionRate() {
minCommissionRate_ = getDefaultInstance().getMinCommissionRate();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string min_commission_rate = 2 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @param value The bytes for minCommissionRate to set.
* @return This builder for chaining.
*/
public Builder setMinCommissionRateBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
minCommissionRate_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object targetCommissionRate_ = "";
/**
* string target_commission_rate = 3 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The targetCommissionRate.
*/
public java.lang.String getTargetCommissionRate() {
java.lang.Object ref = targetCommissionRate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
targetCommissionRate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string target_commission_rate = 3 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return The bytes for targetCommissionRate.
*/
public com.google.protobuf.ByteString
getTargetCommissionRateBytes() {
java.lang.Object ref = targetCommissionRate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
targetCommissionRate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string target_commission_rate = 3 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @param value The targetCommissionRate to set.
* @return This builder for chaining.
*/
public Builder setTargetCommissionRate(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
targetCommissionRate_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string target_commission_rate = 3 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @return This builder for chaining.
*/
public Builder clearTargetCommissionRate() {
targetCommissionRate_ = getDefaultInstance().getTargetCommissionRate();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string target_commission_rate = 3 [(.gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (.cosmos_proto.scalar) = "cosmos.Dec"];
* @param value The bytes for targetCommissionRate to set.
* @return This builder for chaining.
*/
public Builder setTargetCommissionRateBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
targetCommissionRate_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:terra.dyncomm.v1beta1.ValidatorCommissionRate)
}
// @@protoc_insertion_point(class_scope:terra.dyncomm.v1beta1.ValidatorCommissionRate)
private static final terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate();
}
public static terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ValidatorCommissionRate parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public terra.dyncomm.v1beta1.Genesis.ValidatorCommissionRate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_terra_dyncomm_v1beta1_GenesisState_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_terra_dyncomm_v1beta1_GenesisState_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n#terra/dyncomm/v1beta1/genesis.proto\022\025t" +
"erra.dyncomm.v1beta1\032\031cosmos_proto/cosmo" +
"s.proto\032\024gogoproto/gogo.proto\032#terra/dyn" +
"comm/v1beta1/dyncomm.proto\"\235\001\n\014GenesisSt" +
"ate\0223\n\006params\030\001 \001(\0132\035.terra.dyncomm.v1be" +
"ta1.ParamsB\004\310\336\037\000\022X\n\032validator_commission" +
"_rates\030\002 \003(\0132..terra.dyncomm.v1beta1.Val" +
"idatorCommissionRateB\004\310\336\037\000\"\377\001\n\027Validator" +
"CommissionRate\0223\n\021validator_address\030\001 \001(" +
"\tB\030\322\264-\024cosmos.AddressString\022U\n\023min_commi" +
"ssion_rate\030\002 \001(\tB8\332\336\037&github.com/cosmos/" +
"cosmos-sdk/types.Dec\322\264-\ncosmos.Dec\022X\n\026ta" +
"rget_commission_rate\030\003 \001(\tB8\332\336\037&github.c" +
"om/cosmos/cosmos-sdk/types.Dec\322\264-\ncosmos" +
".DecB2Z0github.com/classic-terra/core/v3" +
"/x/dyncomm/typesb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
cosmos_proto.Cosmos.getDescriptor(),
com.google.protobuf.GoGoProtos.getDescriptor(),
terra.dyncomm.v1beta1.Dyncomm.getDescriptor(),
});
internal_static_terra_dyncomm_v1beta1_GenesisState_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_terra_dyncomm_v1beta1_GenesisState_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_terra_dyncomm_v1beta1_GenesisState_descriptor,
new java.lang.String[] { "Params", "ValidatorCommissionRates", });
internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_terra_dyncomm_v1beta1_ValidatorCommissionRate_descriptor,
new java.lang.String[] { "ValidatorAddress", "MinCommissionRate", "TargetCommissionRate", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(cosmos_proto.Cosmos.scalar);
registry.add(com.google.protobuf.GoGoProtos.customtype);
registry.add(com.google.protobuf.GoGoProtos.nullable);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
cosmos_proto.Cosmos.getDescriptor();
com.google.protobuf.GoGoProtos.getDescriptor();
terra.dyncomm.v1beta1.Dyncomm.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy