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 block size, in bytes.
* Note: must be greater than 0
*
*
* int64 max_bytes = 1;
* @return The maxBytes.
*/
long getMaxBytes();
/**
*
* Max gas per block.
* Note: must be greater or equal to -1
*
*
* int64 max_gas = 2;
* @return The maxGas.
*/
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.
*
*
* int64 time_iota_ms = 3;
* @return The timeIotaMs.
*/
long getTimeIotaMs();
}
/**
*
* 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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BlockParams();
}
@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();
}
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 (!parseUnknownField(
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;
* @return The maxBytes.
*/
@java.lang.Override
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;
* @return The maxGas.
*/
@java.lang.Override
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.
*
* 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 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 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;
* @return The maxBytes.
*/
@java.lang.Override
public long getMaxBytes() {
return maxBytes_;
}
/**
*
* Max block size, in bytes.
* Note: must be greater than 0
*
*
* int64 max_bytes = 1;
* @param value The maxBytes to set.
* @return This builder for chaining.
*/
public Builder setMaxBytes(long value) {
maxBytes_ = value;
onChanged();
return this;
}
/**
*
* Max block size, in bytes.
* Note: must be greater than 0
*
*
* int64 max_bytes = 1;
* @return This builder for chaining.
*/
public Builder clearMaxBytes() {
maxBytes_ = 0L;
onChanged();
return this;
}
private long maxGas_ ;
/**
*
* Max gas per block.
* Note: must be greater or equal to -1
*
*
* int64 max_gas = 2;
* @return The maxGas.
*/
@java.lang.Override
public long getMaxGas() {
return maxGas_;
}
/**
*
* Max gas per block.
* Note: must be greater or equal to -1
*
*
* int64 max_gas = 2;
* @param value The maxGas to set.
* @return This builder for chaining.
*/
public Builder setMaxGas(long value) {
maxGas_ = value;
onChanged();
return this;
}
/**
*
* Max gas per block.
* Note: must be greater or equal to -1
*
*
* int64 max_gas = 2;
* @return This builder for chaining.
*/
public Builder clearMaxGas() {
maxGas_ = 0L;
onChanged();
return this;
}
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;
* @return The timeIotaMs.
*/
@java.lang.Override
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.
*
*
* int64 time_iota_ms = 3;
* @param value The timeIotaMs to set.
* @return This builder for chaining.
*/
public Builder setTimeIotaMs(long value) {
timeIotaMs_ = value;
onChanged();
return this;
}
/**
*
* 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;
* @return This builder for chaining.
*/
public Builder clearTimeIotaMs() {
timeIotaMs_ = 0L;
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: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}.
*
*
* int64 max_age_num_blocks = 1;
* @return The maxAgeNumBlocks.
*/
long getMaxAgeNumBlocks();
/**
*
* 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];
* @return Whether the maxAgeDuration field is set.
*/
boolean hasMaxAgeDuration();
/**
*
* 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;
* @return The maxBytes.
*/
long getMaxBytes();
}
/**
*
* 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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EvidenceParams();
}
@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();
}
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 (!parseUnknownField(
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;
* @return The maxAgeNumBlocks.
*/
@java.lang.Override
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).
*
*
* .google.protobuf.Duration max_age_duration = 2 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];
* @return Whether the maxAgeDuration field is set.
*/
@java.lang.Override
public boolean hasMaxAgeDuration() {
return maxAgeDuration_ != null;
}
/**
*
* 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];
*/
@java.lang.Override
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;
* @return The maxBytes.
*/
@java.lang.Override
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;
if (getMaxAgeNumBlocks()
!= other.getMaxAgeNumBlocks()) return false;
if (hasMaxAgeDuration() != other.hasMaxAgeDuration()) return false;
if (hasMaxAgeDuration()) {
if (!getMaxAgeDuration()
.equals(other.getMaxAgeDuration())) return false;
}
if (getMaxBytes()
!= other.getMaxBytes()) return false;
if (!unknownFields.equals(other.unknownFields)) 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) + 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 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 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;
* @return The maxAgeNumBlocks.
*/
@java.lang.Override
public long getMaxAgeNumBlocks() {
return maxAgeNumBlocks_;
}
/**
*
* Max age of evidence, in blocks.
* The basic formula for calculating this is: MaxAgeDuration / {average block
* time}.
*
*
* int64 max_age_num_blocks = 1;
* @param value The maxAgeNumBlocks to set.
* @return This builder for chaining.
*/
public Builder setMaxAgeNumBlocks(long value) {
maxAgeNumBlocks_ = value;
onChanged();
return this;
}
/**
*
* 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).
*
*
* .google.protobuf.Duration max_age_duration = 2 [(.gogoproto.nullable) = false, (.gogoproto.stdduration) = true];
* @return Whether the maxAgeDuration field is set.
*/
public boolean hasMaxAgeDuration() {
return maxAgeDurationBuilder_ != null || maxAgeDuration_ != null;
}
/**
*
* 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;
* @return The maxBytes.
*/
@java.lang.Override
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
*
*
* int64 max_bytes = 3;
* @param value The maxBytes to set.
* @return This builder for chaining.
*/
public Builder setMaxBytes(long value) {
maxBytes_ = value;
onChanged();
return this;
}
/**
*
* 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;
* @return This builder for chaining.
*/
public Builder clearMaxBytes() {
maxBytes_ = 0L;
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: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;
* @return A list containing the pubKeyTypes.
*/
java.util.List
getPubKeyTypesList();
/**
* repeated string pub_key_types = 1;
* @return The count of pubKeyTypes.
*/
int getPubKeyTypesCount();
/**
* repeated string pub_key_types = 1;
* @param index The index of the element to return.
* @return The pubKeyTypes at the given index.
*/
java.lang.String getPubKeyTypes(int index);
/**
* repeated string pub_key_types = 1;
* @param index The index of the value to return.
* @return The bytes of the pubKeyTypes at the given index.
*/
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
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ValidatorParams();
}
@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) != 0)) {
pubKeyTypes_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
pubKeyTypes_.add(s);
break;
}
default: {
if (!parseUnknownField(
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) != 0)) {
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;
* @return A list containing the pubKeyTypes.
*/
public com.google.protobuf.ProtocolStringList
getPubKeyTypesList() {
return pubKeyTypes_;
}
/**
* repeated string pub_key_types = 1;
* @return The count of pubKeyTypes.
*/
public int getPubKeyTypesCount() {
return pubKeyTypes_.size();
}
/**
* repeated string pub_key_types = 1;
* @param index The index of the element to return.
* @return The pubKeyTypes at the given index.
*/
public java.lang.String getPubKeyTypes(int index) {
return pubKeyTypes_.get(index);
}
/**
* repeated string pub_key_types = 1;
* @param index The index of the value to return.
* @return The bytes of the pubKeyTypes at the given index.
*/
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;
if (!getPubKeyTypesList()
.equals(other.getPubKeyTypesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@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) != 0)) {
pubKeyTypes_ = pubKeyTypes_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.pubKeyTypes_ = pubKeyTypes_;
onBuilt();
return result;
}
@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 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) != 0)) {
pubKeyTypes_ = new com.google.protobuf.LazyStringArrayList(pubKeyTypes_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string pub_key_types = 1;
* @return A list containing the pubKeyTypes.
*/
public com.google.protobuf.ProtocolStringList
getPubKeyTypesList() {
return pubKeyTypes_.getUnmodifiableView();
}
/**
* repeated string pub_key_types = 1;
* @return The count of pubKeyTypes.
*/
public int getPubKeyTypesCount() {
return pubKeyTypes_.size();
}
/**
* repeated string pub_key_types = 1;
* @param index The index of the element to return.
* @return The pubKeyTypes at the given index.
*/
public java.lang.String getPubKeyTypes(int index) {
return pubKeyTypes_.get(index);
}
/**
* repeated string pub_key_types = 1;
* @param index The index of the value to return.
* @return The bytes of the pubKeyTypes at the given index.
*/
public com.google.protobuf.ByteString
getPubKeyTypesBytes(int index) {
return pubKeyTypes_.getByteString(index);
}
/**
* repeated string pub_key_types = 1;
* @param index The index to set the value at.
* @param value The pubKeyTypes to set.
* @return This builder for chaining.
*/
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;
* @param value The pubKeyTypes to add.
* @return This builder for chaining.
*/
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;
* @param values The pubKeyTypes to add.
* @return This builder for chaining.
*/
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;
* @return This builder for chaining.
*/
public Builder clearPubKeyTypes() {
pubKeyTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string pub_key_types = 1;
* @param value The bytes of the pubKeyTypes to add.
* @return This builder for chaining.
*/
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.setUnknownFields(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;
* @return The appVersion.
*/
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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VersionParams();
}
@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();
}
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 (!parseUnknownField(
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;
* @return The appVersion.
*/
@java.lang.Override
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;
if (getAppVersion()
!= other.getAppVersion()) return false;
if (!unknownFields.equals(other.unknownFields)) 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) + 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 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 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;
* @return The appVersion.
*/
@java.lang.Override
public long getAppVersion() {
return appVersion_;
}
/**
* uint64 app_version = 1;
* @param value The appVersion to set.
* @return This builder for chaining.
*/
public Builder setAppVersion(long value) {
appVersion_ = value;
onChanged();
return this;
}
/**
* uint64 app_version = 1;
* @return This builder for chaining.
*/
public Builder clearAppVersion() {
appVersion_ = 0L;
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: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;
* @return The blockMaxBytes.
*/
long getBlockMaxBytes();
/**
* int64 block_max_gas = 2;
* @return The blockMaxGas.
*/
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() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HashedParams();
}
@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();
}
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 (!parseUnknownField(
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;
* @return The blockMaxBytes.
*/
@java.lang.Override
public long getBlockMaxBytes() {
return blockMaxBytes_;
}
public static final int BLOCK_MAX_GAS_FIELD_NUMBER = 2;
private long blockMaxGas_;
/**
* int64 block_max_gas = 2;
* @return The blockMaxGas.
*/
@java.lang.Override
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;
if (getBlockMaxBytes()
!= other.getBlockMaxBytes()) return false;
if (getBlockMaxGas()
!= other.getBlockMaxGas()) return false;
if (!unknownFields.equals(other.unknownFields)) 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) + 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 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 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;
* @return The blockMaxBytes.
*/
@java.lang.Override
public long getBlockMaxBytes() {
return blockMaxBytes_;
}
/**
* int64 block_max_bytes = 1;
* @param value The blockMaxBytes to set.
* @return This builder for chaining.
*/
public Builder setBlockMaxBytes(long value) {
blockMaxBytes_ = value;
onChanged();
return this;
}
/**
* int64 block_max_bytes = 1;
* @return This builder for chaining.
*/
public Builder clearBlockMaxBytes() {
blockMaxBytes_ = 0L;
onChanged();
return this;
}
private long blockMaxGas_ ;
/**
* int64 block_max_gas = 2;
* @return The blockMaxGas.
*/
@java.lang.Override
public long getBlockMaxGas() {
return blockMaxGas_;
}
/**
* int64 block_max_gas = 2;
* @param value The blockMaxGas to set.
* @return This builder for chaining.
*/
public Builder setBlockMaxGas(long value) {
blockMaxGas_ = value;
onChanged();
return this;
}
/**
* int64 block_max_gas = 2;
* @return This builder for chaining.
*/
public Builder clearBlockMaxGas() {
blockMaxGas_ = 0L;
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: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 = {
"\n3github.com/tendermint/tendermint/types" +
"/params.proto\022\020tendermint.types\032-github." +
"com/gogo/protobuf/gogoproto/gogo.proto\032\036" +
"google/protobuf/duration.proto\"\363\001\n\017Conse" +
"nsusParams\0222\n\005block\030\001 \001(\0132\035.tendermint.t" +
"ypes.BlockParamsB\004\310\336\037\000\0228\n\010evidence\030\002 \001(\013" +
"2 .tendermint.types.EvidenceParamsB\004\310\336\037\000" +
"\022:\n\tvalidator\030\003 \001(\0132!.tendermint.types.V" +
"alidatorParamsB\004\310\336\037\000\0226\n\007version\030\004 \001(\0132\037." +
"tendermint.types.VersionParamsB\004\310\336\037\000\"G\n\013" +
"BlockParams\022\021\n\tmax_bytes\030\001 \001(\003\022\017\n\007max_ga" +
"s\030\002 \001(\003\022\024\n\014time_iota_ms\030\003 \001(\003\"~\n\016Evidenc" +
"eParams\022\032\n\022max_age_num_blocks\030\001 \001(\003\022=\n\020m" +
"ax_age_duration\030\002 \001(\0132\031.google.protobuf." +
"DurationB\010\310\336\037\000\230\337\037\001\022\021\n\tmax_bytes\030\003 \001(\003\"2\n" +
"\017ValidatorParams\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_versio" +
"n\030\001 \001(\004:\010\270\240\037\001\350\240\037\001\">\n\014HashedParams\022\027\n\017blo" +
"ck_max_bytes\030\001 \001(\003\022\025\n\rblock_max_gas\030\002 \001(" +
"\003B=Z7github.com/tendermint/tendermint/pr" +
"oto/tendermint/types\250\342\036\001b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
io.hotmoka.protobuf.tendermint.GoGoProtos.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
});
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(io.hotmoka.protobuf.tendermint.GoGoProtos.equal);
registry.add(io.hotmoka.protobuf.tendermint.GoGoProtos.equalAll);
registry.add(io.hotmoka.protobuf.tendermint.GoGoProtos.nullable);
registry.add(io.hotmoka.protobuf.tendermint.GoGoProtos.populate);
registry.add(io.hotmoka.protobuf.tendermint.GoGoProtos.stdduration);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
io.hotmoka.protobuf.tendermint.GoGoProtos.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}