Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* Max gas per block.
* Note: must be greater or equal to -1
*
*
* int64 max_gas = 2;
*/
long getMaxGas();
/**
*
* Minimum time increment between consecutive blocks (in milliseconds) If the
* block header timestamp is ahead of the system clock, decrease this value.
* Not exposed to the application.
*
* BlockParams contains limits on the block size.
*
*
* Protobuf type {@code tendermint.types.BlockParams}
*/
public static final class BlockParams extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tendermint.types.BlockParams)
BlockParamsOrBuilder {
private static final long serialVersionUID = 0L;
// Use BlockParams.newBuilder() to construct.
private BlockParams(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BlockParams() {
maxBytes_ = 0L;
maxGas_ = 0L;
timeIotaMs_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BlockParams(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
maxBytes_ = input.readInt64();
break;
}
case 16: {
maxGas_ = input.readInt64();
break;
}
case 24: {
timeIotaMs_ = input.readInt64();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_BlockParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_BlockParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.BlockParams.class, tendermint.types.Params.BlockParams.Builder.class);
}
public static final int MAX_BYTES_FIELD_NUMBER = 1;
private long maxBytes_;
/**
*
* Max block size, in bytes.
* Note: must be greater than 0
*
*
* int64 max_bytes = 1;
*/
public long getMaxBytes() {
return maxBytes_;
}
public static final int MAX_GAS_FIELD_NUMBER = 2;
private long maxGas_;
/**
*
* Max gas per block.
* Note: must be greater or equal to -1
*
*
* int64 max_gas = 2;
*/
public long getMaxGas() {
return maxGas_;
}
public static final int TIME_IOTA_MS_FIELD_NUMBER = 3;
private long timeIotaMs_;
/**
*
* Minimum time increment between consecutive blocks (in milliseconds) If the
* block header timestamp is ahead of the system clock, decrease this value.
* Not exposed to the application.
*
*
* int64 time_iota_ms = 3;
*/
public long getTimeIotaMs() {
return timeIotaMs_;
}
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 (maxBytes_ != 0L) {
output.writeInt64(1, maxBytes_);
}
if (maxGas_ != 0L) {
output.writeInt64(2, maxGas_);
}
if (timeIotaMs_ != 0L) {
output.writeInt64(3, timeIotaMs_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (maxBytes_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, maxBytes_);
}
if (maxGas_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, maxGas_);
}
if (timeIotaMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, timeIotaMs_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tendermint.types.Params.BlockParams)) {
return super.equals(obj);
}
tendermint.types.Params.BlockParams other = (tendermint.types.Params.BlockParams) obj;
boolean result = true;
result = result && (getMaxBytes()
== other.getMaxBytes());
result = result && (getMaxGas()
== other.getMaxGas());
result = result && (getTimeIotaMs()
== other.getTimeIotaMs());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MAX_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxBytes());
hash = (37 * hash) + MAX_GAS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxGas());
hash = (37 * hash) + TIME_IOTA_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeIotaMs());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static tendermint.types.Params.BlockParams parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.BlockParams parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.BlockParams parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.BlockParams parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.BlockParams parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.BlockParams parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.BlockParams parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.BlockParams 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 tendermint.types.Params.BlockParams parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tendermint.types.Params.BlockParams 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 tendermint.types.Params.BlockParams parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.BlockParams 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(tendermint.types.Params.BlockParams 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;
}
/**
*
* BlockParams contains limits on the block size.
*
*
* Protobuf type {@code tendermint.types.BlockParams}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tendermint.types.BlockParams)
tendermint.types.Params.BlockParamsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_BlockParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_BlockParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.BlockParams.class, tendermint.types.Params.BlockParams.Builder.class);
}
// Construct using tendermint.types.Params.BlockParams.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
maxBytes_ = 0L;
maxGas_ = 0L;
timeIotaMs_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tendermint.types.Params.internal_static_tendermint_types_BlockParams_descriptor;
}
@java.lang.Override
public tendermint.types.Params.BlockParams getDefaultInstanceForType() {
return tendermint.types.Params.BlockParams.getDefaultInstance();
}
@java.lang.Override
public tendermint.types.Params.BlockParams build() {
tendermint.types.Params.BlockParams result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tendermint.types.Params.BlockParams buildPartial() {
tendermint.types.Params.BlockParams result = new tendermint.types.Params.BlockParams(this);
result.maxBytes_ = maxBytes_;
result.maxGas_ = maxGas_;
result.timeIotaMs_ = timeIotaMs_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tendermint.types.Params.BlockParams) {
return mergeFrom((tendermint.types.Params.BlockParams)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tendermint.types.Params.BlockParams other) {
if (other == tendermint.types.Params.BlockParams.getDefaultInstance()) return this;
if (other.getMaxBytes() != 0L) {
setMaxBytes(other.getMaxBytes());
}
if (other.getMaxGas() != 0L) {
setMaxGas(other.getMaxGas());
}
if (other.getTimeIotaMs() != 0L) {
setTimeIotaMs(other.getTimeIotaMs());
}
this.mergeUnknownFields(other.unknownFields);
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 {
tendermint.types.Params.BlockParams parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (tendermint.types.Params.BlockParams) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long maxBytes_ ;
/**
*
* Max block size, in bytes.
* Note: must be greater than 0
*
*
* int64 max_bytes = 1;
*/
public long getMaxBytes() {
return maxBytes_;
}
/**
*
* Max block size, in bytes.
* Note: must be greater than 0
*
* Minimum time increment between consecutive blocks (in milliseconds) If the
* block header timestamp is ahead of the system clock, decrease this value.
* Not exposed to the application.
*
*
* int64 time_iota_ms = 3;
*/
public long getTimeIotaMs() {
return timeIotaMs_;
}
/**
*
* Minimum time increment between consecutive blocks (in milliseconds) If the
* block header timestamp is ahead of the system clock, decrease this value.
* Not exposed to the application.
*
* Minimum time increment between consecutive blocks (in milliseconds) If the
* block header timestamp is ahead of the system clock, decrease this value.
* Not exposed to the application.
*
*
* int64 time_iota_ms = 3;
*/
public Builder clearTimeIotaMs() {
timeIotaMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tendermint.types.BlockParams)
}
// @@protoc_insertion_point(class_scope:tendermint.types.BlockParams)
private static final tendermint.types.Params.BlockParams DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tendermint.types.Params.BlockParams();
}
public static tendermint.types.Params.BlockParams getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BlockParams parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BlockParams(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tendermint.types.Params.BlockParams getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EvidenceParamsOrBuilder extends
// @@protoc_insertion_point(interface_extends:tendermint.types.EvidenceParams)
com.google.protobuf.MessageOrBuilder {
/**
*
* Max age of evidence, in blocks.
* The basic formula for calculating this is: MaxAgeDuration / {average block
* time}.
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* This sets the maximum size of total evidence in bytes that can be committed in a single block.
* and should fall comfortably under the max block bytes.
* Default is 1048576 or 1MB
*
* EvidenceParams determine how we handle evidence of malfeasance.
*
*
* Protobuf type {@code tendermint.types.EvidenceParams}
*/
public static final class EvidenceParams extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tendermint.types.EvidenceParams)
EvidenceParamsOrBuilder {
private static final long serialVersionUID = 0L;
// Use EvidenceParams.newBuilder() to construct.
private EvidenceParams(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EvidenceParams() {
maxAgeNumBlocks_ = 0L;
maxBytes_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EvidenceParams(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
maxAgeNumBlocks_ = input.readInt64();
break;
}
case 18: {
com.google.protobuf.Duration.Builder subBuilder = null;
if (maxAgeDuration_ != null) {
subBuilder = maxAgeDuration_.toBuilder();
}
maxAgeDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxAgeDuration_);
maxAgeDuration_ = subBuilder.buildPartial();
}
break;
}
case 24: {
maxBytes_ = input.readInt64();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_EvidenceParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_EvidenceParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.EvidenceParams.class, tendermint.types.Params.EvidenceParams.Builder.class);
}
public static final int MAX_AGE_NUM_BLOCKS_FIELD_NUMBER = 1;
private long maxAgeNumBlocks_;
/**
*
* Max age of evidence, in blocks.
* The basic formula for calculating this is: MaxAgeDuration / {average block
* time}.
*
*
* int64 max_age_num_blocks = 1;
*/
public long getMaxAgeNumBlocks() {
return maxAgeNumBlocks_;
}
public static final int MAX_AGE_DURATION_FIELD_NUMBER = 2;
private com.google.protobuf.Duration maxAgeDuration_;
/**
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
*
* .google.protobuf.Duration max_age_duration = 2 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];
*/
public com.google.protobuf.DurationOrBuilder getMaxAgeDurationOrBuilder() {
return getMaxAgeDuration();
}
public static final int MAX_BYTES_FIELD_NUMBER = 3;
private long maxBytes_;
/**
*
* This sets the maximum size of total evidence in bytes that can be committed in a single block.
* and should fall comfortably under the max block bytes.
* Default is 1048576 or 1MB
*
*
* int64 max_bytes = 3;
*/
public long getMaxBytes() {
return maxBytes_;
}
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 (maxAgeNumBlocks_ != 0L) {
output.writeInt64(1, maxAgeNumBlocks_);
}
if (maxAgeDuration_ != null) {
output.writeMessage(2, getMaxAgeDuration());
}
if (maxBytes_ != 0L) {
output.writeInt64(3, maxBytes_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (maxAgeNumBlocks_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, maxAgeNumBlocks_);
}
if (maxAgeDuration_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getMaxAgeDuration());
}
if (maxBytes_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, maxBytes_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tendermint.types.Params.EvidenceParams)) {
return super.equals(obj);
}
tendermint.types.Params.EvidenceParams other = (tendermint.types.Params.EvidenceParams) obj;
boolean result = true;
result = result && (getMaxAgeNumBlocks()
== other.getMaxAgeNumBlocks());
result = result && (hasMaxAgeDuration() == other.hasMaxAgeDuration());
if (hasMaxAgeDuration()) {
result = result && getMaxAgeDuration()
.equals(other.getMaxAgeDuration());
}
result = result && (getMaxBytes()
== other.getMaxBytes());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MAX_AGE_NUM_BLOCKS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxAgeNumBlocks());
if (hasMaxAgeDuration()) {
hash = (37 * hash) + MAX_AGE_DURATION_FIELD_NUMBER;
hash = (53 * hash) + getMaxAgeDuration().hashCode();
}
hash = (37 * hash) + MAX_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxBytes());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static tendermint.types.Params.EvidenceParams parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.EvidenceParams parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.EvidenceParams parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.EvidenceParams parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.EvidenceParams parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.EvidenceParams parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.EvidenceParams parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.EvidenceParams 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 tendermint.types.Params.EvidenceParams parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tendermint.types.Params.EvidenceParams 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 tendermint.types.Params.EvidenceParams parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.EvidenceParams 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(tendermint.types.Params.EvidenceParams 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;
}
/**
*
* EvidenceParams determine how we handle evidence of malfeasance.
*
*
* Protobuf type {@code tendermint.types.EvidenceParams}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tendermint.types.EvidenceParams)
tendermint.types.Params.EvidenceParamsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_EvidenceParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_EvidenceParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.EvidenceParams.class, tendermint.types.Params.EvidenceParams.Builder.class);
}
// Construct using tendermint.types.Params.EvidenceParams.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
maxAgeNumBlocks_ = 0L;
if (maxAgeDurationBuilder_ == null) {
maxAgeDuration_ = null;
} else {
maxAgeDuration_ = null;
maxAgeDurationBuilder_ = null;
}
maxBytes_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tendermint.types.Params.internal_static_tendermint_types_EvidenceParams_descriptor;
}
@java.lang.Override
public tendermint.types.Params.EvidenceParams getDefaultInstanceForType() {
return tendermint.types.Params.EvidenceParams.getDefaultInstance();
}
@java.lang.Override
public tendermint.types.Params.EvidenceParams build() {
tendermint.types.Params.EvidenceParams result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tendermint.types.Params.EvidenceParams buildPartial() {
tendermint.types.Params.EvidenceParams result = new tendermint.types.Params.EvidenceParams(this);
result.maxAgeNumBlocks_ = maxAgeNumBlocks_;
if (maxAgeDurationBuilder_ == null) {
result.maxAgeDuration_ = maxAgeDuration_;
} else {
result.maxAgeDuration_ = maxAgeDurationBuilder_.build();
}
result.maxBytes_ = maxBytes_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tendermint.types.Params.EvidenceParams) {
return mergeFrom((tendermint.types.Params.EvidenceParams)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tendermint.types.Params.EvidenceParams other) {
if (other == tendermint.types.Params.EvidenceParams.getDefaultInstance()) return this;
if (other.getMaxAgeNumBlocks() != 0L) {
setMaxAgeNumBlocks(other.getMaxAgeNumBlocks());
}
if (other.hasMaxAgeDuration()) {
mergeMaxAgeDuration(other.getMaxAgeDuration());
}
if (other.getMaxBytes() != 0L) {
setMaxBytes(other.getMaxBytes());
}
this.mergeUnknownFields(other.unknownFields);
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 {
tendermint.types.Params.EvidenceParams parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (tendermint.types.Params.EvidenceParams) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long maxAgeNumBlocks_ ;
/**
*
* Max age of evidence, in blocks.
* The basic formula for calculating this is: MaxAgeDuration / {average block
* time}.
*
*
* int64 max_age_num_blocks = 1;
*/
public long getMaxAgeNumBlocks() {
return maxAgeNumBlocks_;
}
/**
*
* Max age of evidence, in blocks.
* The basic formula for calculating this is: MaxAgeDuration / {average block
* time}.
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* Max age of evidence, in time.
* It should correspond with an app's "unbonding period" or other similar
* mechanism for handling [Nothing-At-Stake
* attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
*
* This sets the maximum size of total evidence in bytes that can be committed in a single block.
* and should fall comfortably under the max block bytes.
* Default is 1048576 or 1MB
*
*
* int64 max_bytes = 3;
*/
public long getMaxBytes() {
return maxBytes_;
}
/**
*
* This sets the maximum size of total evidence in bytes that can be committed in a single block.
* and should fall comfortably under the max block bytes.
* Default is 1048576 or 1MB
*
* This sets the maximum size of total evidence in bytes that can be committed in a single block.
* and should fall comfortably under the max block bytes.
* Default is 1048576 or 1MB
*
*
* int64 max_bytes = 3;
*/
public Builder clearMaxBytes() {
maxBytes_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tendermint.types.EvidenceParams)
}
// @@protoc_insertion_point(class_scope:tendermint.types.EvidenceParams)
private static final tendermint.types.Params.EvidenceParams DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tendermint.types.Params.EvidenceParams();
}
public static tendermint.types.Params.EvidenceParams getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public EvidenceParams parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EvidenceParams(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tendermint.types.Params.EvidenceParams getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ValidatorParamsOrBuilder extends
// @@protoc_insertion_point(interface_extends:tendermint.types.ValidatorParams)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string pub_key_types = 1;
*/
java.util.List
getPubKeyTypesList();
/**
* repeated string pub_key_types = 1;
*/
int getPubKeyTypesCount();
/**
* repeated string pub_key_types = 1;
*/
java.lang.String getPubKeyTypes(int index);
/**
* repeated string pub_key_types = 1;
*/
com.google.protobuf.ByteString
getPubKeyTypesBytes(int index);
}
/**
*
* ValidatorParams restrict the public key types validators can use.
* NOTE: uses ABCI pubkey naming, not Amino names.
*
*
* Protobuf type {@code tendermint.types.ValidatorParams}
*/
public static final class ValidatorParams extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tendermint.types.ValidatorParams)
ValidatorParamsOrBuilder {
private static final long serialVersionUID = 0L;
// Use ValidatorParams.newBuilder() to construct.
private ValidatorParams(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ValidatorParams() {
pubKeyTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ValidatorParams(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
pubKeyTypes_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
pubKeyTypes_.add(s);
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
pubKeyTypes_ = pubKeyTypes_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_ValidatorParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_ValidatorParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.ValidatorParams.class, tendermint.types.Params.ValidatorParams.Builder.class);
}
public static final int PUB_KEY_TYPES_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList pubKeyTypes_;
/**
* repeated string pub_key_types = 1;
*/
public com.google.protobuf.ProtocolStringList
getPubKeyTypesList() {
return pubKeyTypes_;
}
/**
* repeated string pub_key_types = 1;
*/
public int getPubKeyTypesCount() {
return pubKeyTypes_.size();
}
/**
* repeated string pub_key_types = 1;
*/
public java.lang.String getPubKeyTypes(int index) {
return pubKeyTypes_.get(index);
}
/**
* repeated string pub_key_types = 1;
*/
public com.google.protobuf.ByteString
getPubKeyTypesBytes(int index) {
return pubKeyTypes_.getByteString(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 {
for (int i = 0; i < pubKeyTypes_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pubKeyTypes_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < pubKeyTypes_.size(); i++) {
dataSize += computeStringSizeNoTag(pubKeyTypes_.getRaw(i));
}
size += dataSize;
size += 1 * getPubKeyTypesList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tendermint.types.Params.ValidatorParams)) {
return super.equals(obj);
}
tendermint.types.Params.ValidatorParams other = (tendermint.types.Params.ValidatorParams) obj;
boolean result = true;
result = result && getPubKeyTypesList()
.equals(other.getPubKeyTypesList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getPubKeyTypesCount() > 0) {
hash = (37 * hash) + PUB_KEY_TYPES_FIELD_NUMBER;
hash = (53 * hash) + getPubKeyTypesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static tendermint.types.Params.ValidatorParams parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.ValidatorParams parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.ValidatorParams parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.ValidatorParams parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.ValidatorParams parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.ValidatorParams parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.ValidatorParams parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.ValidatorParams 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 tendermint.types.Params.ValidatorParams parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tendermint.types.Params.ValidatorParams 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 tendermint.types.Params.ValidatorParams parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.ValidatorParams 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(tendermint.types.Params.ValidatorParams 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;
}
/**
*
* ValidatorParams restrict the public key types validators can use.
* NOTE: uses ABCI pubkey naming, not Amino names.
*
*
* Protobuf type {@code tendermint.types.ValidatorParams}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tendermint.types.ValidatorParams)
tendermint.types.Params.ValidatorParamsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_ValidatorParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_ValidatorParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.ValidatorParams.class, tendermint.types.Params.ValidatorParams.Builder.class);
}
// Construct using tendermint.types.Params.ValidatorParams.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
pubKeyTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tendermint.types.Params.internal_static_tendermint_types_ValidatorParams_descriptor;
}
@java.lang.Override
public tendermint.types.Params.ValidatorParams getDefaultInstanceForType() {
return tendermint.types.Params.ValidatorParams.getDefaultInstance();
}
@java.lang.Override
public tendermint.types.Params.ValidatorParams build() {
tendermint.types.Params.ValidatorParams result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tendermint.types.Params.ValidatorParams buildPartial() {
tendermint.types.Params.ValidatorParams result = new tendermint.types.Params.ValidatorParams(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
pubKeyTypes_ = pubKeyTypes_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.pubKeyTypes_ = pubKeyTypes_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tendermint.types.Params.ValidatorParams) {
return mergeFrom((tendermint.types.Params.ValidatorParams)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tendermint.types.Params.ValidatorParams other) {
if (other == tendermint.types.Params.ValidatorParams.getDefaultInstance()) return this;
if (!other.pubKeyTypes_.isEmpty()) {
if (pubKeyTypes_.isEmpty()) {
pubKeyTypes_ = other.pubKeyTypes_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePubKeyTypesIsMutable();
pubKeyTypes_.addAll(other.pubKeyTypes_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
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 {
tendermint.types.Params.ValidatorParams parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (tendermint.types.Params.ValidatorParams) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList pubKeyTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensurePubKeyTypesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
pubKeyTypes_ = new com.google.protobuf.LazyStringArrayList(pubKeyTypes_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string pub_key_types = 1;
*/
public com.google.protobuf.ProtocolStringList
getPubKeyTypesList() {
return pubKeyTypes_.getUnmodifiableView();
}
/**
* repeated string pub_key_types = 1;
*/
public int getPubKeyTypesCount() {
return pubKeyTypes_.size();
}
/**
* repeated string pub_key_types = 1;
*/
public java.lang.String getPubKeyTypes(int index) {
return pubKeyTypes_.get(index);
}
/**
* repeated string pub_key_types = 1;
*/
public com.google.protobuf.ByteString
getPubKeyTypesBytes(int index) {
return pubKeyTypes_.getByteString(index);
}
/**
* repeated string pub_key_types = 1;
*/
public Builder setPubKeyTypes(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePubKeyTypesIsMutable();
pubKeyTypes_.set(index, value);
onChanged();
return this;
}
/**
* repeated string pub_key_types = 1;
*/
public Builder addPubKeyTypes(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePubKeyTypesIsMutable();
pubKeyTypes_.add(value);
onChanged();
return this;
}
/**
* repeated string pub_key_types = 1;
*/
public Builder addAllPubKeyTypes(
java.lang.Iterable values) {
ensurePubKeyTypesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, pubKeyTypes_);
onChanged();
return this;
}
/**
* repeated string pub_key_types = 1;
*/
public Builder clearPubKeyTypes() {
pubKeyTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string pub_key_types = 1;
*/
public Builder addPubKeyTypesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensurePubKeyTypesIsMutable();
pubKeyTypes_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tendermint.types.ValidatorParams)
}
// @@protoc_insertion_point(class_scope:tendermint.types.ValidatorParams)
private static final tendermint.types.Params.ValidatorParams DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tendermint.types.Params.ValidatorParams();
}
public static tendermint.types.Params.ValidatorParams getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ValidatorParams parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ValidatorParams(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tendermint.types.Params.ValidatorParams getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface VersionParamsOrBuilder extends
// @@protoc_insertion_point(interface_extends:tendermint.types.VersionParams)
com.google.protobuf.MessageOrBuilder {
/**
* uint64 app_version = 1;
*/
long getAppVersion();
}
/**
*
* VersionParams contains the ABCI application version.
*
*
* Protobuf type {@code tendermint.types.VersionParams}
*/
public static final class VersionParams extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tendermint.types.VersionParams)
VersionParamsOrBuilder {
private static final long serialVersionUID = 0L;
// Use VersionParams.newBuilder() to construct.
private VersionParams(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VersionParams() {
appVersion_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VersionParams(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
appVersion_ = input.readUInt64();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_VersionParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_VersionParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.VersionParams.class, tendermint.types.Params.VersionParams.Builder.class);
}
public static final int APP_VERSION_FIELD_NUMBER = 1;
private long appVersion_;
/**
* uint64 app_version = 1;
*/
public long getAppVersion() {
return appVersion_;
}
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 (appVersion_ != 0L) {
output.writeUInt64(1, appVersion_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (appVersion_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, appVersion_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tendermint.types.Params.VersionParams)) {
return super.equals(obj);
}
tendermint.types.Params.VersionParams other = (tendermint.types.Params.VersionParams) obj;
boolean result = true;
result = result && (getAppVersion()
== other.getAppVersion());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + APP_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAppVersion());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static tendermint.types.Params.VersionParams parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.VersionParams parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.VersionParams parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.VersionParams parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.VersionParams parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.VersionParams parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.VersionParams parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.VersionParams 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 tendermint.types.Params.VersionParams parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tendermint.types.Params.VersionParams 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 tendermint.types.Params.VersionParams parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.VersionParams 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(tendermint.types.Params.VersionParams 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;
}
/**
*
* VersionParams contains the ABCI application version.
*
*
* Protobuf type {@code tendermint.types.VersionParams}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tendermint.types.VersionParams)
tendermint.types.Params.VersionParamsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_VersionParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_VersionParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.VersionParams.class, tendermint.types.Params.VersionParams.Builder.class);
}
// Construct using tendermint.types.Params.VersionParams.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
appVersion_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tendermint.types.Params.internal_static_tendermint_types_VersionParams_descriptor;
}
@java.lang.Override
public tendermint.types.Params.VersionParams getDefaultInstanceForType() {
return tendermint.types.Params.VersionParams.getDefaultInstance();
}
@java.lang.Override
public tendermint.types.Params.VersionParams build() {
tendermint.types.Params.VersionParams result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tendermint.types.Params.VersionParams buildPartial() {
tendermint.types.Params.VersionParams result = new tendermint.types.Params.VersionParams(this);
result.appVersion_ = appVersion_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tendermint.types.Params.VersionParams) {
return mergeFrom((tendermint.types.Params.VersionParams)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tendermint.types.Params.VersionParams other) {
if (other == tendermint.types.Params.VersionParams.getDefaultInstance()) return this;
if (other.getAppVersion() != 0L) {
setAppVersion(other.getAppVersion());
}
this.mergeUnknownFields(other.unknownFields);
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 {
tendermint.types.Params.VersionParams parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (tendermint.types.Params.VersionParams) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long appVersion_ ;
/**
* uint64 app_version = 1;
*/
public long getAppVersion() {
return appVersion_;
}
/**
* uint64 app_version = 1;
*/
public Builder setAppVersion(long value) {
appVersion_ = value;
onChanged();
return this;
}
/**
* uint64 app_version = 1;
*/
public Builder clearAppVersion() {
appVersion_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tendermint.types.VersionParams)
}
// @@protoc_insertion_point(class_scope:tendermint.types.VersionParams)
private static final tendermint.types.Params.VersionParams DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tendermint.types.Params.VersionParams();
}
public static tendermint.types.Params.VersionParams getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VersionParams parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VersionParams(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tendermint.types.Params.VersionParams getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HashedParamsOrBuilder extends
// @@protoc_insertion_point(interface_extends:tendermint.types.HashedParams)
com.google.protobuf.MessageOrBuilder {
/**
* int64 block_max_bytes = 1;
*/
long getBlockMaxBytes();
/**
* int64 block_max_gas = 2;
*/
long getBlockMaxGas();
}
/**
*
* HashedParams is a subset of ConsensusParams.
* It is hashed into the Header.ConsensusHash.
*
*
* Protobuf type {@code tendermint.types.HashedParams}
*/
public static final class HashedParams extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tendermint.types.HashedParams)
HashedParamsOrBuilder {
private static final long serialVersionUID = 0L;
// Use HashedParams.newBuilder() to construct.
private HashedParams(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HashedParams() {
blockMaxBytes_ = 0L;
blockMaxGas_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HashedParams(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
blockMaxBytes_ = input.readInt64();
break;
}
case 16: {
blockMaxGas_ = input.readInt64();
break;
}
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_HashedParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_HashedParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.HashedParams.class, tendermint.types.Params.HashedParams.Builder.class);
}
public static final int BLOCK_MAX_BYTES_FIELD_NUMBER = 1;
private long blockMaxBytes_;
/**
* int64 block_max_bytes = 1;
*/
public long getBlockMaxBytes() {
return blockMaxBytes_;
}
public static final int BLOCK_MAX_GAS_FIELD_NUMBER = 2;
private long blockMaxGas_;
/**
* int64 block_max_gas = 2;
*/
public long getBlockMaxGas() {
return blockMaxGas_;
}
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 (blockMaxBytes_ != 0L) {
output.writeInt64(1, blockMaxBytes_);
}
if (blockMaxGas_ != 0L) {
output.writeInt64(2, blockMaxGas_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (blockMaxBytes_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, blockMaxBytes_);
}
if (blockMaxGas_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, blockMaxGas_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tendermint.types.Params.HashedParams)) {
return super.equals(obj);
}
tendermint.types.Params.HashedParams other = (tendermint.types.Params.HashedParams) obj;
boolean result = true;
result = result && (getBlockMaxBytes()
== other.getBlockMaxBytes());
result = result && (getBlockMaxGas()
== other.getBlockMaxGas());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + BLOCK_MAX_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBlockMaxBytes());
hash = (37 * hash) + BLOCK_MAX_GAS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBlockMaxGas());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static tendermint.types.Params.HashedParams parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.HashedParams parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.HashedParams parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.HashedParams parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.HashedParams parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tendermint.types.Params.HashedParams parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tendermint.types.Params.HashedParams parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.HashedParams 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 tendermint.types.Params.HashedParams parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tendermint.types.Params.HashedParams 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 tendermint.types.Params.HashedParams parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tendermint.types.Params.HashedParams 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(tendermint.types.Params.HashedParams 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;
}
/**
*
* HashedParams is a subset of ConsensusParams.
* It is hashed into the Header.ConsensusHash.
*
*
* Protobuf type {@code tendermint.types.HashedParams}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tendermint.types.HashedParams)
tendermint.types.Params.HashedParamsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tendermint.types.Params.internal_static_tendermint_types_HashedParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tendermint.types.Params.internal_static_tendermint_types_HashedParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tendermint.types.Params.HashedParams.class, tendermint.types.Params.HashedParams.Builder.class);
}
// Construct using tendermint.types.Params.HashedParams.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
blockMaxBytes_ = 0L;
blockMaxGas_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tendermint.types.Params.internal_static_tendermint_types_HashedParams_descriptor;
}
@java.lang.Override
public tendermint.types.Params.HashedParams getDefaultInstanceForType() {
return tendermint.types.Params.HashedParams.getDefaultInstance();
}
@java.lang.Override
public tendermint.types.Params.HashedParams build() {
tendermint.types.Params.HashedParams result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tendermint.types.Params.HashedParams buildPartial() {
tendermint.types.Params.HashedParams result = new tendermint.types.Params.HashedParams(this);
result.blockMaxBytes_ = blockMaxBytes_;
result.blockMaxGas_ = blockMaxGas_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tendermint.types.Params.HashedParams) {
return mergeFrom((tendermint.types.Params.HashedParams)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tendermint.types.Params.HashedParams other) {
if (other == tendermint.types.Params.HashedParams.getDefaultInstance()) return this;
if (other.getBlockMaxBytes() != 0L) {
setBlockMaxBytes(other.getBlockMaxBytes());
}
if (other.getBlockMaxGas() != 0L) {
setBlockMaxGas(other.getBlockMaxGas());
}
this.mergeUnknownFields(other.unknownFields);
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 {
tendermint.types.Params.HashedParams parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (tendermint.types.Params.HashedParams) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long blockMaxBytes_ ;
/**
* int64 block_max_bytes = 1;
*/
public long getBlockMaxBytes() {
return blockMaxBytes_;
}
/**
* int64 block_max_bytes = 1;
*/
public Builder setBlockMaxBytes(long value) {
blockMaxBytes_ = value;
onChanged();
return this;
}
/**
* int64 block_max_bytes = 1;
*/
public Builder clearBlockMaxBytes() {
blockMaxBytes_ = 0L;
onChanged();
return this;
}
private long blockMaxGas_ ;
/**
* int64 block_max_gas = 2;
*/
public long getBlockMaxGas() {
return blockMaxGas_;
}
/**
* int64 block_max_gas = 2;
*/
public Builder setBlockMaxGas(long value) {
blockMaxGas_ = value;
onChanged();
return this;
}
/**
* int64 block_max_gas = 2;
*/
public Builder clearBlockMaxGas() {
blockMaxGas_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tendermint.types.HashedParams)
}
// @@protoc_insertion_point(class_scope:tendermint.types.HashedParams)
private static final tendermint.types.Params.HashedParams DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tendermint.types.Params.HashedParams();
}
public static tendermint.types.Params.HashedParams getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public HashedParams parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HashedParams(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tendermint.types.Params.HashedParams getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tendermint_types_ConsensusParams_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tendermint_types_ConsensusParams_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tendermint_types_BlockParams_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tendermint_types_BlockParams_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tendermint_types_EvidenceParams_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tendermint_types_EvidenceParams_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tendermint_types_ValidatorParams_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tendermint_types_ValidatorParams_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tendermint_types_VersionParams_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tendermint_types_VersionParams_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_tendermint_types_HashedParams_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_tendermint_types_HashedParams_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\035tendermint/types/params.proto\022\020tenderm" +
"int.types\032\024gogoproto/gogo.proto\032\036google/" +
"protobuf/duration.proto\"\363\001\n\017ConsensusPar" +
"ams\0222\n\005block\030\001 \001(\0132\035.tendermint.types.Bl" +
"ockParamsB\004\310\336\037\000\0228\n\010evidence\030\002 \001(\0132 .tend" +
"ermint.types.EvidenceParamsB\004\310\336\037\000\022:\n\tval" +
"idator\030\003 \001(\0132!.tendermint.types.Validato" +
"rParamsB\004\310\336\037\000\0226\n\007version\030\004 \001(\0132\037.tenderm" +
"int.types.VersionParamsB\004\310\336\037\000\"G\n\013BlockPa" +
"rams\022\021\n\tmax_bytes\030\001 \001(\003\022\017\n\007max_gas\030\002 \001(\003" +
"\022\024\n\014time_iota_ms\030\003 \001(\003\"~\n\016EvidenceParams" +
"\022\032\n\022max_age_num_blocks\030\001 \001(\003\022=\n\020max_age_" +
"duration\030\002 \001(\0132\031.google.protobuf.Duratio" +
"nB\010\310\336\037\000\230\337\037\001\022\021\n\tmax_bytes\030\003 \001(\003\"2\n\017Valida" +
"torParams\022\025\n\rpub_key_types\030\001 \003(\t:\010\270\240\037\001\350\240" +
"\037\001\".\n\rVersionParams\022\023\n\013app_version\030\001 \001(\004" +
":\010\270\240\037\001\350\240\037\001\">\n\014HashedParams\022\027\n\017block_max_" +
"bytes\030\001 \001(\003\022\025\n\rblock_max_gas\030\002 \001(\003B=Z7gi" +
"thub.com/tendermint/tendermint/proto/ten" +
"dermint/types\250\342\036\001b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.GoGoProtos.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
}, assigner);
internal_static_tendermint_types_ConsensusParams_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_tendermint_types_ConsensusParams_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tendermint_types_ConsensusParams_descriptor,
new java.lang.String[] { "Block", "Evidence", "Validator", "Version", });
internal_static_tendermint_types_BlockParams_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_tendermint_types_BlockParams_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tendermint_types_BlockParams_descriptor,
new java.lang.String[] { "MaxBytes", "MaxGas", "TimeIotaMs", });
internal_static_tendermint_types_EvidenceParams_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_tendermint_types_EvidenceParams_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tendermint_types_EvidenceParams_descriptor,
new java.lang.String[] { "MaxAgeNumBlocks", "MaxAgeDuration", "MaxBytes", });
internal_static_tendermint_types_ValidatorParams_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_tendermint_types_ValidatorParams_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tendermint_types_ValidatorParams_descriptor,
new java.lang.String[] { "PubKeyTypes", });
internal_static_tendermint_types_VersionParams_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_tendermint_types_VersionParams_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tendermint_types_VersionParams_descriptor,
new java.lang.String[] { "AppVersion", });
internal_static_tendermint_types_HashedParams_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_tendermint_types_HashedParams_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_tendermint_types_HashedParams_descriptor,
new java.lang.String[] { "BlockMaxBytes", "BlockMaxGas", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.protobuf.GoGoProtos.equal);
registry.add(com.google.protobuf.GoGoProtos.equalAll);
registry.add(com.google.protobuf.GoGoProtos.nullable);
registry.add(com.google.protobuf.GoGoProtos.populate);
registry.add(com.google.protobuf.GoGoProtos.stdduration);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.protobuf.GoGoProtos.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}