From 0dddea389423cfb174a0c1c037869d086064f57e Mon Sep 17 00:00:00 2001 From: linhui Date: Mon, 23 Mar 2020 02:29:38 +0800 Subject: [PATCH 01/56] add msg --- .../aelf/protobuf/proto/transaction_fee.proto | 41 +++++++++++++++++++ .../utils/TransactionResultDtoExtension.java | 11 +++++ 2 files changed, 52 insertions(+) create mode 100644 AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto create mode 100644 AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto new file mode 100644 index 0000000..023f315 --- /dev/null +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; + +package client; + +import "options.proto"; + +option csharp_namespace = "AElf.Client.MultiToken"; + +// Messages + +message TransactionSizeFeeSymbols +{ + repeated TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; +} + +message TransactionSizeFeeSymbol +{ + string token_symbol = 1; + sint32 base_token_weight = 2; + sint32 added_token_weight = 3; +} + +// Events + +message TransactionFeeCharged { + option (client.is_event) = true; + string symbol = 1; + sint64 amount = 2; +} + +message ResourceTokenCharged { + option (client.is_event) = true; + string symbol = 1; + sint64 amount = 2; +} + +message ResourceTokenOwned { + option (client.is_event) = true; + string symbol = 1; + sint64 amount = 2; +} \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java b/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java new file mode 100644 index 0000000..848ba4a --- /dev/null +++ b/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java @@ -0,0 +1,11 @@ +package io.aelf.utils; + +/** + * @author linhui linhui@tydic.com + * @title: TransactionResultDtoExtension + * @description: TODO + * @date 2020/3/230:40 + */ +public class TransactionResultDtoExtension { + +} From 1f7ed7d2038a5cbec7a9dd6898a2d76fa80ab275 Mon Sep 17 00:00:00 2001 From: linhui Date: Mon, 23 Mar 2020 02:30:03 +0800 Subject: [PATCH 02/56] add msg --- .../java/io/aelf/protobuf/generated/Core.java | 609 +----------------- .../java/io/aelf/protobuf/proto/core.proto | 3 - .../aelf/protobuf/proto/transaction_fee.proto | 15 +- .../utils/TransactionResultDtoExtension.java | 26 + .../java/io/aelf/test/BlockChainSdkTest.java | 15 +- 5 files changed, 71 insertions(+), 597 deletions(-) diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/Core.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/Core.java index 81600fb..9e3c864 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/Core.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/Core.java @@ -1532,48 +1532,6 @@ io.aelf.protobuf.generated.Core.LogEventOrBuilder getLogsOrBuilder( */ com.google.protobuf.ByteString getErrorBytes(); - - /** - * string readable_return_value = 11; - * @return The readableReturnValue. - */ - java.lang.String getReadableReturnValue(); - /** - * string readable_return_value = 11; - * @return The bytes for readableReturnValue. - */ - com.google.protobuf.ByteString - getReadableReturnValueBytes(); - - /** - * .TransactionFee transaction_fee = 12; - * @return Whether the transactionFee field is set. - */ - boolean hasTransactionFee(); - /** - * .TransactionFee transaction_fee = 12; - * @return The transactionFee. - */ - io.aelf.protobuf.generated.Core.TransactionFee getTransactionFee(); - /** - * .TransactionFee transaction_fee = 12; - */ - io.aelf.protobuf.generated.Core.TransactionFeeOrBuilder getTransactionFeeOrBuilder(); - - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - * @return Whether the consumedResourceTokens field is set. - */ - boolean hasConsumedResourceTokens(); - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - * @return The consumedResourceTokens. - */ - io.aelf.protobuf.generated.Core.ConsumedResourceTokens getConsumedResourceTokens(); - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - */ - io.aelf.protobuf.generated.Core.ConsumedResourceTokensOrBuilder getConsumedResourceTokensOrBuilder(); } /** * Protobuf type {@code TransactionResult} @@ -1593,7 +1551,6 @@ private TransactionResult() { bloom_ = com.google.protobuf.ByteString.EMPTY; returnValue_ = com.google.protobuf.ByteString.EMPTY; error_ = ""; - readableReturnValue_ = ""; } @java.lang.Override @@ -1707,38 +1664,6 @@ private TransactionResult( error_ = s; break; } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - - readableReturnValue_ = s; - break; - } - case 98: { - io.aelf.protobuf.generated.Core.TransactionFee.Builder subBuilder = null; - if (transactionFee_ != null) { - subBuilder = transactionFee_.toBuilder(); - } - transactionFee_ = input.readMessage(io.aelf.protobuf.generated.Core.TransactionFee.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transactionFee_); - transactionFee_ = subBuilder.buildPartial(); - } - - break; - } - case 106: { - io.aelf.protobuf.generated.Core.ConsumedResourceTokens.Builder subBuilder = null; - if (consumedResourceTokens_ != null) { - subBuilder = consumedResourceTokens_.toBuilder(); - } - consumedResourceTokens_ = input.readMessage(io.aelf.protobuf.generated.Core.ConsumedResourceTokens.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(consumedResourceTokens_); - consumedResourceTokens_ = subBuilder.buildPartial(); - } - - break; - } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -1981,88 +1906,6 @@ public java.lang.String getError() { } } - public static final int READABLE_RETURN_VALUE_FIELD_NUMBER = 11; - private volatile java.lang.Object readableReturnValue_; - /** - * string readable_return_value = 11; - * @return The readableReturnValue. - */ - public java.lang.String getReadableReturnValue() { - java.lang.Object ref = readableReturnValue_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - readableReturnValue_ = s; - return s; - } - } - /** - * string readable_return_value = 11; - * @return The bytes for readableReturnValue. - */ - public com.google.protobuf.ByteString - getReadableReturnValueBytes() { - java.lang.Object ref = readableReturnValue_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - readableReturnValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TRANSACTION_FEE_FIELD_NUMBER = 12; - private io.aelf.protobuf.generated.Core.TransactionFee transactionFee_; - /** - * .TransactionFee transaction_fee = 12; - * @return Whether the transactionFee field is set. - */ - public boolean hasTransactionFee() { - return transactionFee_ != null; - } - /** - * .TransactionFee transaction_fee = 12; - * @return The transactionFee. - */ - public io.aelf.protobuf.generated.Core.TransactionFee getTransactionFee() { - return transactionFee_ == null ? io.aelf.protobuf.generated.Core.TransactionFee.getDefaultInstance() : transactionFee_; - } - /** - * .TransactionFee transaction_fee = 12; - */ - public io.aelf.protobuf.generated.Core.TransactionFeeOrBuilder getTransactionFeeOrBuilder() { - return getTransactionFee(); - } - - public static final int CONSUMED_RESOURCE_TOKENS_FIELD_NUMBER = 13; - private io.aelf.protobuf.generated.Core.ConsumedResourceTokens consumedResourceTokens_; - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - * @return Whether the consumedResourceTokens field is set. - */ - public boolean hasConsumedResourceTokens() { - return consumedResourceTokens_ != null; - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - * @return The consumedResourceTokens. - */ - public io.aelf.protobuf.generated.Core.ConsumedResourceTokens getConsumedResourceTokens() { - return consumedResourceTokens_ == null ? io.aelf.protobuf.generated.Core.ConsumedResourceTokens.getDefaultInstance() : consumedResourceTokens_; - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - */ - public io.aelf.protobuf.generated.Core.ConsumedResourceTokensOrBuilder getConsumedResourceTokensOrBuilder() { - return getConsumedResourceTokens(); - } - private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -2107,15 +1950,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getErrorBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, error_); } - if (!getReadableReturnValueBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, readableReturnValue_); - } - if (transactionFee_ != null) { - output.writeMessage(12, getTransactionFee()); - } - if (consumedResourceTokens_ != null) { - output.writeMessage(13, getConsumedResourceTokens()); - } unknownFields.writeTo(output); } @@ -2164,17 +1998,6 @@ public int getSerializedSize() { if (!getErrorBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, error_); } - if (!getReadableReturnValueBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, readableReturnValue_); - } - if (transactionFee_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getTransactionFee()); - } - if (consumedResourceTokens_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getConsumedResourceTokens()); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2218,18 +2041,6 @@ public boolean equals(final java.lang.Object obj) { } if (!getError() .equals(other.getError())) return false; - if (!getReadableReturnValue() - .equals(other.getReadableReturnValue())) return false; - if (hasTransactionFee() != other.hasTransactionFee()) return false; - if (hasTransactionFee()) { - if (!getTransactionFee() - .equals(other.getTransactionFee())) return false; - } - if (hasConsumedResourceTokens() != other.hasConsumedResourceTokens()) return false; - if (hasConsumedResourceTokens()) { - if (!getConsumedResourceTokens() - .equals(other.getConsumedResourceTokens())) return false; - } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2270,16 +2081,6 @@ public int hashCode() { } hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); - hash = (37 * hash) + READABLE_RETURN_VALUE_FIELD_NUMBER; - hash = (53 * hash) + getReadableReturnValue().hashCode(); - if (hasTransactionFee()) { - hash = (37 * hash) + TRANSACTION_FEE_FIELD_NUMBER; - hash = (53 * hash) + getTransactionFee().hashCode(); - } - if (hasConsumedResourceTokens()) { - hash = (37 * hash) + CONSUMED_RESOURCE_TOKENS_FIELD_NUMBER; - hash = (53 * hash) + getConsumedResourceTokens().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -2450,20 +2251,6 @@ public Builder clear() { } error_ = ""; - readableReturnValue_ = ""; - - if (transactionFeeBuilder_ == null) { - transactionFee_ = null; - } else { - transactionFee_ = null; - transactionFeeBuilder_ = null; - } - if (consumedResourceTokensBuilder_ == null) { - consumedResourceTokens_ = null; - } else { - consumedResourceTokens_ = null; - consumedResourceTokensBuilder_ = null; - } return this; } @@ -2521,17 +2308,6 @@ public io.aelf.protobuf.generated.Core.TransactionResult buildPartial() { result.stateHash_ = stateHashBuilder_.build(); } result.error_ = error_; - result.readableReturnValue_ = readableReturnValue_; - if (transactionFeeBuilder_ == null) { - result.transactionFee_ = transactionFee_; - } else { - result.transactionFee_ = transactionFeeBuilder_.build(); - } - if (consumedResourceTokensBuilder_ == null) { - result.consumedResourceTokens_ = consumedResourceTokens_; - } else { - result.consumedResourceTokens_ = consumedResourceTokensBuilder_.build(); - } onBuilt(); return result; } @@ -2634,16 +2410,6 @@ public Builder mergeFrom(io.aelf.protobuf.generated.Core.TransactionResult other error_ = other.error_; onChanged(); } - if (!other.getReadableReturnValue().isEmpty()) { - readableReturnValue_ = other.readableReturnValue_; - onChanged(); - } - if (other.hasTransactionFee()) { - mergeTransactionFee(other.getTransactionFee()); - } - if (other.hasConsumedResourceTokens()) { - mergeConsumedResourceTokens(other.getConsumedResourceTokens()); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3544,320 +3310,6 @@ public Builder setErrorBytes( onChanged(); return this; } - - private java.lang.Object readableReturnValue_ = ""; - /** - * string readable_return_value = 11; - * @return The readableReturnValue. - */ - public java.lang.String getReadableReturnValue() { - java.lang.Object ref = readableReturnValue_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - readableReturnValue_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * string readable_return_value = 11; - * @return The bytes for readableReturnValue. - */ - public com.google.protobuf.ByteString - getReadableReturnValueBytes() { - java.lang.Object ref = readableReturnValue_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - readableReturnValue_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * string readable_return_value = 11; - * @param value The readableReturnValue to set. - * @return This builder for chaining. - */ - public Builder setReadableReturnValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - readableReturnValue_ = value; - onChanged(); - return this; - } - /** - * string readable_return_value = 11; - * @return This builder for chaining. - */ - public Builder clearReadableReturnValue() { - - readableReturnValue_ = getDefaultInstance().getReadableReturnValue(); - onChanged(); - return this; - } - /** - * string readable_return_value = 11; - * @param value The bytes for readableReturnValue to set. - * @return This builder for chaining. - */ - public Builder setReadableReturnValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - readableReturnValue_ = value; - onChanged(); - return this; - } - - private io.aelf.protobuf.generated.Core.TransactionFee transactionFee_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Core.TransactionFee, io.aelf.protobuf.generated.Core.TransactionFee.Builder, io.aelf.protobuf.generated.Core.TransactionFeeOrBuilder> transactionFeeBuilder_; - /** - * .TransactionFee transaction_fee = 12; - * @return Whether the transactionFee field is set. - */ - public boolean hasTransactionFee() { - return transactionFeeBuilder_ != null || transactionFee_ != null; - } - /** - * .TransactionFee transaction_fee = 12; - * @return The transactionFee. - */ - public io.aelf.protobuf.generated.Core.TransactionFee getTransactionFee() { - if (transactionFeeBuilder_ == null) { - return transactionFee_ == null ? io.aelf.protobuf.generated.Core.TransactionFee.getDefaultInstance() : transactionFee_; - } else { - return transactionFeeBuilder_.getMessage(); - } - } - /** - * .TransactionFee transaction_fee = 12; - */ - public Builder setTransactionFee(io.aelf.protobuf.generated.Core.TransactionFee value) { - if (transactionFeeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - transactionFee_ = value; - onChanged(); - } else { - transactionFeeBuilder_.setMessage(value); - } - - return this; - } - /** - * .TransactionFee transaction_fee = 12; - */ - public Builder setTransactionFee( - io.aelf.protobuf.generated.Core.TransactionFee.Builder builderForValue) { - if (transactionFeeBuilder_ == null) { - transactionFee_ = builderForValue.build(); - onChanged(); - } else { - transactionFeeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .TransactionFee transaction_fee = 12; - */ - public Builder mergeTransactionFee(io.aelf.protobuf.generated.Core.TransactionFee value) { - if (transactionFeeBuilder_ == null) { - if (transactionFee_ != null) { - transactionFee_ = - io.aelf.protobuf.generated.Core.TransactionFee.newBuilder(transactionFee_).mergeFrom(value).buildPartial(); - } else { - transactionFee_ = value; - } - onChanged(); - } else { - transactionFeeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .TransactionFee transaction_fee = 12; - */ - public Builder clearTransactionFee() { - if (transactionFeeBuilder_ == null) { - transactionFee_ = null; - onChanged(); - } else { - transactionFee_ = null; - transactionFeeBuilder_ = null; - } - - return this; - } - /** - * .TransactionFee transaction_fee = 12; - */ - public io.aelf.protobuf.generated.Core.TransactionFee.Builder getTransactionFeeBuilder() { - - onChanged(); - return getTransactionFeeFieldBuilder().getBuilder(); - } - /** - * .TransactionFee transaction_fee = 12; - */ - public io.aelf.protobuf.generated.Core.TransactionFeeOrBuilder getTransactionFeeOrBuilder() { - if (transactionFeeBuilder_ != null) { - return transactionFeeBuilder_.getMessageOrBuilder(); - } else { - return transactionFee_ == null ? - io.aelf.protobuf.generated.Core.TransactionFee.getDefaultInstance() : transactionFee_; - } - } - /** - * .TransactionFee transaction_fee = 12; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Core.TransactionFee, io.aelf.protobuf.generated.Core.TransactionFee.Builder, io.aelf.protobuf.generated.Core.TransactionFeeOrBuilder> - getTransactionFeeFieldBuilder() { - if (transactionFeeBuilder_ == null) { - transactionFeeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Core.TransactionFee, io.aelf.protobuf.generated.Core.TransactionFee.Builder, io.aelf.protobuf.generated.Core.TransactionFeeOrBuilder>( - getTransactionFee(), - getParentForChildren(), - isClean()); - transactionFee_ = null; - } - return transactionFeeBuilder_; - } - - private io.aelf.protobuf.generated.Core.ConsumedResourceTokens consumedResourceTokens_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Core.ConsumedResourceTokens, io.aelf.protobuf.generated.Core.ConsumedResourceTokens.Builder, io.aelf.protobuf.generated.Core.ConsumedResourceTokensOrBuilder> consumedResourceTokensBuilder_; - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - * @return Whether the consumedResourceTokens field is set. - */ - public boolean hasConsumedResourceTokens() { - return consumedResourceTokensBuilder_ != null || consumedResourceTokens_ != null; - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - * @return The consumedResourceTokens. - */ - public io.aelf.protobuf.generated.Core.ConsumedResourceTokens getConsumedResourceTokens() { - if (consumedResourceTokensBuilder_ == null) { - return consumedResourceTokens_ == null ? io.aelf.protobuf.generated.Core.ConsumedResourceTokens.getDefaultInstance() : consumedResourceTokens_; - } else { - return consumedResourceTokensBuilder_.getMessage(); - } - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - */ - public Builder setConsumedResourceTokens(io.aelf.protobuf.generated.Core.ConsumedResourceTokens value) { - if (consumedResourceTokensBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - consumedResourceTokens_ = value; - onChanged(); - } else { - consumedResourceTokensBuilder_.setMessage(value); - } - - return this; - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - */ - public Builder setConsumedResourceTokens( - io.aelf.protobuf.generated.Core.ConsumedResourceTokens.Builder builderForValue) { - if (consumedResourceTokensBuilder_ == null) { - consumedResourceTokens_ = builderForValue.build(); - onChanged(); - } else { - consumedResourceTokensBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - */ - public Builder mergeConsumedResourceTokens(io.aelf.protobuf.generated.Core.ConsumedResourceTokens value) { - if (consumedResourceTokensBuilder_ == null) { - if (consumedResourceTokens_ != null) { - consumedResourceTokens_ = - io.aelf.protobuf.generated.Core.ConsumedResourceTokens.newBuilder(consumedResourceTokens_).mergeFrom(value).buildPartial(); - } else { - consumedResourceTokens_ = value; - } - onChanged(); - } else { - consumedResourceTokensBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - */ - public Builder clearConsumedResourceTokens() { - if (consumedResourceTokensBuilder_ == null) { - consumedResourceTokens_ = null; - onChanged(); - } else { - consumedResourceTokens_ = null; - consumedResourceTokensBuilder_ = null; - } - - return this; - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - */ - public io.aelf.protobuf.generated.Core.ConsumedResourceTokens.Builder getConsumedResourceTokensBuilder() { - - onChanged(); - return getConsumedResourceTokensFieldBuilder().getBuilder(); - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - */ - public io.aelf.protobuf.generated.Core.ConsumedResourceTokensOrBuilder getConsumedResourceTokensOrBuilder() { - if (consumedResourceTokensBuilder_ != null) { - return consumedResourceTokensBuilder_.getMessageOrBuilder(); - } else { - return consumedResourceTokens_ == null ? - io.aelf.protobuf.generated.Core.ConsumedResourceTokens.getDefaultInstance() : consumedResourceTokens_; - } - } - /** - * .ConsumedResourceTokens consumed_resource_tokens = 13; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Core.ConsumedResourceTokens, io.aelf.protobuf.generated.Core.ConsumedResourceTokens.Builder, io.aelf.protobuf.generated.Core.ConsumedResourceTokensOrBuilder> - getConsumedResourceTokensFieldBuilder() { - if (consumedResourceTokensBuilder_ == null) { - consumedResourceTokensBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Core.ConsumedResourceTokens, io.aelf.protobuf.generated.Core.ConsumedResourceTokens.Builder, io.aelf.protobuf.generated.Core.ConsumedResourceTokensOrBuilder>( - getConsumedResourceTokens(), - getParentForChildren(), - isClean()); - consumedResourceTokens_ = null; - } - return consumedResourceTokensBuilder_; - } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9334,43 +8786,40 @@ public io.aelf.protobuf.generated.Core.SInt64Value getDefaultInstanceForType() { "on\022\026\n\004from\030\001 \001(\0132\010.Address\022\024\n\002to\030\002 \001(\0132\010" + ".Address\022\030\n\020ref_block_number\030\003 \001(\003\022\030\n\020re" + "f_block_prefix\030\004 \001(\014\022\023\n\013method_name\030\005 \001(" + - "\t\022\016\n\006params\030\006 \001(\014\022\022\n\tsignature\030\220N \001(\014\"\210\003" + + "\t\022\016\n\006params\030\006 \001(\014\022\022\n\tsignature\030\220N \001(\014\"\204\002" + "\n\021TransactionResult\022\035\n\016transaction_id\030\001 " + "\001(\0132\005.Hash\022(\n\006status\030\002 \001(\0162\030.Transaction" + "ResultStatus\022\027\n\004logs\030\003 \003(\0132\t.LogEvent\022\r\n" + "\005bloom\030\004 \001(\014\022\024\n\014return_value\030\005 \001(\014\022\024\n\014bl" + "ock_number\030\006 \001(\003\022\031\n\nblock_hash\030\007 \001(\0132\005.H" + "ash\022\r\n\005index\030\010 \001(\005\022\031\n\nstate_hash\030\t \001(\0132\005" + - ".Hash\022\r\n\005error\030\n \001(\t\022\035\n\025readable_return_" + - "value\030\013 \001(\t\022(\n\017transaction_fee\030\014 \001(\0132\017.T" + - "ransactionFee\0229\n\030consumed_resource_token" + - "s\030\r \001(\0132\027.ConsumedResourceTokens\"\206\001\n\016Tra" + - "nsactionFee\022)\n\005value\030\001 \003(\0132\032.Transaction" + - "Fee.ValueEntry\022\033\n\023is_failed_to_charge\030\002 " + - "\001(\010\032,\n\nValueEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + - "\002 \001(\022:\0028\001\"\372\001\n\026ConsumedResourceTokens\0221\n\005" + - "value\030\001 \003(\0132\".ConsumedResourceTokens.Val" + - "ueEntry\0223\n\006owning\030\002 \003(\0132#.ConsumedResour" + - "ceTokens.OwningEntry\022\033\n\023is_failed_to_cha" + - "rge\030\003 \001(\010\032,\n\nValueEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + - "value\030\002 \001(\022:\0028\001\032-\n\013OwningEntry\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\022:\0028\001\"Y\n\010LogEvent\022\031\n\007ad" + - "dress\030\001 \001(\0132\010.Address\022\014\n\004name\030\002 \001(\t\022\017\n\007i" + - "ndexed\030\003 \003(\014\022\023\n\013non_indexed\030\004 \001(\014\"\334\002\n\034Tr" + - "ansactionExecutingStateSet\0229\n\006writes\030\001 \003" + - "(\0132).TransactionExecutingStateSet.Writes" + - "Entry\0227\n\005reads\030\002 \003(\0132(.TransactionExecut" + - "ingStateSet.ReadsEntry\022;\n\007deletes\030\003 \003(\0132" + - "*.TransactionExecutingStateSet.DeletesEn" + - "try\032-\n\013WritesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + - "\030\002 \001(\014:\0028\001\032,\n\nReadsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\010:\0028\001\032.\n\014DeletesEntry\022\013\n\003key\030" + - "\001 \001(\t\022\r\n\005value\030\002 \001(\010:\0028\001\"\034\n\013SInt32Value\022" + - "\r\n\005value\030\001 \001(\021\"\034\n\013SInt64Value\022\r\n\005value\030\001" + - " \001(\022*n\n\027TransactionResultStatus\022\017\n\013NOT_E" + - "XISTED\020\000\022\013\n\007PENDING\020\001\022\n\n\006FAILED\020\002\022\t\n\005MIN" + - "ED\020\003\022\020\n\014UNEXECUTABLE\020\004\022\014\n\010CONFLICT\020\005B\034\n\032" + - "io.aelf.protobuf.generatedb\006proto3" + ".Hash\022\r\n\005error\030\n \001(\t\"\206\001\n\016TransactionFee\022" + + ")\n\005value\030\001 \003(\0132\032.TransactionFee.ValueEnt" + + "ry\022\033\n\023is_failed_to_charge\030\002 \001(\010\032,\n\nValue" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\022:\0028\001\"\372\001" + + "\n\026ConsumedResourceTokens\0221\n\005value\030\001 \003(\0132" + + "\".ConsumedResourceTokens.ValueEntry\0223\n\006o" + + "wning\030\002 \003(\0132#.ConsumedResourceTokens.Own" + + "ingEntry\022\033\n\023is_failed_to_charge\030\003 \001(\010\032,\n" + + "\nValueEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\022:" + + "\0028\001\032-\n\013OwningEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\022:\0028\001\"Y\n\010LogEvent\022\031\n\007address\030\001 \001(\0132" + + "\010.Address\022\014\n\004name\030\002 \001(\t\022\017\n\007indexed\030\003 \003(\014" + + "\022\023\n\013non_indexed\030\004 \001(\014\"\334\002\n\034TransactionExe" + + "cutingStateSet\0229\n\006writes\030\001 \003(\0132).Transac" + + "tionExecutingStateSet.WritesEntry\0227\n\005rea" + + "ds\030\002 \003(\0132(.TransactionExecutingStateSet." + + "ReadsEntry\022;\n\007deletes\030\003 \003(\0132*.Transactio" + + "nExecutingStateSet.DeletesEntry\032-\n\013Write" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\032," + + "\n\nReadsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\010" + + ":\0028\001\032.\n\014DeletesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\010:\0028\001\"\034\n\013SInt32Value\022\r\n\005value\030\001 \001" + + "(\021\"\034\n\013SInt64Value\022\r\n\005value\030\001 \001(\022*n\n\027Tran" + + "sactionResultStatus\022\017\n\013NOT_EXISTED\020\000\022\013\n\007" + + "PENDING\020\001\022\n\n\006FAILED\020\002\022\t\n\005MINED\020\003\022\020\n\014UNEX" + + "ECUTABLE\020\004\022\014\n\010CONFLICT\020\005B\034\n\032io.aelf.prot" + + "obuf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -9388,7 +8837,7 @@ public io.aelf.protobuf.generated.Core.SInt64Value getDefaultInstanceForType() { internal_static_TransactionResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_TransactionResult_descriptor, - new java.lang.String[] { "TransactionId", "Status", "Logs", "Bloom", "ReturnValue", "BlockNumber", "BlockHash", "Index", "StateHash", "Error", "ReadableReturnValue", "TransactionFee", "ConsumedResourceTokens", }); + new java.lang.String[] { "TransactionId", "Status", "Logs", "Bloom", "ReturnValue", "BlockNumber", "BlockHash", "Index", "StateHash", "Error", }); internal_static_TransactionFee_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_TransactionFee_fieldAccessorTable = new diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/core.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/core.proto index 388b099..78e1b30 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/core.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/core.proto @@ -34,9 +34,6 @@ message TransactionResult { Hash state_hash = 9; // Merkle proof path for this transaction string error = 10; - string readable_return_value = 11; - TransactionFee transaction_fee = 12; - ConsumedResourceTokens consumed_resource_tokens = 13; } message TransactionFee { diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto index 023f315..4084af8 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto @@ -1,18 +1,10 @@ syntax = "proto3"; - -package client; - -import "options.proto"; - -option csharp_namespace = "AElf.Client.MultiToken"; - -// Messages - +option java_package = "io.aelf.protobuf.generated"; +import "client.proto"; message TransactionSizeFeeSymbols { repeated TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; } - message TransactionSizeFeeSymbol { string token_symbol = 1; @@ -23,19 +15,16 @@ message TransactionSizeFeeSymbol // Events message TransactionFeeCharged { - option (client.is_event) = true; string symbol = 1; sint64 amount = 2; } message ResourceTokenCharged { - option (client.is_event) = true; string symbol = 1; sint64 amount = 2; } message ResourceTokenOwned { - option (client.is_event) = true; string symbol = 1; sint64 amount = 2; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java b/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java index 848ba4a..739fc93 100644 --- a/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java +++ b/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java @@ -1,4 +1,12 @@ package io.aelf.utils; +import com.google.protobuf.ByteString; +import com.google.protobuf.InvalidProtocolBufferException; +import io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged; +import io.aelf.schemas.LogEventDto; +import io.aelf.schemas.TransactionResultDto; +import java.util.HashMap; +import java.util.List; +import org.apache.commons.codec.binary.Base64; /** * @author linhui linhui@tydic.com @@ -8,4 +16,22 @@ */ public class TransactionResultDtoExtension { + public static HashMap GetTransactionFees(TransactionResultDto transactionResultDto) + throws InvalidProtocolBufferException { + HashMap transactionFeesDict = new HashMap(); + List eventLogs = transactionResultDto.getLogs(); + if (eventLogs == null) return transactionFeesDict; + for (LogEventDto log:eventLogs) + { + if (StringUtil.toString(log.getName()).contains("ResourceTokenCharged") || StringUtil.toString(log.getName()).contains("TransactionFeeCharged")) + { + Base64 base64 = new Base64(); + byte[] byteStringMessage=base64.decode(log.getNonIndexed()); + TransactionFeeCharged info = TransactionFeeCharged.parseFrom(ByteString.copyFrom(byteStringMessage)); + transactionFeesDict.put(info.getSymbol(), info.getAmount()); + } + } + + return transactionFeesDict; + } } diff --git a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java index a7752f4..fab312a 100644 --- a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java +++ b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java @@ -20,6 +20,7 @@ import io.aelf.utils.MapEntry; import io.aelf.utils.Maps; import io.aelf.utils.Sha256; +import io.aelf.utils.TransactionResultDtoExtension; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; @@ -31,7 +32,7 @@ public class BlockChainSdkTest { - static final String HTTPURL = "http://127.0.0.1:8200"; + static final String HTTPURL = "http://52.90.147.175:8000"; AElfClient client = null; String privateKey = "cd86ab6347d8e52bbbe8532141fc59ce596268143a308d1d40fedf385528b458"; String address = ""; @@ -283,6 +284,18 @@ public void getTransactionResultsTest() throws Exception { client.getTransactionResults(blockDto.getBlockHash(), 0, 10); } + @Test + public void GetTransactionFeesTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + BlockDto blockDto = client.getBlockByHeight(blockHeight, false); + List transactionResultDtoList = client + .getTransactionResults(blockDto.getBlockHash(), 0, 10); + for (TransactionResultDto transactionResultDtoObj : transactionResultDtoList) { + TransactionResultDtoExtension.GetTransactionFees(transactionResultDtoObj); + } + } + @Test public void getTransactionResultTest() throws Exception { long blockHeight = client.getBlockHeight(); From e0ffee58b49ea2cb817d99ed79d7fa906e9357a8 Mon Sep 17 00:00:00 2001 From: linhui Date: Tue, 24 Mar 2020 01:10:12 +0800 Subject: [PATCH 03/56] add msg --- .../utils/TransactionResultDtoExtension.java | 21 ++++- .../java/io/aelf/test/BlockChainSdkTest.java | 83 ++++++++++++++++--- 2 files changed, 88 insertions(+), 16 deletions(-) diff --git a/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java b/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java index 739fc93..1454017 100644 --- a/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java +++ b/AElfClient/src/main/java/io/aelf/utils/TransactionResultDtoExtension.java @@ -1,6 +1,7 @@ package io.aelf.utils; import com.google.protobuf.ByteString; import com.google.protobuf.InvalidProtocolBufferException; +import io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged; import io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged; import io.aelf.schemas.LogEventDto; import io.aelf.schemas.TransactionResultDto; @@ -16,14 +17,16 @@ */ public class TransactionResultDtoExtension { - public static HashMap GetTransactionFees(TransactionResultDto transactionResultDto) + public static HashMap getTransactionFees(TransactionResultDto transactionResultDto) throws InvalidProtocolBufferException { HashMap transactionFeesDict = new HashMap(); + if(transactionResultDto==null || transactionResultDto.getLogs()==null){ + return transactionFeesDict; + } List eventLogs = transactionResultDto.getLogs(); - if (eventLogs == null) return transactionFeesDict; for (LogEventDto log:eventLogs) { - if (StringUtil.toString(log.getName()).contains("ResourceTokenCharged") || StringUtil.toString(log.getName()).contains("TransactionFeeCharged")) + if (StringUtil.toString(log.getName()).contains("TransactionFeeCharged")) { Base64 base64 = new Base64(); byte[] byteStringMessage=base64.decode(log.getNonIndexed()); @@ -32,6 +35,18 @@ public static HashMap GetTransactionFees(TransactionResultDto trans } } + for (LogEventDto log:eventLogs) + { + if (StringUtil.toString(log.getName()).contains("ResourceTokenCharged")) + { + Base64 base64 = new Base64(); + byte[] byteStringMessage=base64.decode(log.getNonIndexed()); + ResourceTokenCharged info = ResourceTokenCharged.parseFrom(ByteString.copyFrom(byteStringMessage)); + transactionFeesDict.put(info.getSymbol(), info.getAmount()); + } + } + + return transactionFeesDict; } } diff --git a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java index fab312a..df38786 100644 --- a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java +++ b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java @@ -2,6 +2,10 @@ import com.google.protobuf.ByteString; import io.aelf.protobuf.generated.Core; +import io.aelf.protobuf.generated.Core.TransactionResultStatus; +import io.aelf.protobuf.generated.TokenContract.GetBalanceOutput; +import io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged; +import io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.Builder; import io.aelf.schemas.BlockDto; import io.aelf.schemas.ChainstatusDto; import io.aelf.schemas.CreateRawTransactionInput; @@ -9,8 +13,10 @@ import io.aelf.schemas.ExecuteRawTransactionDto; import io.aelf.schemas.ExecuteTransactionDto; import io.aelf.schemas.KeyPairInfo; +import io.aelf.schemas.LogEventDto; import io.aelf.schemas.SendRawTransactionInput; import io.aelf.schemas.SendTransactionInput; +import io.aelf.schemas.SendTransactionOutput; import io.aelf.schemas.SendTransactionsInput; import io.aelf.schemas.TaskQueueInfoDto; import io.aelf.schemas.TransactionResultDto; @@ -20,15 +26,18 @@ import io.aelf.utils.MapEntry; import io.aelf.utils.Maps; import io.aelf.utils.Sha256; +import io.aelf.utils.StringUtil; import io.aelf.utils.TransactionResultDtoExtension; import java.math.BigInteger; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; import org.apache.commons.codec.binary.Base64; import org.bouncycastle.util.encoders.Hex; import org.junit.Assert; import org.junit.Before; import org.junit.Test; +import org.omg.CosNaming.NamingContextExtPackage.AddressHelper; public class BlockChainSdkTest { @@ -48,6 +57,62 @@ public void init() throws Exception { address = client.getAddressFromPrivateKey(privateKey); } + @Test + public void getTransactionFeeTest() throws Exception { + TransactionResultDto transactionResultDto = new TransactionResultDto(); + transactionResultDto.setLogs(new ArrayList<>()); + + LogEventDto logEventDto=new LogEventDto(); + logEventDto.setName("TransactionFeeCharged"); + Base64 base64 = new Base64(); + Builder tfeeCharged=TransactionFeeCharged.newBuilder(); + tfeeCharged.setSymbol("ELF"); + tfeeCharged.setAmount(1000); + String nonIndexed=base64.encodeToString(tfeeCharged.build().toByteArray()); + logEventDto.setNonIndexed(nonIndexed); + transactionResultDto.getLogs().add(logEventDto); + + logEventDto=new LogEventDto(); + logEventDto.setName("ResourceTokenCharged"); + tfeeCharged=TransactionFeeCharged.newBuilder(); + tfeeCharged.setSymbol("READ"); + tfeeCharged.setAmount(800); + nonIndexed=base64.encodeToString(tfeeCharged.build().toByteArray()); + logEventDto.setNonIndexed(nonIndexed); + transactionResultDto.getLogs().add(logEventDto); + + logEventDto=new LogEventDto(); + logEventDto.setName("ResourceTokenCharged"); + tfeeCharged=TransactionFeeCharged.newBuilder(); + tfeeCharged.setSymbol("WRITE"); + tfeeCharged.setAmount(600); + nonIndexed=base64.encodeToString(tfeeCharged.build().toByteArray()); + logEventDto.setNonIndexed(nonIndexed); + transactionResultDto.getLogs().add(logEventDto); + + logEventDto=new LogEventDto(); + logEventDto.setName("ResourceTokenOwned"); + tfeeCharged=TransactionFeeCharged.newBuilder(); + tfeeCharged.setSymbol("READ"); + tfeeCharged.setAmount(200); + nonIndexed=base64.encodeToString(tfeeCharged.build().toByteArray()); + logEventDto.setNonIndexed(nonIndexed); + transactionResultDto.getLogs().add(logEventDto); + + HashMap transactionFees = TransactionResultDtoExtension.getTransactionFees(transactionResultDto); + Assert.assertTrue(transactionFees.keySet().size()==3); + Assert.assertTrue(transactionFees.get("ELF")==1000); + Assert.assertTrue(transactionFees.get("READ")==800); + Assert.assertTrue(transactionFees.get("WRITE")==600); + + transactionResultDto = new TransactionResultDto(); + transactionResultDto.setLogs(new ArrayList<>()); + transactionFees = TransactionResultDtoExtension.getTransactionFees(transactionResultDto); + Assert.assertTrue(transactionFees.size()==0); + + } + + @Test public void getAddressFromPubKeyTest() { org.bitcoinj.core.ECKey aelfKey = org.bitcoinj.core.ECKey @@ -284,17 +349,9 @@ public void getTransactionResultsTest() throws Exception { client.getTransactionResults(blockDto.getBlockHash(), 0, 10); } - @Test - public void GetTransactionFeesTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - BlockDto blockDto = client.getBlockByHeight(blockHeight, false); - List transactionResultDtoList = client - .getTransactionResults(blockDto.getBlockHash(), 0, 10); - for (TransactionResultDto transactionResultDtoObj : transactionResultDtoList) { - TransactionResultDtoExtension.GetTransactionFees(transactionResultDtoObj); - } - } + + + @Test public void getTransactionResultTest() throws Exception { @@ -344,6 +401,8 @@ public void potobuffTest() throws Exception { client.sendTransaction(sendTransactionInputObj); } + + private Core.Transaction buildTransaction(String toAddress, String methodName, byte[] tmp) throws Exception { Core.Transaction.Builder transaction = client @@ -366,6 +425,4 @@ private CreateRawTransactionInput createRowBuild(String toAddress, String method createRawTransactionInputObj.setRefBlockHash(blockHash); return createRawTransactionInputObj; } - - } From 0266d3b7ecf7899c2ab21591ca9c5370bbcf9ea0 Mon Sep 17 00:00:00 2001 From: jinpeng wang Date: Thu, 30 Apr 2020 10:49:31 +0800 Subject: [PATCH 04/56] Fix build error --- .../protobuf/generated/TransactionFee.java | 3498 +++++++++++++++++ 1 file changed, 3498 insertions(+) create mode 100644 AElfClient/src/main/java/io/aelf/protobuf/generated/TransactionFee.java diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/TransactionFee.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/TransactionFee.java new file mode 100644 index 0000000..3d4869c --- /dev/null +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/TransactionFee.java @@ -0,0 +1,3498 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: transaction_fee.proto + +package io.aelf.protobuf.generated; + +public final class TransactionFee { + private TransactionFee() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface TransactionSizeFeeSymbolsOrBuilder extends + // @@protoc_insertion_point(interface_extends:TransactionSizeFeeSymbols) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + java.util.List + getTransactionSizeFeeSymbolListList(); + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol getTransactionSizeFeeSymbolList(int index); + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + int getTransactionSizeFeeSymbolListCount(); + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + java.util.List + getTransactionSizeFeeSymbolListOrBuilderList(); + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbolOrBuilder getTransactionSizeFeeSymbolListOrBuilder( + int index); + } + /** + * Protobuf type {@code TransactionSizeFeeSymbols} + */ + public static final class TransactionSizeFeeSymbols extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TransactionSizeFeeSymbols) + TransactionSizeFeeSymbolsOrBuilder { + private static final long serialVersionUID = 0L; + // Use TransactionSizeFeeSymbols.newBuilder() to construct. + private TransactionSizeFeeSymbols(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransactionSizeFeeSymbols() { + transactionSizeFeeSymbolList_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransactionSizeFeeSymbols(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransactionSizeFeeSymbols( + 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: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transactionSizeFeeSymbolList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + transactionSizeFeeSymbolList_.add( + input.readMessage(io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.parser(), extensionRegistry)); + 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)) { + transactionSizeFeeSymbolList_ = java.util.Collections.unmodifiableList(transactionSizeFeeSymbolList_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbols_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbols_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols.class, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols.Builder.class); + } + + public static final int TRANSACTION_SIZE_FEE_SYMBOL_LIST_FIELD_NUMBER = 1; + private java.util.List transactionSizeFeeSymbolList_; + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public java.util.List getTransactionSizeFeeSymbolListList() { + return transactionSizeFeeSymbolList_; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public java.util.List + getTransactionSizeFeeSymbolListOrBuilderList() { + return transactionSizeFeeSymbolList_; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public int getTransactionSizeFeeSymbolListCount() { + return transactionSizeFeeSymbolList_.size(); + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol getTransactionSizeFeeSymbolList(int index) { + return transactionSizeFeeSymbolList_.get(index); + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbolOrBuilder getTransactionSizeFeeSymbolListOrBuilder( + int index) { + return transactionSizeFeeSymbolList_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < transactionSizeFeeSymbolList_.size(); i++) { + output.writeMessage(1, transactionSizeFeeSymbolList_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < transactionSizeFeeSymbolList_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, transactionSizeFeeSymbolList_.get(i)); + } + 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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols other = (io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols) obj; + + if (!getTransactionSizeFeeSymbolListList() + .equals(other.getTransactionSizeFeeSymbolListList())) 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 (getTransactionSizeFeeSymbolListCount() > 0) { + hash = (37 * hash) + TRANSACTION_SIZE_FEE_SYMBOL_LIST_FIELD_NUMBER; + hash = (53 * hash) + getTransactionSizeFeeSymbolListList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols 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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols 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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols 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(io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols 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; + } + /** + * Protobuf type {@code TransactionSizeFeeSymbols} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TransactionSizeFeeSymbols) + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbolsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbols_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbols_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols.class, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getTransactionSizeFeeSymbolListFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (transactionSizeFeeSymbolListBuilder_ == null) { + transactionSizeFeeSymbolList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + transactionSizeFeeSymbolListBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbols_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols getDefaultInstanceForType() { + return io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols build() { + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols buildPartial() { + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols result = new io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols(this); + int from_bitField0_ = bitField0_; + if (transactionSizeFeeSymbolListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + transactionSizeFeeSymbolList_ = java.util.Collections.unmodifiableList(transactionSizeFeeSymbolList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.transactionSizeFeeSymbolList_ = transactionSizeFeeSymbolList_; + } else { + result.transactionSizeFeeSymbolList_ = transactionSizeFeeSymbolListBuilder_.build(); + } + 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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols) { + return mergeFrom((io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols other) { + if (other == io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols.getDefaultInstance()) return this; + if (transactionSizeFeeSymbolListBuilder_ == null) { + if (!other.transactionSizeFeeSymbolList_.isEmpty()) { + if (transactionSizeFeeSymbolList_.isEmpty()) { + transactionSizeFeeSymbolList_ = other.transactionSizeFeeSymbolList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTransactionSizeFeeSymbolListIsMutable(); + transactionSizeFeeSymbolList_.addAll(other.transactionSizeFeeSymbolList_); + } + onChanged(); + } + } else { + if (!other.transactionSizeFeeSymbolList_.isEmpty()) { + if (transactionSizeFeeSymbolListBuilder_.isEmpty()) { + transactionSizeFeeSymbolListBuilder_.dispose(); + transactionSizeFeeSymbolListBuilder_ = null; + transactionSizeFeeSymbolList_ = other.transactionSizeFeeSymbolList_; + bitField0_ = (bitField0_ & ~0x00000001); + transactionSizeFeeSymbolListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransactionSizeFeeSymbolListFieldBuilder() : null; + } else { + transactionSizeFeeSymbolListBuilder_.addAllMessages(other.transactionSizeFeeSymbolList_); + } + } + } + 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 { + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List transactionSizeFeeSymbolList_ = + java.util.Collections.emptyList(); + private void ensureTransactionSizeFeeSymbolListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + transactionSizeFeeSymbolList_ = new java.util.ArrayList(transactionSizeFeeSymbolList_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbolOrBuilder> transactionSizeFeeSymbolListBuilder_; + + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public java.util.List getTransactionSizeFeeSymbolListList() { + if (transactionSizeFeeSymbolListBuilder_ == null) { + return java.util.Collections.unmodifiableList(transactionSizeFeeSymbolList_); + } else { + return transactionSizeFeeSymbolListBuilder_.getMessageList(); + } + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public int getTransactionSizeFeeSymbolListCount() { + if (transactionSizeFeeSymbolListBuilder_ == null) { + return transactionSizeFeeSymbolList_.size(); + } else { + return transactionSizeFeeSymbolListBuilder_.getCount(); + } + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol getTransactionSizeFeeSymbolList(int index) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + return transactionSizeFeeSymbolList_.get(index); + } else { + return transactionSizeFeeSymbolListBuilder_.getMessage(index); + } + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public Builder setTransactionSizeFeeSymbolList( + int index, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol value) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransactionSizeFeeSymbolListIsMutable(); + transactionSizeFeeSymbolList_.set(index, value); + onChanged(); + } else { + transactionSizeFeeSymbolListBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public Builder setTransactionSizeFeeSymbolList( + int index, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder builderForValue) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + ensureTransactionSizeFeeSymbolListIsMutable(); + transactionSizeFeeSymbolList_.set(index, builderForValue.build()); + onChanged(); + } else { + transactionSizeFeeSymbolListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public Builder addTransactionSizeFeeSymbolList(io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol value) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransactionSizeFeeSymbolListIsMutable(); + transactionSizeFeeSymbolList_.add(value); + onChanged(); + } else { + transactionSizeFeeSymbolListBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public Builder addTransactionSizeFeeSymbolList( + int index, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol value) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransactionSizeFeeSymbolListIsMutable(); + transactionSizeFeeSymbolList_.add(index, value); + onChanged(); + } else { + transactionSizeFeeSymbolListBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public Builder addTransactionSizeFeeSymbolList( + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder builderForValue) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + ensureTransactionSizeFeeSymbolListIsMutable(); + transactionSizeFeeSymbolList_.add(builderForValue.build()); + onChanged(); + } else { + transactionSizeFeeSymbolListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public Builder addTransactionSizeFeeSymbolList( + int index, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder builderForValue) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + ensureTransactionSizeFeeSymbolListIsMutable(); + transactionSizeFeeSymbolList_.add(index, builderForValue.build()); + onChanged(); + } else { + transactionSizeFeeSymbolListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public Builder addAllTransactionSizeFeeSymbolList( + java.lang.Iterable values) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + ensureTransactionSizeFeeSymbolListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transactionSizeFeeSymbolList_); + onChanged(); + } else { + transactionSizeFeeSymbolListBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public Builder clearTransactionSizeFeeSymbolList() { + if (transactionSizeFeeSymbolListBuilder_ == null) { + transactionSizeFeeSymbolList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + transactionSizeFeeSymbolListBuilder_.clear(); + } + return this; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public Builder removeTransactionSizeFeeSymbolList(int index) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + ensureTransactionSizeFeeSymbolListIsMutable(); + transactionSizeFeeSymbolList_.remove(index); + onChanged(); + } else { + transactionSizeFeeSymbolListBuilder_.remove(index); + } + return this; + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder getTransactionSizeFeeSymbolListBuilder( + int index) { + return getTransactionSizeFeeSymbolListFieldBuilder().getBuilder(index); + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbolOrBuilder getTransactionSizeFeeSymbolListOrBuilder( + int index) { + if (transactionSizeFeeSymbolListBuilder_ == null) { + return transactionSizeFeeSymbolList_.get(index); } else { + return transactionSizeFeeSymbolListBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public java.util.List + getTransactionSizeFeeSymbolListOrBuilderList() { + if (transactionSizeFeeSymbolListBuilder_ != null) { + return transactionSizeFeeSymbolListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(transactionSizeFeeSymbolList_); + } + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder addTransactionSizeFeeSymbolListBuilder() { + return getTransactionSizeFeeSymbolListFieldBuilder().addBuilder( + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.getDefaultInstance()); + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder addTransactionSizeFeeSymbolListBuilder( + int index) { + return getTransactionSizeFeeSymbolListFieldBuilder().addBuilder( + index, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.getDefaultInstance()); + } + /** + * repeated .TransactionSizeFeeSymbol transaction_size_fee_symbol_list = 1; + */ + public java.util.List + getTransactionSizeFeeSymbolListBuilderList() { + return getTransactionSizeFeeSymbolListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbolOrBuilder> + getTransactionSizeFeeSymbolListFieldBuilder() { + if (transactionSizeFeeSymbolListBuilder_ == null) { + transactionSizeFeeSymbolListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbolOrBuilder>( + transactionSizeFeeSymbolList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + transactionSizeFeeSymbolList_ = null; + } + return transactionSizeFeeSymbolListBuilder_; + } + @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:TransactionSizeFeeSymbols) + } + + // @@protoc_insertion_point(class_scope:TransactionSizeFeeSymbols) + private static final io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols(); + } + + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransactionSizeFeeSymbols parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransactionSizeFeeSymbols(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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbols getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TransactionSizeFeeSymbolOrBuilder extends + // @@protoc_insertion_point(interface_extends:TransactionSizeFeeSymbol) + com.google.protobuf.MessageOrBuilder { + + /** + * string token_symbol = 1; + * @return The tokenSymbol. + */ + java.lang.String getTokenSymbol(); + /** + * string token_symbol = 1; + * @return The bytes for tokenSymbol. + */ + com.google.protobuf.ByteString + getTokenSymbolBytes(); + + /** + * sint32 base_token_weight = 2; + * @return The baseTokenWeight. + */ + int getBaseTokenWeight(); + + /** + * sint32 added_token_weight = 3; + * @return The addedTokenWeight. + */ + int getAddedTokenWeight(); + } + /** + * Protobuf type {@code TransactionSizeFeeSymbol} + */ + public static final class TransactionSizeFeeSymbol extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TransactionSizeFeeSymbol) + TransactionSizeFeeSymbolOrBuilder { + private static final long serialVersionUID = 0L; + // Use TransactionSizeFeeSymbol.newBuilder() to construct. + private TransactionSizeFeeSymbol(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransactionSizeFeeSymbol() { + tokenSymbol_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransactionSizeFeeSymbol(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransactionSizeFeeSymbol( + 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 10: { + java.lang.String s = input.readStringRequireUtf8(); + + tokenSymbol_ = s; + break; + } + case 16: { + + baseTokenWeight_ = input.readSInt32(); + break; + } + case 24: { + + addedTokenWeight_ = input.readSInt32(); + 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 io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbol_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbol_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.class, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder.class); + } + + public static final int TOKEN_SYMBOL_FIELD_NUMBER = 1; + private volatile java.lang.Object tokenSymbol_; + /** + * string token_symbol = 1; + * @return The tokenSymbol. + */ + public java.lang.String getTokenSymbol() { + java.lang.Object ref = tokenSymbol_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenSymbol_ = s; + return s; + } + } + /** + * string token_symbol = 1; + * @return The bytes for tokenSymbol. + */ + public com.google.protobuf.ByteString + getTokenSymbolBytes() { + java.lang.Object ref = tokenSymbol_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tokenSymbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BASE_TOKEN_WEIGHT_FIELD_NUMBER = 2; + private int baseTokenWeight_; + /** + * sint32 base_token_weight = 2; + * @return The baseTokenWeight. + */ + public int getBaseTokenWeight() { + return baseTokenWeight_; + } + + public static final int ADDED_TOKEN_WEIGHT_FIELD_NUMBER = 3; + private int addedTokenWeight_; + /** + * sint32 added_token_weight = 3; + * @return The addedTokenWeight. + */ + public int getAddedTokenWeight() { + return addedTokenWeight_; + } + + 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 (!getTokenSymbolBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tokenSymbol_); + } + if (baseTokenWeight_ != 0) { + output.writeSInt32(2, baseTokenWeight_); + } + if (addedTokenWeight_ != 0) { + output.writeSInt32(3, addedTokenWeight_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getTokenSymbolBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tokenSymbol_); + } + if (baseTokenWeight_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeSInt32Size(2, baseTokenWeight_); + } + if (addedTokenWeight_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeSInt32Size(3, addedTokenWeight_); + } + 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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol other = (io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol) obj; + + if (!getTokenSymbol() + .equals(other.getTokenSymbol())) return false; + if (getBaseTokenWeight() + != other.getBaseTokenWeight()) return false; + if (getAddedTokenWeight() + != other.getAddedTokenWeight()) 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) + TOKEN_SYMBOL_FIELD_NUMBER; + hash = (53 * hash) + getTokenSymbol().hashCode(); + hash = (37 * hash) + BASE_TOKEN_WEIGHT_FIELD_NUMBER; + hash = (53 * hash) + getBaseTokenWeight(); + hash = (37 * hash) + ADDED_TOKEN_WEIGHT_FIELD_NUMBER; + hash = (53 * hash) + getAddedTokenWeight(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol 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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol 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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol 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(io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol 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; + } + /** + * Protobuf type {@code TransactionSizeFeeSymbol} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TransactionSizeFeeSymbol) + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbolOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbol_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbol_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.class, io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.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(); + tokenSymbol_ = ""; + + baseTokenWeight_ = 0; + + addedTokenWeight_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionSizeFeeSymbol_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol getDefaultInstanceForType() { + return io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol build() { + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol buildPartial() { + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol result = new io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol(this); + result.tokenSymbol_ = tokenSymbol_; + result.baseTokenWeight_ = baseTokenWeight_; + result.addedTokenWeight_ = addedTokenWeight_; + 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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol) { + return mergeFrom((io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol other) { + if (other == io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol.getDefaultInstance()) return this; + if (!other.getTokenSymbol().isEmpty()) { + tokenSymbol_ = other.tokenSymbol_; + onChanged(); + } + if (other.getBaseTokenWeight() != 0) { + setBaseTokenWeight(other.getBaseTokenWeight()); + } + if (other.getAddedTokenWeight() != 0) { + setAddedTokenWeight(other.getAddedTokenWeight()); + } + 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 { + io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object tokenSymbol_ = ""; + /** + * string token_symbol = 1; + * @return The tokenSymbol. + */ + public java.lang.String getTokenSymbol() { + java.lang.Object ref = tokenSymbol_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenSymbol_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string token_symbol = 1; + * @return The bytes for tokenSymbol. + */ + public com.google.protobuf.ByteString + getTokenSymbolBytes() { + java.lang.Object ref = tokenSymbol_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tokenSymbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string token_symbol = 1; + * @param value The tokenSymbol to set. + * @return This builder for chaining. + */ + public Builder setTokenSymbol( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + tokenSymbol_ = value; + onChanged(); + return this; + } + /** + * string token_symbol = 1; + * @return This builder for chaining. + */ + public Builder clearTokenSymbol() { + + tokenSymbol_ = getDefaultInstance().getTokenSymbol(); + onChanged(); + return this; + } + /** + * string token_symbol = 1; + * @param value The bytes for tokenSymbol to set. + * @return This builder for chaining. + */ + public Builder setTokenSymbolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + tokenSymbol_ = value; + onChanged(); + return this; + } + + private int baseTokenWeight_ ; + /** + * sint32 base_token_weight = 2; + * @return The baseTokenWeight. + */ + public int getBaseTokenWeight() { + return baseTokenWeight_; + } + /** + * sint32 base_token_weight = 2; + * @param value The baseTokenWeight to set. + * @return This builder for chaining. + */ + public Builder setBaseTokenWeight(int value) { + + baseTokenWeight_ = value; + onChanged(); + return this; + } + /** + * sint32 base_token_weight = 2; + * @return This builder for chaining. + */ + public Builder clearBaseTokenWeight() { + + baseTokenWeight_ = 0; + onChanged(); + return this; + } + + private int addedTokenWeight_ ; + /** + * sint32 added_token_weight = 3; + * @return The addedTokenWeight. + */ + public int getAddedTokenWeight() { + return addedTokenWeight_; + } + /** + * sint32 added_token_weight = 3; + * @param value The addedTokenWeight to set. + * @return This builder for chaining. + */ + public Builder setAddedTokenWeight(int value) { + + addedTokenWeight_ = value; + onChanged(); + return this; + } + /** + * sint32 added_token_weight = 3; + * @return This builder for chaining. + */ + public Builder clearAddedTokenWeight() { + + addedTokenWeight_ = 0; + 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:TransactionSizeFeeSymbol) + } + + // @@protoc_insertion_point(class_scope:TransactionSizeFeeSymbol) + private static final io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol(); + } + + public static io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransactionSizeFeeSymbol parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransactionSizeFeeSymbol(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 io.aelf.protobuf.generated.TransactionFee.TransactionSizeFeeSymbol getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TransactionFeeChargedOrBuilder extends + // @@protoc_insertion_point(interface_extends:TransactionFeeCharged) + com.google.protobuf.MessageOrBuilder { + + /** + * string symbol = 1; + * @return The symbol. + */ + java.lang.String getSymbol(); + /** + * string symbol = 1; + * @return The bytes for symbol. + */ + com.google.protobuf.ByteString + getSymbolBytes(); + + /** + * sint64 amount = 2; + * @return The amount. + */ + long getAmount(); + } + /** + * Protobuf type {@code TransactionFeeCharged} + */ + public static final class TransactionFeeCharged extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TransactionFeeCharged) + TransactionFeeChargedOrBuilder { + private static final long serialVersionUID = 0L; + // Use TransactionFeeCharged.newBuilder() to construct. + private TransactionFeeCharged(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransactionFeeCharged() { + symbol_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransactionFeeCharged(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransactionFeeCharged( + 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 10: { + java.lang.String s = input.readStringRequireUtf8(); + + symbol_ = s; + break; + } + case 16: { + + amount_ = input.readSInt64(); + 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 io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionFeeCharged_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionFeeCharged_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.class, io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.Builder.class); + } + + public static final int SYMBOL_FIELD_NUMBER = 1; + private volatile java.lang.Object symbol_; + /** + * string symbol = 1; + * @return The symbol. + */ + public java.lang.String getSymbol() { + java.lang.Object ref = symbol_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbol_ = s; + return s; + } + } + /** + * string symbol = 1; + * @return The bytes for symbol. + */ + public com.google.protobuf.ByteString + getSymbolBytes() { + java.lang.Object ref = symbol_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AMOUNT_FIELD_NUMBER = 2; + private long amount_; + /** + * sint64 amount = 2; + * @return The amount. + */ + public long getAmount() { + return amount_; + } + + 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 (!getSymbolBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_); + } + if (amount_ != 0L) { + output.writeSInt64(2, amount_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getSymbolBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, symbol_); + } + if (amount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeSInt64Size(2, amount_); + } + 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 io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged other = (io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged) obj; + + if (!getSymbol() + .equals(other.getSymbol())) return false; + if (getAmount() + != other.getAmount()) 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) + SYMBOL_FIELD_NUMBER; + hash = (53 * hash) + getSymbol().hashCode(); + hash = (37 * hash) + AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAmount()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged 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 io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged 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 io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged 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(io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged 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; + } + /** + * Protobuf type {@code TransactionFeeCharged} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TransactionFeeCharged) + io.aelf.protobuf.generated.TransactionFee.TransactionFeeChargedOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionFeeCharged_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionFeeCharged_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.class, io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.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(); + symbol_ = ""; + + amount_ = 0L; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_TransactionFeeCharged_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged getDefaultInstanceForType() { + return io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged build() { + io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged buildPartial() { + io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged result = new io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged(this); + result.symbol_ = symbol_; + result.amount_ = amount_; + 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 io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged) { + return mergeFrom((io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged other) { + if (other == io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.getDefaultInstance()) return this; + if (!other.getSymbol().isEmpty()) { + symbol_ = other.symbol_; + onChanged(); + } + if (other.getAmount() != 0L) { + setAmount(other.getAmount()); + } + 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 { + io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object symbol_ = ""; + /** + * string symbol = 1; + * @return The symbol. + */ + public java.lang.String getSymbol() { + java.lang.Object ref = symbol_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbol_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string symbol = 1; + * @return The bytes for symbol. + */ + public com.google.protobuf.ByteString + getSymbolBytes() { + java.lang.Object ref = symbol_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string symbol = 1; + * @param value The symbol to set. + * @return This builder for chaining. + */ + public Builder setSymbol( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + symbol_ = value; + onChanged(); + return this; + } + /** + * string symbol = 1; + * @return This builder for chaining. + */ + public Builder clearSymbol() { + + symbol_ = getDefaultInstance().getSymbol(); + onChanged(); + return this; + } + /** + * string symbol = 1; + * @param value The bytes for symbol to set. + * @return This builder for chaining. + */ + public Builder setSymbolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + symbol_ = value; + onChanged(); + return this; + } + + private long amount_ ; + /** + * sint64 amount = 2; + * @return The amount. + */ + public long getAmount() { + return amount_; + } + /** + * sint64 amount = 2; + * @param value The amount to set. + * @return This builder for chaining. + */ + public Builder setAmount(long value) { + + amount_ = value; + onChanged(); + return this; + } + /** + * sint64 amount = 2; + * @return This builder for chaining. + */ + public Builder clearAmount() { + + amount_ = 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:TransactionFeeCharged) + } + + // @@protoc_insertion_point(class_scope:TransactionFeeCharged) + private static final io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged(); + } + + public static io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransactionFeeCharged parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransactionFeeCharged(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 io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResourceTokenChargedOrBuilder extends + // @@protoc_insertion_point(interface_extends:ResourceTokenCharged) + com.google.protobuf.MessageOrBuilder { + + /** + * string symbol = 1; + * @return The symbol. + */ + java.lang.String getSymbol(); + /** + * string symbol = 1; + * @return The bytes for symbol. + */ + com.google.protobuf.ByteString + getSymbolBytes(); + + /** + * sint64 amount = 2; + * @return The amount. + */ + long getAmount(); + } + /** + * Protobuf type {@code ResourceTokenCharged} + */ + public static final class ResourceTokenCharged extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ResourceTokenCharged) + ResourceTokenChargedOrBuilder { + private static final long serialVersionUID = 0L; + // Use ResourceTokenCharged.newBuilder() to construct. + private ResourceTokenCharged(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ResourceTokenCharged() { + symbol_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ResourceTokenCharged(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ResourceTokenCharged( + 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 10: { + java.lang.String s = input.readStringRequireUtf8(); + + symbol_ = s; + break; + } + case 16: { + + amount_ = input.readSInt64(); + 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 io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenCharged_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenCharged_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged.class, io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged.Builder.class); + } + + public static final int SYMBOL_FIELD_NUMBER = 1; + private volatile java.lang.Object symbol_; + /** + * string symbol = 1; + * @return The symbol. + */ + public java.lang.String getSymbol() { + java.lang.Object ref = symbol_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbol_ = s; + return s; + } + } + /** + * string symbol = 1; + * @return The bytes for symbol. + */ + public com.google.protobuf.ByteString + getSymbolBytes() { + java.lang.Object ref = symbol_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AMOUNT_FIELD_NUMBER = 2; + private long amount_; + /** + * sint64 amount = 2; + * @return The amount. + */ + public long getAmount() { + return amount_; + } + + 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 (!getSymbolBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_); + } + if (amount_ != 0L) { + output.writeSInt64(2, amount_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getSymbolBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, symbol_); + } + if (amount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeSInt64Size(2, amount_); + } + 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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged other = (io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged) obj; + + if (!getSymbol() + .equals(other.getSymbol())) return false; + if (getAmount() + != other.getAmount()) 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) + SYMBOL_FIELD_NUMBER; + hash = (53 * hash) + getSymbol().hashCode(); + hash = (37 * hash) + AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAmount()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged 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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged 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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged 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(io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged 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; + } + /** + * Protobuf type {@code ResourceTokenCharged} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ResourceTokenCharged) + io.aelf.protobuf.generated.TransactionFee.ResourceTokenChargedOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenCharged_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenCharged_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged.class, io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged.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(); + symbol_ = ""; + + amount_ = 0L; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenCharged_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged getDefaultInstanceForType() { + return io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged build() { + io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged buildPartial() { + io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged result = new io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged(this); + result.symbol_ = symbol_; + result.amount_ = amount_; + 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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged) { + return mergeFrom((io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged other) { + if (other == io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged.getDefaultInstance()) return this; + if (!other.getSymbol().isEmpty()) { + symbol_ = other.symbol_; + onChanged(); + } + if (other.getAmount() != 0L) { + setAmount(other.getAmount()); + } + 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 { + io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object symbol_ = ""; + /** + * string symbol = 1; + * @return The symbol. + */ + public java.lang.String getSymbol() { + java.lang.Object ref = symbol_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbol_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string symbol = 1; + * @return The bytes for symbol. + */ + public com.google.protobuf.ByteString + getSymbolBytes() { + java.lang.Object ref = symbol_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string symbol = 1; + * @param value The symbol to set. + * @return This builder for chaining. + */ + public Builder setSymbol( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + symbol_ = value; + onChanged(); + return this; + } + /** + * string symbol = 1; + * @return This builder for chaining. + */ + public Builder clearSymbol() { + + symbol_ = getDefaultInstance().getSymbol(); + onChanged(); + return this; + } + /** + * string symbol = 1; + * @param value The bytes for symbol to set. + * @return This builder for chaining. + */ + public Builder setSymbolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + symbol_ = value; + onChanged(); + return this; + } + + private long amount_ ; + /** + * sint64 amount = 2; + * @return The amount. + */ + public long getAmount() { + return amount_; + } + /** + * sint64 amount = 2; + * @param value The amount to set. + * @return This builder for chaining. + */ + public Builder setAmount(long value) { + + amount_ = value; + onChanged(); + return this; + } + /** + * sint64 amount = 2; + * @return This builder for chaining. + */ + public Builder clearAmount() { + + amount_ = 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:ResourceTokenCharged) + } + + // @@protoc_insertion_point(class_scope:ResourceTokenCharged) + private static final io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged(); + } + + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceTokenCharged parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceTokenCharged(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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResourceTokenOwnedOrBuilder extends + // @@protoc_insertion_point(interface_extends:ResourceTokenOwned) + com.google.protobuf.MessageOrBuilder { + + /** + * string symbol = 1; + * @return The symbol. + */ + java.lang.String getSymbol(); + /** + * string symbol = 1; + * @return The bytes for symbol. + */ + com.google.protobuf.ByteString + getSymbolBytes(); + + /** + * sint64 amount = 2; + * @return The amount. + */ + long getAmount(); + } + /** + * Protobuf type {@code ResourceTokenOwned} + */ + public static final class ResourceTokenOwned extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ResourceTokenOwned) + ResourceTokenOwnedOrBuilder { + private static final long serialVersionUID = 0L; + // Use ResourceTokenOwned.newBuilder() to construct. + private ResourceTokenOwned(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ResourceTokenOwned() { + symbol_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ResourceTokenOwned(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ResourceTokenOwned( + 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 10: { + java.lang.String s = input.readStringRequireUtf8(); + + symbol_ = s; + break; + } + case 16: { + + amount_ = input.readSInt64(); + 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 io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenOwned_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenOwned_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned.class, io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned.Builder.class); + } + + public static final int SYMBOL_FIELD_NUMBER = 1; + private volatile java.lang.Object symbol_; + /** + * string symbol = 1; + * @return The symbol. + */ + public java.lang.String getSymbol() { + java.lang.Object ref = symbol_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbol_ = s; + return s; + } + } + /** + * string symbol = 1; + * @return The bytes for symbol. + */ + public com.google.protobuf.ByteString + getSymbolBytes() { + java.lang.Object ref = symbol_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AMOUNT_FIELD_NUMBER = 2; + private long amount_; + /** + * sint64 amount = 2; + * @return The amount. + */ + public long getAmount() { + return amount_; + } + + 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 (!getSymbolBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_); + } + if (amount_ != 0L) { + output.writeSInt64(2, amount_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getSymbolBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, symbol_); + } + if (amount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeSInt64Size(2, amount_); + } + 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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned other = (io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned) obj; + + if (!getSymbol() + .equals(other.getSymbol())) return false; + if (getAmount() + != other.getAmount()) 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) + SYMBOL_FIELD_NUMBER; + hash = (53 * hash) + getSymbol().hashCode(); + hash = (37 * hash) + AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAmount()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned 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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned 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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned 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(io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned 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; + } + /** + * Protobuf type {@code ResourceTokenOwned} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ResourceTokenOwned) + io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwnedOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenOwned_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenOwned_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned.class, io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned.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(); + symbol_ = ""; + + amount_ = 0L; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.TransactionFee.internal_static_ResourceTokenOwned_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned getDefaultInstanceForType() { + return io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned build() { + io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned buildPartial() { + io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned result = new io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned(this); + result.symbol_ = symbol_; + result.amount_ = amount_; + 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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned) { + return mergeFrom((io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned other) { + if (other == io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned.getDefaultInstance()) return this; + if (!other.getSymbol().isEmpty()) { + symbol_ = other.symbol_; + onChanged(); + } + if (other.getAmount() != 0L) { + setAmount(other.getAmount()); + } + 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 { + io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object symbol_ = ""; + /** + * string symbol = 1; + * @return The symbol. + */ + public java.lang.String getSymbol() { + java.lang.Object ref = symbol_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbol_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string symbol = 1; + * @return The bytes for symbol. + */ + public com.google.protobuf.ByteString + getSymbolBytes() { + java.lang.Object ref = symbol_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string symbol = 1; + * @param value The symbol to set. + * @return This builder for chaining. + */ + public Builder setSymbol( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + symbol_ = value; + onChanged(); + return this; + } + /** + * string symbol = 1; + * @return This builder for chaining. + */ + public Builder clearSymbol() { + + symbol_ = getDefaultInstance().getSymbol(); + onChanged(); + return this; + } + /** + * string symbol = 1; + * @param value The bytes for symbol to set. + * @return This builder for chaining. + */ + public Builder setSymbolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + symbol_ = value; + onChanged(); + return this; + } + + private long amount_ ; + /** + * sint64 amount = 2; + * @return The amount. + */ + public long getAmount() { + return amount_; + } + /** + * sint64 amount = 2; + * @param value The amount to set. + * @return This builder for chaining. + */ + public Builder setAmount(long value) { + + amount_ = value; + onChanged(); + return this; + } + /** + * sint64 amount = 2; + * @return This builder for chaining. + */ + public Builder clearAmount() { + + amount_ = 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:ResourceTokenOwned) + } + + // @@protoc_insertion_point(class_scope:ResourceTokenOwned) + private static final io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned(); + } + + public static io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceTokenOwned parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceTokenOwned(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 io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TransactionSizeFeeSymbols_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TransactionSizeFeeSymbols_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TransactionSizeFeeSymbol_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TransactionSizeFeeSymbol_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TransactionFeeCharged_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TransactionFeeCharged_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ResourceTokenCharged_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ResourceTokenCharged_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ResourceTokenOwned_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ResourceTokenOwned_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\025transaction_fee.proto\032\014client.proto\"`\n" + + "\031TransactionSizeFeeSymbols\022C\n transactio" + + "n_size_fee_symbol_list\030\001 \003(\0132\031.Transacti" + + "onSizeFeeSymbol\"g\n\030TransactionSizeFeeSym" + + "bol\022\024\n\014token_symbol\030\001 \001(\t\022\031\n\021base_token_" + + "weight\030\002 \001(\021\022\032\n\022added_token_weight\030\003 \001(\021" + + "\"7\n\025TransactionFeeCharged\022\016\n\006symbol\030\001 \001(" + + "\t\022\016\n\006amount\030\002 \001(\022\"6\n\024ResourceTokenCharge" + + "d\022\016\n\006symbol\030\001 \001(\t\022\016\n\006amount\030\002 \001(\022\"4\n\022Res" + + "ourceTokenOwned\022\016\n\006symbol\030\001 \001(\t\022\016\n\006amoun" + + "t\030\002 \001(\022B\034\n\032io.aelf.protobuf.generatedb\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + io.aelf.protobuf.generated.Client.getDescriptor(), + }); + internal_static_TransactionSizeFeeSymbols_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_TransactionSizeFeeSymbols_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TransactionSizeFeeSymbols_descriptor, + new java.lang.String[] { "TransactionSizeFeeSymbolList", }); + internal_static_TransactionSizeFeeSymbol_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_TransactionSizeFeeSymbol_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TransactionSizeFeeSymbol_descriptor, + new java.lang.String[] { "TokenSymbol", "BaseTokenWeight", "AddedTokenWeight", }); + internal_static_TransactionFeeCharged_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_TransactionFeeCharged_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TransactionFeeCharged_descriptor, + new java.lang.String[] { "Symbol", "Amount", }); + internal_static_ResourceTokenCharged_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_ResourceTokenCharged_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ResourceTokenCharged_descriptor, + new java.lang.String[] { "Symbol", "Amount", }); + internal_static_ResourceTokenOwned_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_ResourceTokenOwned_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ResourceTokenOwned_descriptor, + new java.lang.String[] { "Symbol", "Amount", }); + io.aelf.protobuf.generated.Client.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} From 90c1dd173ecb07f3f5fdc888c68bc45966906dee Mon Sep 17 00:00:00 2001 From: jinpeng wang Date: Thu, 30 Apr 2020 10:57:15 +0800 Subject: [PATCH 05/56] Update pom.xml --- AElfClient/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/AElfClient/pom.xml b/AElfClient/pom.xml index a9f9b95..33c48fb 100644 --- a/AElfClient/pom.xml +++ b/AElfClient/pom.xml @@ -96,6 +96,14 @@ AElfClient + + maven-compiler-plugin + 3.2 + + ${jdk.version} + ${jdk.version} + + org.sonatype.plugins nexus-staging-maven-plugin From fc43b3f6e186da5132a7a52195c09635fac48286 Mon Sep 17 00:00:00 2001 From: jinpeng wang Date: Thu, 30 Apr 2020 15:14:47 +0800 Subject: [PATCH 06/56] Fix build error --- AElfClientTest/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AElfClientTest/pom.xml b/AElfClientTest/pom.xml index c418b67..a263384 100644 --- a/AElfClientTest/pom.xml +++ b/AElfClientTest/pom.xml @@ -10,7 +10,7 @@ 0.1.2 4.12 - 0.1.2 + 0.1.4 1.8 From a47f0590a7d6edf289e6d8cee81ae56e36e54e9b Mon Sep 17 00:00:00 2001 From: jinpeng wang Date: Thu, 30 Apr 2020 16:29:33 +0800 Subject: [PATCH 07/56] Fix no tests run --- AElfClientTest/pom.xml | 1 + .../src/main/java/io/aelf/test/BlockChainSdkTest.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AElfClientTest/pom.xml b/AElfClientTest/pom.xml index a263384..e97c823 100644 --- a/AElfClientTest/pom.xml +++ b/AElfClientTest/pom.xml @@ -47,6 +47,7 @@ AElfClientTest + ${basedir}/src/main/java maven-compiler-plugin diff --git a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java index df38786..3e037b8 100644 --- a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java +++ b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java @@ -41,7 +41,7 @@ public class BlockChainSdkTest { - static final String HTTPURL = "http://52.90.147.175:8000"; + static final String HTTPURL = "http://127.0.0.1:8200"; AElfClient client = null; String privateKey = "cd86ab6347d8e52bbbe8532141fc59ce596268143a308d1d40fedf385528b458"; String address = ""; From 50343cf1bd7c1c53573b0471a490f9dc0e35ac98 Mon Sep 17 00:00:00 2001 From: jinpeng wang Date: Thu, 30 Apr 2020 16:40:38 +0800 Subject: [PATCH 08/56] echo ip --- scripts/aelf-node/start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 427262d..8386a14 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -6,4 +6,5 @@ sudo docker pull aelf/node:testnet-v0.9.2 sudo docker run -itd --name aelf-node-test -v $dir:/opt/node -v $dir/keys:/root/.local/share/aelf/keys -p 8200:8000 -p 6801:6800 -w /opt/node aelf/node:testnet-v0.9.2 dotnet /app/AElf.Launcher.dll sleep 30 height=`curl -s http://$ip:8200/api/blockChain/blockHeight` +echo "ip: $ip" echo "height is $height" From f774ad0ab46059d3bfe8df006f35c1132bbeeadb Mon Sep 17 00:00:00 2001 From: jinpeng wang Date: Thu, 30 Apr 2020 16:52:41 +0800 Subject: [PATCH 09/56] Replace ip --- scripts/aelf-node/start.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 8386a14..d3405eb 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -1,10 +1,11 @@ #!/bin/bash dir=`pwd` ip=`ip a | grep eth0 |grep 'inet' | awk -F/ '{print $1}'| awk '{print $2}'` -sudo sed -i "s/172.31.8.57/$ip/g" appsettings.json +sudo sed -i "s/172.31.8.57/$ip/g" appsettings.json +sudo sed -i "s/127.0.0.1/$ip/g" ../../AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java +sudo sed -i "s/127.0.0.1/$ip/g" ../../AElfClientTest/src/main/java/io/aelf/test/NetSdkTest.java sudo docker pull aelf/node:testnet-v0.9.2 sudo docker run -itd --name aelf-node-test -v $dir:/opt/node -v $dir/keys:/root/.local/share/aelf/keys -p 8200:8000 -p 6801:6800 -w /opt/node aelf/node:testnet-v0.9.2 dotnet /app/AElf.Launcher.dll sleep 30 height=`curl -s http://$ip:8200/api/blockChain/blockHeight` -echo "ip: $ip" echo "height is $height" From ade75508264bbc703cc1fdad5356acd2abcbafe9 Mon Sep 17 00:00:00 2001 From: wudameinv Date: Wed, 6 May 2020 10:43:37 +0000 Subject: [PATCH 10/56] improve yml --- azure-pipelines-1.yml | 15 ++++++++++++ azure-pipelines.yml | 31 ++++++++++++++---------- scripts/aelf-node/appsettings.json | 16 ++++--------- scripts/aelf-node/start-mac.sh | 11 +++++++++ scripts/aelf-node/start-window.ps1 | 38 ++++++++++++++++++++++++++++++ scripts/aelf-node/start.sh | 19 +++++++++------ 6 files changed, 98 insertions(+), 32 deletions(-) create mode 100644 azure-pipelines-1.yml create mode 100644 scripts/aelf-node/start-mac.sh create mode 100644 scripts/aelf-node/start-window.ps1 diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml new file mode 100644 index 0000000..6099396 --- /dev/null +++ b/azure-pipelines-1.yml @@ -0,0 +1,15 @@ +services: + redis: + image: redis + ports: + - 6379:6379 +pool: + vmImage: 'Ubuntu 16.04' + +variables: + imageName: 'aelf-sdk.java:$(build.buildId)' + +steps: + - script: cd scripts/aelf-node && bash start.sh + - script: docker build -f Dockerfile -t $(imageName) . + displayName: 'docker build' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6099396..57cbb18 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,15 +1,20 @@ -services: - redis: - image: redis - ports: +jobs: +# All tasks on Linux +- job: build_all_linux + displayName: Build all tasks (Linux) + services: + redis: + image: redis + ports: - 6379:6379 -pool: - vmImage: 'Ubuntu 16.04' - -variables: - imageName: 'aelf-sdk.java:$(build.buildId)' - -steps: + pool: + vmImage: ubuntu-latest + steps: + - task: DotNetCoreInstaller@0 + inputs: + version: '3.1.101' - script: cd scripts/aelf-node && bash start.sh - - script: docker build -f Dockerfile -t $(imageName) . - displayName: 'docker build' + displayName: 'Deploy a full node' + - script: bash build.sh + displayName: 'build and test' + diff --git a/scripts/aelf-node/appsettings.json b/scripts/aelf-node/appsettings.json index 4819e2c..5d2eda8 100644 --- a/scripts/aelf-node/appsettings.json +++ b/scripts/aelf-node/appsettings.json @@ -5,8 +5,8 @@ "AllowedHosts": "*", "CorsOrigins": "*", "ConnectionStrings": { - "BlockchainDb": "redis://172.31.8.57:6379", - "StateDb": "redis://172.31.8.57:6379" + "BlockchainDb": "redis://127.0.0.1:6379", + "StateDb": "redis://127.0.0.1:6379" }, "Account": { "NodeAccount": "SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM", @@ -32,21 +32,13 @@ }, "Consensus": { "InitialMinerList": [ - ], + ], "MiningInterval": 4000, "StartTimestamp": "0", - "TimeEachTerm": 604800, + "PeriodSeconds": 604800, "MinerIncreaseInterval": 31536000 }, "Transaction": { "PoolLimit": 10240 - }, - "CrossChain": { - "Grpc": { - "ListeningPort": 5001 - } - }, - "Contract": { - "ContractDeploymentAuthorityRequired": "true" } } diff --git a/scripts/aelf-node/start-mac.sh b/scripts/aelf-node/start-mac.sh new file mode 100644 index 0000000..4e23e95 --- /dev/null +++ b/scripts/aelf-node/start-mac.sh @@ -0,0 +1,11 @@ +brew install redis +brew services start redis +brew install unzip +mkdir -p ~/.local/share/aelf/keys +cd ../../ +wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-preview1/aelf.zip && unzip aelf.zip +cp scripts/aelf-node/keys/SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM.json ~/.local/share/aelf/keys/ +cp scripts/aelf-node/app* aelf/ +echo "start node" +cd aelf && dotnet AElf.Launcher.dll >/dev/null 2>&1 & +sleep 60 diff --git a/scripts/aelf-node/start-window.ps1 b/scripts/aelf-node/start-window.ps1 new file mode 100644 index 0000000..a63fa16 --- /dev/null +++ b/scripts/aelf-node/start-window.ps1 @@ -0,0 +1,38 @@ +# wget https://github.com/microsoftarchive/redis/releases/download/win-3.2.100/Redis-x64-3.2.100.zip -OutFile redis.zip +# Expand-Archive -Path redis.zip -DestinationPath redis ; +# $job1 = Start-Job -ScriptBlock { cd D:\a\1\s\redis; .\redis-server.exe; } +# sleep 30 +# mkdir -p C:\Users\VssAdministrator\AppData\Local\aelf\keys +# cp -r scripts\aelf-node\keys\* C:\Users\VssAdministrator\AppData\Local\aelf\keys; +# wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-preview1/aelf.zip -OutFile aelf.zip ; +# Expand-Archive -Path aelf.zip -DestinationPath aelf ; +# cp scripts\aelf-node\appsettings.json aelf\aelf\appsettings.json ; +# cp scripts\aelf-node\appsettings.MainChain.TestNet.json aelf\aelf\appsettings.MainChain.TestNet.json ; +# cd aelf/aelf +# $job2 = Start-Job -ScriptBlock { cd D:\a\1\s\aelf\aelf; dotnet AElf.Launcher.dll; } +# sleep 60 +cd D:\a\1\s +cd client/ +go build +cd ../dto/ +go build +cd ../model/ +go build +cd ../utils/ +go build +cd ../protobuf/generated/ +go build +cd ../../test +go test +# cd client/ +# go build +# cd ../dto/ +# go build +# cd ../model/ +# go build +# cd ../utils/ +# go build +# cd ../protobuf/generated/ +# go build +# cd ../../test +# go test diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index d3405eb..fe7375a 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -1,11 +1,16 @@ #!/bin/bash -dir=`pwd` ip=`ip a | grep eth0 |grep 'inet' | awk -F/ '{print $1}'| awk '{print $2}'` -sudo sed -i "s/172.31.8.57/$ip/g" appsettings.json -sudo sed -i "s/127.0.0.1/$ip/g" ../../AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java -sudo sed -i "s/127.0.0.1/$ip/g" ../../AElfClientTest/src/main/java/io/aelf/test/NetSdkTest.java -sudo docker pull aelf/node:testnet-v0.9.2 -sudo docker run -itd --name aelf-node-test -v $dir:/opt/node -v $dir/keys:/root/.local/share/aelf/keys -p 8200:8000 -p 6801:6800 -w /opt/node aelf/node:testnet-v0.9.2 dotnet /app/AElf.Launcher.dll +sudo apt update && apt install unzip +sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys +cd ../../ +wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-preview1/aelf.zip +sudo unzip aelf.zip +sed -i "s/127.0.0.1/$ip/g" scripts/aelf-node/appsettings.json +sudo mkdir -p aelf/aelf/keys +sudo cp scripts/aelf-node/keys/*.json aelf/aelf/keys/ +sudo cp scripts/aelf-node/app* aelf/ +echo "start node" +cd aelf && sudo dotnet AElf.Launcher.dll >/dev/null 2>&1 & sleep 30 -height=`curl -s http://$ip:8200/api/blockChain/blockHeight` +height=`curl -s http://$ip:8000/api/blockChain/blockHeight` echo "height is $height" From fe71d01ce28fbc1f6ca2812628954a72fb5c2b95 Mon Sep 17 00:00:00 2001 From: wudameinv <53204268+wudameinv@users.noreply.github.com> Date: Wed, 6 May 2020 18:52:55 +0800 Subject: [PATCH 11/56] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6099396..55e4e26 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,15 +1,19 @@ -services: - redis: - image: redis - ports: +jobs: +# All tasks on Linux +- job: build_all_linux + displayName: Build all tasks (Linux) + services: + redis: + image: redis + ports: - 6379:6379 -pool: - vmImage: 'Ubuntu 16.04' - -variables: - imageName: 'aelf-sdk.java:$(build.buildId)' - -steps: + pool: + vmImage: ubuntu-latest + steps: + - task: DotNetCoreInstaller@0 + inputs: + version: '3.1.101' - script: cd scripts/aelf-node && bash start.sh - - script: docker build -f Dockerfile -t $(imageName) . - displayName: 'docker build' + displayName: 'Deploy a full node' + - script: bash build.sh + displayName: 'build and test' From f9f87a385b6b15f339efcb8d888d614ec56bd428 Mon Sep 17 00:00:00 2001 From: wudameinv Date: Wed, 6 May 2020 13:03:37 +0000 Subject: [PATCH 12/56] improve yml --- .../java/io/aelf/test/BlockChainSdkTest.java | 2 +- .../main/java/io/aelf/test/NetSdkTest.java | 2 +- azure-pipelines.yml | 28 +++++++++- scripts/aelf-node/appsettings.json | 12 ++++- scripts/aelf-node/start-mac.sh | 1 - scripts/aelf-node/start-window.ps1 | 51 +++++-------------- scripts/aelf-node/start.sh | 3 +- 7 files changed, 55 insertions(+), 44 deletions(-) diff --git a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java index 3e037b8..594710e 100644 --- a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java +++ b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java @@ -41,7 +41,7 @@ public class BlockChainSdkTest { - static final String HTTPURL = "http://127.0.0.1:8200"; + static final String HTTPURL = "http://127.0.0.1:8000"; AElfClient client = null; String privateKey = "cd86ab6347d8e52bbbe8532141fc59ce596268143a308d1d40fedf385528b458"; String address = ""; diff --git a/AElfClientTest/src/main/java/io/aelf/test/NetSdkTest.java b/AElfClientTest/src/main/java/io/aelf/test/NetSdkTest.java index 2f94184..f013eea 100644 --- a/AElfClientTest/src/main/java/io/aelf/test/NetSdkTest.java +++ b/AElfClientTest/src/main/java/io/aelf/test/NetSdkTest.java @@ -11,7 +11,7 @@ public class NetSdkTest { - static final String HTTPURL = "http://127.0.0.1:8200"; + static final String HTTPURL = "http://127.0.0.1:8000"; static final String OPREATIONADDRESS = "127.0.0.1:7003"; AElfClient client = null; diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 57cbb18..327e670 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,16 @@ jobs: +# All tasks on window +- job: build_all_window + pool: + vmImage: 'windows-2019' + variables: + phpVersion: 7.2 + steps: + - task: DotNetCoreInstaller@0 + inputs: + version: '3.1.101' + - powershell: ./scripts/aelf-node/start-window.ps1 + displayName: 'deploy and test' # All tasks on Linux - job: build_all_linux displayName: Build all tasks (Linux) @@ -17,4 +29,18 @@ jobs: displayName: 'Deploy a full node' - script: bash build.sh displayName: 'build and test' - +- job: build_all_macos +# All tasks on macOS + displayName: Build all tasks (macos) + pool: + vmImage: macos-latest + variables: + phpVersion: 7.2 + steps: + - task: DotNetCoreInstaller@0 + inputs: + version: '3.1.101' + - script: cd scripts/aelf-node && bash start-mac.sh + displayName: 'Deploy a full node' + - script: bash build.sh + displayName: 'build and test' diff --git a/scripts/aelf-node/appsettings.json b/scripts/aelf-node/appsettings.json index 5d2eda8..c301601 100644 --- a/scripts/aelf-node/appsettings.json +++ b/scripts/aelf-node/appsettings.json @@ -32,13 +32,21 @@ }, "Consensus": { "InitialMinerList": [ - ], + ], "MiningInterval": 4000, "StartTimestamp": "0", - "PeriodSeconds": 604800, + "TimeEachTerm": 604800, "MinerIncreaseInterval": 31536000 }, "Transaction": { "PoolLimit": 10240 + }, + "CrossChain": { + "Grpc": { + "ListeningPort": 5001 + } + }, + "Contract": { + "ContractDeploymentAuthorityRequired": "true" } } diff --git a/scripts/aelf-node/start-mac.sh b/scripts/aelf-node/start-mac.sh index 4e23e95..6625adb 100644 --- a/scripts/aelf-node/start-mac.sh +++ b/scripts/aelf-node/start-mac.sh @@ -8,4 +8,3 @@ cp scripts/aelf-node/keys/SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM.json cp scripts/aelf-node/app* aelf/ echo "start node" cd aelf && dotnet AElf.Launcher.dll >/dev/null 2>&1 & -sleep 60 diff --git a/scripts/aelf-node/start-window.ps1 b/scripts/aelf-node/start-window.ps1 index a63fa16..a74fe35 100644 --- a/scripts/aelf-node/start-window.ps1 +++ b/scripts/aelf-node/start-window.ps1 @@ -1,38 +1,15 @@ -# wget https://github.com/microsoftarchive/redis/releases/download/win-3.2.100/Redis-x64-3.2.100.zip -OutFile redis.zip -# Expand-Archive -Path redis.zip -DestinationPath redis ; -# $job1 = Start-Job -ScriptBlock { cd D:\a\1\s\redis; .\redis-server.exe; } -# sleep 30 -# mkdir -p C:\Users\VssAdministrator\AppData\Local\aelf\keys -# cp -r scripts\aelf-node\keys\* C:\Users\VssAdministrator\AppData\Local\aelf\keys; -# wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-preview1/aelf.zip -OutFile aelf.zip ; -# Expand-Archive -Path aelf.zip -DestinationPath aelf ; -# cp scripts\aelf-node\appsettings.json aelf\aelf\appsettings.json ; -# cp scripts\aelf-node\appsettings.MainChain.TestNet.json aelf\aelf\appsettings.MainChain.TestNet.json ; -# cd aelf/aelf -# $job2 = Start-Job -ScriptBlock { cd D:\a\1\s\aelf\aelf; dotnet AElf.Launcher.dll; } -# sleep 60 +wget https://github.com/microsoftarchive/redis/releases/download/win-3.2.100/Redis-x64-3.2.100.zip -OutFile redis.zip +Expand-Archive -Path redis.zip -DestinationPath redis ; +$job1 = Start-Job -ScriptBlock { cd D:\a\1\s\redis; .\redis-server.exe; } +sleep 30 +mkdir -p C:\Users\VssAdministrator\AppData\Local\aelf\keys +cp -r scripts\aelf-node\keys\* C:\Users\VssAdministrator\AppData\Local\aelf\keys; +wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-preview1/aelf.zip -OutFile aelf.zip ; +Expand-Archive -Path aelf.zip -DestinationPath aelf ; +cp scripts\aelf-node\appsettings.json aelf\aelf\appsettings.json ; +cp scripts\aelf-node\appsettings.MainChain.TestNet.json aelf\aelf\appsettings.MainChain.TestNet.json ; +cd aelf/aelf +$job2 = Start-Job -ScriptBlock { cd D:\a\1\s\aelf\aelf; dotnet AElf.Launcher.dll; } +sleep 60 cd D:\a\1\s -cd client/ -go build -cd ../dto/ -go build -cd ../model/ -go build -cd ../utils/ -go build -cd ../protobuf/generated/ -go build -cd ../../test -go test -# cd client/ -# go build -# cd ../dto/ -# go build -# cd ../model/ -# go build -# cd ../utils/ -# go build -# cd ../protobuf/generated/ -# go build -# cd ../../test -# go test +bash build.sh diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index fe7375a..d740f33 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -1,11 +1,12 @@ #!/bin/bash +dir=`pwd` ip=`ip a | grep eth0 |grep 'inet' | awk -F/ '{print $1}'| awk '{print $2}'` +sudo sed -i "s/127.0.0.1/$ip/g" appsettings.json sudo apt update && apt install unzip sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys cd ../../ wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-preview1/aelf.zip sudo unzip aelf.zip -sed -i "s/127.0.0.1/$ip/g" scripts/aelf-node/appsettings.json sudo mkdir -p aelf/aelf/keys sudo cp scripts/aelf-node/keys/*.json aelf/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ From db01ed9d128bacd1d9b7b8af56ebd1f5e423cd11 Mon Sep 17 00:00:00 2001 From: wudameinv Date: Wed, 6 May 2020 13:16:40 +0000 Subject: [PATCH 13/56] improve yml --- Dockerfile | 5 ----- azure-pipelines-1.yml | 15 --------------- 2 files changed, 20 deletions(-) delete mode 100644 Dockerfile delete mode 100644 azure-pipelines-1.yml diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 0dfc877..0000000 --- a/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM maven:3.6-jdk-8 -RUN mkdir /app -ADD . /app/ -WORKDIR /app -RUN /bin/bash build.sh diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml deleted file mode 100644 index 6099396..0000000 --- a/azure-pipelines-1.yml +++ /dev/null @@ -1,15 +0,0 @@ -services: - redis: - image: redis - ports: - - 6379:6379 -pool: - vmImage: 'Ubuntu 16.04' - -variables: - imageName: 'aelf-sdk.java:$(build.buildId)' - -steps: - - script: cd scripts/aelf-node && bash start.sh - - script: docker build -f Dockerfile -t $(imageName) . - displayName: 'docker build' From 3e67363af6b6ce09d339e68cf345afd99b869e00 Mon Sep 17 00:00:00 2001 From: zhxymh Date: Thu, 26 Nov 2020 15:18:29 +0800 Subject: [PATCH 14/56] update test node and proto files --- .../protobuf/generated/AedposContract.java | 256 +- .../generated/AssociationAuthContract.java | 2024 +- .../protobuf/generated/BasicContractZero.java | 846 - .../io/aelf/protobuf/generated/Client.java | 19254 +++++++++++----- .../java/io/aelf/protobuf/generated/Core.java | 2863 +-- .../generated/CrossChainContract.java | 178 +- .../protobuf/generated/ElectionContract.java | 3030 ++- .../generated/ParliamentAuthContract.java | 945 +- .../protobuf/generated/ProfitContract.java | 2926 ++- .../generated/ReferendumAuthContract.java | 966 +- .../protobuf/generated/ResourceContract.java | 2295 -- .../generated/ToeknConverterContract.java | 459 +- .../protobuf/generated/TokenContract.java | 2962 ++- .../protobuf/generated/TransactionFee.java | 497 +- .../aelf/protobuf/generated/VoteContract.java | 1424 +- .../aelf/protobuf/proto/aedpos_contract.proto | 9 +- .../proto/association_auth_contract.proto | 19 +- .../protobuf/proto/basic_contract_zero.proto | 10 - .../java/io/aelf/protobuf/proto/client.proto | 149 +- .../java/io/aelf/protobuf/proto/core.proto | 20 +- .../protobuf/proto/cross_chain_contract.proto | 6 +- .../protobuf/proto/election_contract.proto | 113 +- .../proto/parliament_auth_contract.proto | 12 +- .../aelf/protobuf/proto/profit_contract.proto | 64 +- .../proto/referendum_auth_contract.proto | 10 +- .../protobuf/proto/resource_contract.proto | 29 - .../proto/toekn_converter_contract.proto | 14 +- .../aelf/protobuf/proto/token_contract.proto | 70 +- .../aelf/protobuf/proto/transaction_fee.proto | 12 +- .../aelf/protobuf/proto/vote_contract.proto | 38 +- scripts/aelf-node/start-mac.sh | 2 +- scripts/aelf-node/start-window.ps1 | 2 +- scripts/aelf-node/start.sh | 2 +- 33 files changed, 26385 insertions(+), 15121 deletions(-) delete mode 100644 AElfClient/src/main/java/io/aelf/protobuf/generated/BasicContractZero.java delete mode 100644 AElfClient/src/main/java/io/aelf/protobuf/generated/ResourceContract.java delete mode 100644 AElfClient/src/main/java/io/aelf/protobuf/proto/basic_contract_zero.proto delete mode 100644 AElfClient/src/main/java/io/aelf/protobuf/proto/resource_contract.proto diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/AedposContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/AedposContract.java index a1455ee..029e246 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/AedposContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/AedposContract.java @@ -19,16 +19,28 @@ public interface MinerListOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The miners public key list.
+     * 
+ * * repeated bytes pubkeys = 1; * @return A list containing the pubkeys. */ java.util.List getPubkeysList(); /** + *
+     * The miners public key list.
+     * 
+ * * repeated bytes pubkeys = 1; * @return The count of pubkeys. */ int getPubkeysCount(); /** + *
+     * The miners public key list.
+     * 
+ * * repeated bytes pubkeys = 1; * @param index The index of the element to return. * @return The pubkeys at the given index. @@ -132,6 +144,10 @@ private MinerList( public static final int PUBKEYS_FIELD_NUMBER = 1; private java.util.List pubkeys_; /** + *
+     * The miners public key list.
+     * 
+ * * repeated bytes pubkeys = 1; * @return A list containing the pubkeys. */ @@ -140,6 +156,10 @@ private MinerList( return pubkeys_; } /** + *
+     * The miners public key list.
+     * 
+ * * repeated bytes pubkeys = 1; * @return The count of pubkeys. */ @@ -147,6 +167,10 @@ public int getPubkeysCount() { return pubkeys_.size(); } /** + *
+     * The miners public key list.
+     * 
+ * * repeated bytes pubkeys = 1; * @param index The index of the element to return. * @return The pubkeys at the given index. @@ -489,6 +513,10 @@ private void ensurePubkeysIsMutable() { } } /** + *
+       * The miners public key list.
+       * 
+ * * repeated bytes pubkeys = 1; * @return A list containing the pubkeys. */ @@ -498,6 +526,10 @@ private void ensurePubkeysIsMutable() { java.util.Collections.unmodifiableList(pubkeys_) : pubkeys_; } /** + *
+       * The miners public key list.
+       * 
+ * * repeated bytes pubkeys = 1; * @return The count of pubkeys. */ @@ -505,6 +537,10 @@ public int getPubkeysCount() { return pubkeys_.size(); } /** + *
+       * The miners public key list.
+       * 
+ * * repeated bytes pubkeys = 1; * @param index The index of the element to return. * @return The pubkeys at the given index. @@ -513,6 +549,10 @@ public com.google.protobuf.ByteString getPubkeys(int index) { return pubkeys_.get(index); } /** + *
+       * The miners public key list.
+       * 
+ * * repeated bytes pubkeys = 1; * @param index The index to set the value at. * @param value The pubkeys to set. @@ -529,6 +569,10 @@ public Builder setPubkeys( return this; } /** + *
+       * The miners public key list.
+       * 
+ * * repeated bytes pubkeys = 1; * @param value The pubkeys to add. * @return This builder for chaining. @@ -543,6 +587,10 @@ public Builder addPubkeys(com.google.protobuf.ByteString value) { return this; } /** + *
+       * The miners public key list.
+       * 
+ * * repeated bytes pubkeys = 1; * @param values The pubkeys to add. * @return This builder for chaining. @@ -556,6 +604,10 @@ public Builder addAllPubkeys( return this; } /** + *
+       * The miners public key list.
+       * 
+ * * repeated bytes pubkeys = 1; * @return This builder for chaining. */ @@ -623,23 +675,39 @@ public interface PubkeyListOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The miners public key list.
+     * 
+ * * repeated string pubkeys = 1; * @return A list containing the pubkeys. */ java.util.List getPubkeysList(); /** + *
+     * The miners public key list.
+     * 
+ * * repeated string pubkeys = 1; * @return The count of pubkeys. */ int getPubkeysCount(); /** + *
+     * The miners public key list.
+     * 
+ * * repeated string pubkeys = 1; * @param index The index of the element to return. * @return The pubkeys at the given index. */ java.lang.String getPubkeys(int index); /** + *
+     * The miners public key list.
+     * 
+ * * repeated string pubkeys = 1; * @param index The index of the value to return. * @return The bytes of the pubkeys at the given index. @@ -741,6 +809,10 @@ private PubkeyList( public static final int PUBKEYS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList pubkeys_; /** + *
+     * The miners public key list.
+     * 
+ * * repeated string pubkeys = 1; * @return A list containing the pubkeys. */ @@ -749,6 +821,10 @@ private PubkeyList( return pubkeys_; } /** + *
+     * The miners public key list.
+     * 
+ * * repeated string pubkeys = 1; * @return The count of pubkeys. */ @@ -756,6 +832,10 @@ public int getPubkeysCount() { return pubkeys_.size(); } /** + *
+     * The miners public key list.
+     * 
+ * * repeated string pubkeys = 1; * @param index The index of the element to return. * @return The pubkeys at the given index. @@ -764,6 +844,10 @@ public java.lang.String getPubkeys(int index) { return pubkeys_.get(index); } /** + *
+     * The miners public key list.
+     * 
+ * * repeated string pubkeys = 1; * @param index The index of the value to return. * @return The bytes of the pubkeys at the given index. @@ -1102,6 +1186,10 @@ private void ensurePubkeysIsMutable() { } } /** + *
+       * The miners public key list.
+       * 
+ * * repeated string pubkeys = 1; * @return A list containing the pubkeys. */ @@ -1110,6 +1198,10 @@ private void ensurePubkeysIsMutable() { return pubkeys_.getUnmodifiableView(); } /** + *
+       * The miners public key list.
+       * 
+ * * repeated string pubkeys = 1; * @return The count of pubkeys. */ @@ -1117,6 +1209,10 @@ public int getPubkeysCount() { return pubkeys_.size(); } /** + *
+       * The miners public key list.
+       * 
+ * * repeated string pubkeys = 1; * @param index The index of the element to return. * @return The pubkeys at the given index. @@ -1125,6 +1221,10 @@ public java.lang.String getPubkeys(int index) { return pubkeys_.get(index); } /** + *
+       * The miners public key list.
+       * 
+ * * repeated string pubkeys = 1; * @param index The index of the value to return. * @return The bytes of the pubkeys at the given index. @@ -1134,6 +1234,10 @@ public java.lang.String getPubkeys(int index) { return pubkeys_.getByteString(index); } /** + *
+       * The miners public key list.
+       * 
+ * * repeated string pubkeys = 1; * @param index The index to set the value at. * @param value The pubkeys to set. @@ -1150,6 +1254,10 @@ public Builder setPubkeys( return this; } /** + *
+       * The miners public key list.
+       * 
+ * * repeated string pubkeys = 1; * @param value The pubkeys to add. * @return This builder for chaining. @@ -1165,6 +1273,10 @@ public Builder addPubkeys( return this; } /** + *
+       * The miners public key list.
+       * 
+ * * repeated string pubkeys = 1; * @param values The pubkeys to add. * @return This builder for chaining. @@ -1178,6 +1290,10 @@ public Builder addAllPubkeys( return this; } /** + *
+       * The miners public key list.
+       * 
+ * * repeated string pubkeys = 1; * @return This builder for chaining. */ @@ -1188,6 +1304,10 @@ public Builder clearPubkeys() { return this; } /** + *
+       * The miners public key list.
+       * 
+ * * repeated string pubkeys = 1; * @param value The bytes of the pubkeys to add. * @return This builder for chaining. @@ -1261,22 +1381,38 @@ public interface MinerListWithRoundNumberOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The list of miners.
+     * 
+ * * .MinerList miner_list = 1; * @return Whether the minerList field is set. */ boolean hasMinerList(); /** + *
+     * The list of miners.
+     * 
+ * * .MinerList miner_list = 1; * @return The minerList. */ io.aelf.protobuf.generated.AedposContract.MinerList getMinerList(); /** + *
+     * The list of miners.
+     * 
+ * * .MinerList miner_list = 1; */ io.aelf.protobuf.generated.AedposContract.MinerListOrBuilder getMinerListOrBuilder(); /** - * sint64 round_number = 2; + *
+     * The round number.
+     * 
+ * + * int64 round_number = 2; * @return The roundNumber. */ long getRoundNumber(); @@ -1341,7 +1477,7 @@ private MinerListWithRoundNumber( } case 16: { - roundNumber_ = input.readSInt64(); + roundNumber_ = input.readInt64(); break; } default: { @@ -1379,6 +1515,10 @@ private MinerListWithRoundNumber( public static final int MINER_LIST_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.AedposContract.MinerList minerList_; /** + *
+     * The list of miners.
+     * 
+ * * .MinerList miner_list = 1; * @return Whether the minerList field is set. */ @@ -1386,6 +1526,10 @@ public boolean hasMinerList() { return minerList_ != null; } /** + *
+     * The list of miners.
+     * 
+ * * .MinerList miner_list = 1; * @return The minerList. */ @@ -1393,6 +1537,10 @@ public io.aelf.protobuf.generated.AedposContract.MinerList getMinerList() { return minerList_ == null ? io.aelf.protobuf.generated.AedposContract.MinerList.getDefaultInstance() : minerList_; } /** + *
+     * The list of miners.
+     * 
+ * * .MinerList miner_list = 1; */ public io.aelf.protobuf.generated.AedposContract.MinerListOrBuilder getMinerListOrBuilder() { @@ -1402,7 +1550,11 @@ public io.aelf.protobuf.generated.AedposContract.MinerListOrBuilder getMinerList public static final int ROUND_NUMBER_FIELD_NUMBER = 2; private long roundNumber_; /** - * sint64 round_number = 2; + *
+     * The round number.
+     * 
+ * + * int64 round_number = 2; * @return The roundNumber. */ public long getRoundNumber() { @@ -1427,7 +1579,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(1, getMinerList()); } if (roundNumber_ != 0L) { - output.writeSInt64(2, roundNumber_); + output.writeInt64(2, roundNumber_); } unknownFields.writeTo(output); } @@ -1444,7 +1596,7 @@ public int getSerializedSize() { } if (roundNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, roundNumber_); + .computeInt64Size(2, roundNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1746,6 +1898,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.AedposContract.MinerList, io.aelf.protobuf.generated.AedposContract.MinerList.Builder, io.aelf.protobuf.generated.AedposContract.MinerListOrBuilder> minerListBuilder_; /** + *
+       * The list of miners.
+       * 
+ * * .MinerList miner_list = 1; * @return Whether the minerList field is set. */ @@ -1753,6 +1909,10 @@ public boolean hasMinerList() { return minerListBuilder_ != null || minerList_ != null; } /** + *
+       * The list of miners.
+       * 
+ * * .MinerList miner_list = 1; * @return The minerList. */ @@ -1764,6 +1924,10 @@ public io.aelf.protobuf.generated.AedposContract.MinerList getMinerList() { } } /** + *
+       * The list of miners.
+       * 
+ * * .MinerList miner_list = 1; */ public Builder setMinerList(io.aelf.protobuf.generated.AedposContract.MinerList value) { @@ -1780,6 +1944,10 @@ public Builder setMinerList(io.aelf.protobuf.generated.AedposContract.MinerList return this; } /** + *
+       * The list of miners.
+       * 
+ * * .MinerList miner_list = 1; */ public Builder setMinerList( @@ -1794,6 +1962,10 @@ public Builder setMinerList( return this; } /** + *
+       * The list of miners.
+       * 
+ * * .MinerList miner_list = 1; */ public Builder mergeMinerList(io.aelf.protobuf.generated.AedposContract.MinerList value) { @@ -1812,6 +1984,10 @@ public Builder mergeMinerList(io.aelf.protobuf.generated.AedposContract.MinerLis return this; } /** + *
+       * The list of miners.
+       * 
+ * * .MinerList miner_list = 1; */ public Builder clearMinerList() { @@ -1826,6 +2002,10 @@ public Builder clearMinerList() { return this; } /** + *
+       * The list of miners.
+       * 
+ * * .MinerList miner_list = 1; */ public io.aelf.protobuf.generated.AedposContract.MinerList.Builder getMinerListBuilder() { @@ -1834,6 +2014,10 @@ public io.aelf.protobuf.generated.AedposContract.MinerList.Builder getMinerListB return getMinerListFieldBuilder().getBuilder(); } /** + *
+       * The list of miners.
+       * 
+ * * .MinerList miner_list = 1; */ public io.aelf.protobuf.generated.AedposContract.MinerListOrBuilder getMinerListOrBuilder() { @@ -1845,6 +2029,10 @@ public io.aelf.protobuf.generated.AedposContract.MinerListOrBuilder getMinerList } } /** + *
+       * The list of miners.
+       * 
+ * * .MinerList miner_list = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -1863,14 +2051,22 @@ public io.aelf.protobuf.generated.AedposContract.MinerListOrBuilder getMinerList private long roundNumber_ ; /** - * sint64 round_number = 2; + *
+       * The round number.
+       * 
+ * + * int64 round_number = 2; * @return The roundNumber. */ public long getRoundNumber() { return roundNumber_; } /** - * sint64 round_number = 2; + *
+       * The round number.
+       * 
+ * + * int64 round_number = 2; * @param value The roundNumber to set. * @return This builder for chaining. */ @@ -1881,7 +2077,11 @@ public Builder setRoundNumber(long value) { return this; } /** - * sint64 round_number = 2; + *
+       * The round number.
+       * 
+ * + * int64 round_number = 2; * @return This builder for chaining. */ public Builder clearRoundNumber() { @@ -1948,7 +2148,11 @@ public interface GetMinerListInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * sint64 term_number = 1; + *
+     * The term number.
+     * 
+ * + * int64 term_number = 1; * @return The termNumber. */ long getTermNumber(); @@ -2000,7 +2204,7 @@ private GetMinerListInput( break; case 8: { - termNumber_ = input.readSInt64(); + termNumber_ = input.readInt64(); break; } default: { @@ -2038,7 +2242,11 @@ private GetMinerListInput( public static final int TERM_NUMBER_FIELD_NUMBER = 1; private long termNumber_; /** - * sint64 term_number = 1; + *
+     * The term number.
+     * 
+ * + * int64 term_number = 1; * @return The termNumber. */ public long getTermNumber() { @@ -2060,7 +2268,7 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (termNumber_ != 0L) { - output.writeSInt64(1, termNumber_); + output.writeInt64(1, termNumber_); } unknownFields.writeTo(output); } @@ -2073,7 +2281,7 @@ public int getSerializedSize() { size = 0; if (termNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, termNumber_); + .computeInt64Size(1, termNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2350,14 +2558,22 @@ public Builder mergeFrom( private long termNumber_ ; /** - * sint64 term_number = 1; + *
+       * The term number.
+       * 
+ * + * int64 term_number = 1; * @return The termNumber. */ public long getTermNumber() { return termNumber_; } /** - * sint64 term_number = 1; + *
+       * The term number.
+       * 
+ * + * int64 term_number = 1; * @param value The termNumber to set. * @return This builder for chaining. */ @@ -2368,7 +2584,11 @@ public Builder setTermNumber(long value) { return this; } /** - * sint64 term_number = 1; + *
+       * The term number.
+       * 
+ * + * int64 term_number = 1; * @return This builder for chaining. */ public Builder clearTermNumber() { @@ -2463,8 +2683,8 @@ public io.aelf.protobuf.generated.AedposContract.GetMinerListInput getDefaultIns "pubkeys\030\001 \003(\014\"\035\n\nPubkeyList\022\017\n\007pubkeys\030\001" + " \003(\t\"P\n\030MinerListWithRoundNumber\022\036\n\nmine" + "r_list\030\001 \001(\0132\n.MinerList\022\024\n\014round_number" + - "\030\002 \001(\022\"(\n\021GetMinerListInput\022\023\n\013term_numb" + - "er\030\001 \001(\022B\034\n\032io.aelf.protobuf.generatedb\006" + + "\030\002 \001(\003\"(\n\021GetMinerListInput\022\023\n\013term_numb" + + "er\030\001 \001(\003B\034\n\032io.aelf.protobuf.generatedb\006" + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/AssociationAuthContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/AssociationAuthContract.java index af66c98..4bad3f1 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/AssociationAuthContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/AssociationAuthContract.java @@ -19,70 +19,166 @@ public interface OrganizationOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * int32 release_threshold = 1; - * @return The releaseThreshold. + *
+     * The organization members.
+     * 
+ * + * .OrganizationMemberList organization_member_list = 1; + * @return Whether the organizationMemberList field is set. */ - int getReleaseThreshold(); - + boolean hasOrganizationMemberList(); /** - * repeated .Reviewer reviewers = 2; + *
+     * The organization members.
+     * 
+ * + * .OrganizationMemberList organization_member_list = 1; + * @return The organizationMemberList. */ - java.util.List - getReviewersList(); + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList getOrganizationMemberList(); /** - * repeated .Reviewer reviewers = 2; + *
+     * The organization members.
+     * 
+ * + * .OrganizationMemberList organization_member_list = 1; */ - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer getReviewers(int index); + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberListOrBuilder getOrganizationMemberListOrBuilder(); + /** - * repeated .Reviewer reviewers = 2; + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; + * @return Whether the proposalReleaseThreshold field is set. */ - int getReviewersCount(); + boolean hasProposalReleaseThreshold(); /** - * repeated .Reviewer reviewers = 2; + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; + * @return The proposalReleaseThreshold. */ - java.util.List - getReviewersOrBuilderList(); + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getProposalReleaseThreshold(); /** - * repeated .Reviewer reviewers = 2; + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; */ - io.aelf.protobuf.generated.AssociationAuthContract.ReviewerOrBuilder getReviewersOrBuilder( - int index); + io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder getProposalReleaseThresholdOrBuilder(); /** - * int32 proposer_threshold = 3; - * @return The proposerThreshold. + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 3; + * @return Whether the proposerWhiteList field is set. + */ + boolean hasProposerWhiteList(); + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 3; + * @return The proposerWhiteList. */ - int getProposerThreshold(); + io.aelf.protobuf.generated.Client.ProposerWhiteList getProposerWhiteList(); + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 3; + */ + io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder getProposerWhiteListOrBuilder(); /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 4; * @return Whether the organizationAddress field is set. */ boolean hasOrganizationAddress(); /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 4; * @return The organizationAddress. */ io.aelf.protobuf.generated.Client.Address getOrganizationAddress(); /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 4; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder(); /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 5; * @return Whether the organizationHash field is set. */ boolean hasOrganizationHash(); /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 5; * @return The organizationHash. */ io.aelf.protobuf.generated.Client.Hash getOrganizationHash(); /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 5; */ io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuilder(); + + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return Whether the creationToken field is set. + */ + boolean hasCreationToken(); + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return The creationToken. + */ + io.aelf.protobuf.generated.Client.Hash getCreationToken(); + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + */ + io.aelf.protobuf.generated.Client.HashOrBuilder getCreationTokenOrBuilder(); } /** *
@@ -101,7 +197,6 @@ private Organization(com.google.protobuf.GeneratedMessageV3.Builder builder)
       super(builder);
     }
     private Organization() {
-      reviewers_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
@@ -124,7 +219,6 @@ private Organization(
       if (extensionRegistry == null) {
         throw new java.lang.NullPointerException();
       }
-      int mutable_bitField0_ = 0;
       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
           com.google.protobuf.UnknownFieldSet.newBuilder();
       try {
@@ -135,23 +229,43 @@ private Organization(
             case 0:
               done = true;
               break;
-            case 8: {
+            case 10: {
+              io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.Builder subBuilder = null;
+              if (organizationMemberList_ != null) {
+                subBuilder = organizationMemberList_.toBuilder();
+              }
+              organizationMemberList_ = input.readMessage(io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(organizationMemberList_);
+                organizationMemberList_ = subBuilder.buildPartial();
+              }
 
-              releaseThreshold_ = input.readInt32();
               break;
             }
             case 18: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                reviewers_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+              io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder subBuilder = null;
+              if (proposalReleaseThreshold_ != null) {
+                subBuilder = proposalReleaseThreshold_.toBuilder();
+              }
+              proposalReleaseThreshold_ = input.readMessage(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(proposalReleaseThreshold_);
+                proposalReleaseThreshold_ = subBuilder.buildPartial();
               }
-              reviewers_.add(
-                  input.readMessage(io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.parser(), extensionRegistry));
+
               break;
             }
-            case 24: {
+            case 26: {
+              io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder subBuilder = null;
+              if (proposerWhiteList_ != null) {
+                subBuilder = proposerWhiteList_.toBuilder();
+              }
+              proposerWhiteList_ = input.readMessage(io.aelf.protobuf.generated.Client.ProposerWhiteList.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(proposerWhiteList_);
+                proposerWhiteList_ = subBuilder.buildPartial();
+              }
 
-              proposerThreshold_ = input.readInt32();
               break;
             }
             case 34: {
@@ -180,6 +294,19 @@ private Organization(
 
               break;
             }
+            case 50: {
+              io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null;
+              if (creationToken_ != null) {
+                subBuilder = creationToken_.toBuilder();
+              }
+              creationToken_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(creationToken_);
+                creationToken_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -195,9 +322,6 @@ private Organization(
         throw new com.google.protobuf.InvalidProtocolBufferException(
             e).setUnfinishedMessage(this);
       } finally {
-        if (((mutable_bitField0_ & 0x00000001) != 0)) {
-          reviewers_ = java.util.Collections.unmodifiableList(reviewers_);
-        }
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
@@ -215,64 +339,118 @@ private Organization(
               io.aelf.protobuf.generated.AssociationAuthContract.Organization.class, io.aelf.protobuf.generated.AssociationAuthContract.Organization.Builder.class);
     }
 
-    public static final int RELEASE_THRESHOLD_FIELD_NUMBER = 1;
-    private int releaseThreshold_;
+    public static final int ORGANIZATION_MEMBER_LIST_FIELD_NUMBER = 1;
+    private io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList organizationMemberList_;
     /**
-     * int32 release_threshold = 1;
-     * @return The releaseThreshold.
+     * 
+     * The organization members.
+     * 
+ * + * .OrganizationMemberList organization_member_list = 1; + * @return Whether the organizationMemberList field is set. */ - public int getReleaseThreshold() { - return releaseThreshold_; + public boolean hasOrganizationMemberList() { + return organizationMemberList_ != null; } - - public static final int REVIEWERS_FIELD_NUMBER = 2; - private java.util.List reviewers_; /** - * repeated .Reviewer reviewers = 2; + *
+     * The organization members.
+     * 
+ * + * .OrganizationMemberList organization_member_list = 1; + * @return The organizationMemberList. */ - public java.util.List getReviewersList() { - return reviewers_; + public io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList getOrganizationMemberList() { + return organizationMemberList_ == null ? io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.getDefaultInstance() : organizationMemberList_; } /** - * repeated .Reviewer reviewers = 2; + *
+     * The organization members.
+     * 
+ * + * .OrganizationMemberList organization_member_list = 1; */ - public java.util.List - getReviewersOrBuilderList() { - return reviewers_; + public io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberListOrBuilder getOrganizationMemberListOrBuilder() { + return getOrganizationMemberList(); } + + public static final int PROPOSAL_RELEASE_THRESHOLD_FIELD_NUMBER = 2; + private io.aelf.protobuf.generated.Client.ProposalReleaseThreshold proposalReleaseThreshold_; /** - * repeated .Reviewer reviewers = 2; + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; + * @return Whether the proposalReleaseThreshold field is set. */ - public int getReviewersCount() { - return reviewers_.size(); + public boolean hasProposalReleaseThreshold() { + return proposalReleaseThreshold_ != null; } /** - * repeated .Reviewer reviewers = 2; + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; + * @return The proposalReleaseThreshold. */ - public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer getReviewers(int index) { - return reviewers_.get(index); + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getProposalReleaseThreshold() { + return proposalReleaseThreshold_ == null ? io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance() : proposalReleaseThreshold_; } /** - * repeated .Reviewer reviewers = 2; + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; */ - public io.aelf.protobuf.generated.AssociationAuthContract.ReviewerOrBuilder getReviewersOrBuilder( - int index) { - return reviewers_.get(index); + public io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder getProposalReleaseThresholdOrBuilder() { + return getProposalReleaseThreshold(); } - public static final int PROPOSER_THRESHOLD_FIELD_NUMBER = 3; - private int proposerThreshold_; + public static final int PROPOSER_WHITE_LIST_FIELD_NUMBER = 3; + private io.aelf.protobuf.generated.Client.ProposerWhiteList proposerWhiteList_; + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 3; + * @return Whether the proposerWhiteList field is set. + */ + public boolean hasProposerWhiteList() { + return proposerWhiteList_ != null; + } /** - * int32 proposer_threshold = 3; - * @return The proposerThreshold. + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 3; + * @return The proposerWhiteList. + */ + public io.aelf.protobuf.generated.Client.ProposerWhiteList getProposerWhiteList() { + return proposerWhiteList_ == null ? io.aelf.protobuf.generated.Client.ProposerWhiteList.getDefaultInstance() : proposerWhiteList_; + } + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 3; */ - public int getProposerThreshold() { - return proposerThreshold_; + public io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder getProposerWhiteListOrBuilder() { + return getProposerWhiteList(); } public static final int ORGANIZATION_ADDRESS_FIELD_NUMBER = 4; private io.aelf.protobuf.generated.Client.Address organizationAddress_; /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 4; * @return Whether the organizationAddress field is set. */ @@ -280,6 +458,10 @@ public boolean hasOrganizationAddress() { return organizationAddress_ != null; } /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 4; * @return The organizationAddress. */ @@ -287,6 +469,10 @@ public io.aelf.protobuf.generated.Client.Address getOrganizationAddress() { return organizationAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : organizationAddress_; } /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 4; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder() { @@ -296,6 +482,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress public static final int ORGANIZATION_HASH_FIELD_NUMBER = 5; private io.aelf.protobuf.generated.Client.Hash organizationHash_; /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 5; * @return Whether the organizationHash field is set. */ @@ -303,6 +493,10 @@ public boolean hasOrganizationHash() { return organizationHash_ != null; } /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 5; * @return The organizationHash. */ @@ -310,12 +504,51 @@ public io.aelf.protobuf.generated.Client.Hash getOrganizationHash() { return organizationHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : organizationHash_; } /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 5; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuilder() { return getOrganizationHash(); } + public static final int CREATION_TOKEN_FIELD_NUMBER = 6; + private io.aelf.protobuf.generated.Client.Hash creationToken_; + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return Whether the creationToken field is set. + */ + public boolean hasCreationToken() { + return creationToken_ != null; + } + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return The creationToken. + */ + public io.aelf.protobuf.generated.Client.Hash getCreationToken() { + return creationToken_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : creationToken_; + } + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getCreationTokenOrBuilder() { + return getCreationToken(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -330,14 +563,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (releaseThreshold_ != 0) { - output.writeInt32(1, releaseThreshold_); + if (organizationMemberList_ != null) { + output.writeMessage(1, getOrganizationMemberList()); } - for (int i = 0; i < reviewers_.size(); i++) { - output.writeMessage(2, reviewers_.get(i)); + if (proposalReleaseThreshold_ != null) { + output.writeMessage(2, getProposalReleaseThreshold()); } - if (proposerThreshold_ != 0) { - output.writeInt32(3, proposerThreshold_); + if (proposerWhiteList_ != null) { + output.writeMessage(3, getProposerWhiteList()); } if (organizationAddress_ != null) { output.writeMessage(4, getOrganizationAddress()); @@ -345,6 +578,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (organizationHash_ != null) { output.writeMessage(5, getOrganizationHash()); } + if (creationToken_ != null) { + output.writeMessage(6, getCreationToken()); + } unknownFields.writeTo(output); } @@ -354,17 +590,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (releaseThreshold_ != 0) { + if (organizationMemberList_ != null) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, releaseThreshold_); + .computeMessageSize(1, getOrganizationMemberList()); } - for (int i = 0; i < reviewers_.size(); i++) { + if (proposalReleaseThreshold_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, reviewers_.get(i)); + .computeMessageSize(2, getProposalReleaseThreshold()); } - if (proposerThreshold_ != 0) { + if (proposerWhiteList_ != null) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, proposerThreshold_); + .computeMessageSize(3, getProposerWhiteList()); } if (organizationAddress_ != null) { size += com.google.protobuf.CodedOutputStream @@ -374,6 +610,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getOrganizationHash()); } + if (creationToken_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreationToken()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -389,12 +629,21 @@ public boolean equals(final java.lang.Object obj) { } io.aelf.protobuf.generated.AssociationAuthContract.Organization other = (io.aelf.protobuf.generated.AssociationAuthContract.Organization) obj; - if (getReleaseThreshold() - != other.getReleaseThreshold()) return false; - if (!getReviewersList() - .equals(other.getReviewersList())) return false; - if (getProposerThreshold() - != other.getProposerThreshold()) return false; + if (hasOrganizationMemberList() != other.hasOrganizationMemberList()) return false; + if (hasOrganizationMemberList()) { + if (!getOrganizationMemberList() + .equals(other.getOrganizationMemberList())) return false; + } + if (hasProposalReleaseThreshold() != other.hasProposalReleaseThreshold()) return false; + if (hasProposalReleaseThreshold()) { + if (!getProposalReleaseThreshold() + .equals(other.getProposalReleaseThreshold())) return false; + } + if (hasProposerWhiteList() != other.hasProposerWhiteList()) return false; + if (hasProposerWhiteList()) { + if (!getProposerWhiteList() + .equals(other.getProposerWhiteList())) return false; + } if (hasOrganizationAddress() != other.hasOrganizationAddress()) return false; if (hasOrganizationAddress()) { if (!getOrganizationAddress() @@ -405,6 +654,11 @@ public boolean equals(final java.lang.Object obj) { if (!getOrganizationHash() .equals(other.getOrganizationHash())) return false; } + if (hasCreationToken() != other.hasCreationToken()) return false; + if (hasCreationToken()) { + if (!getCreationToken() + .equals(other.getCreationToken())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,14 +670,18 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RELEASE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + getReleaseThreshold(); - if (getReviewersCount() > 0) { - hash = (37 * hash) + REVIEWERS_FIELD_NUMBER; - hash = (53 * hash) + getReviewersList().hashCode(); - } - hash = (37 * hash) + PROPOSER_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + getProposerThreshold(); + if (hasOrganizationMemberList()) { + hash = (37 * hash) + ORGANIZATION_MEMBER_LIST_FIELD_NUMBER; + hash = (53 * hash) + getOrganizationMemberList().hashCode(); + } + if (hasProposalReleaseThreshold()) { + hash = (37 * hash) + PROPOSAL_RELEASE_THRESHOLD_FIELD_NUMBER; + hash = (53 * hash) + getProposalReleaseThreshold().hashCode(); + } + if (hasProposerWhiteList()) { + hash = (37 * hash) + PROPOSER_WHITE_LIST_FIELD_NUMBER; + hash = (53 * hash) + getProposerWhiteList().hashCode(); + } if (hasOrganizationAddress()) { hash = (37 * hash) + ORGANIZATION_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getOrganizationAddress().hashCode(); @@ -432,6 +690,10 @@ public int hashCode() { hash = (37 * hash) + ORGANIZATION_HASH_FIELD_NUMBER; hash = (53 * hash) + getOrganizationHash().hashCode(); } + if (hasCreationToken()) { + hash = (37 * hash) + CREATION_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getCreationToken().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -564,22 +826,29 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getReviewersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - releaseThreshold_ = 0; - - if (reviewersBuilder_ == null) { - reviewers_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); + if (organizationMemberListBuilder_ == null) { + organizationMemberList_ = null; } else { - reviewersBuilder_.clear(); + organizationMemberList_ = null; + organizationMemberListBuilder_ = null; + } + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThreshold_ = null; + } else { + proposalReleaseThreshold_ = null; + proposalReleaseThresholdBuilder_ = null; + } + if (proposerWhiteListBuilder_ == null) { + proposerWhiteList_ = null; + } else { + proposerWhiteList_ = null; + proposerWhiteListBuilder_ = null; } - proposerThreshold_ = 0; - if (organizationAddressBuilder_ == null) { organizationAddress_ = null; } else { @@ -592,6 +861,12 @@ public Builder clear() { organizationHash_ = null; organizationHashBuilder_ = null; } + if (creationTokenBuilder_ == null) { + creationToken_ = null; + } else { + creationToken_ = null; + creationTokenBuilder_ = null; + } return this; } @@ -618,18 +893,21 @@ public io.aelf.protobuf.generated.AssociationAuthContract.Organization build() { @java.lang.Override public io.aelf.protobuf.generated.AssociationAuthContract.Organization buildPartial() { io.aelf.protobuf.generated.AssociationAuthContract.Organization result = new io.aelf.protobuf.generated.AssociationAuthContract.Organization(this); - int from_bitField0_ = bitField0_; - result.releaseThreshold_ = releaseThreshold_; - if (reviewersBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - reviewers_ = java.util.Collections.unmodifiableList(reviewers_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.reviewers_ = reviewers_; + if (organizationMemberListBuilder_ == null) { + result.organizationMemberList_ = organizationMemberList_; + } else { + result.organizationMemberList_ = organizationMemberListBuilder_.build(); + } + if (proposalReleaseThresholdBuilder_ == null) { + result.proposalReleaseThreshold_ = proposalReleaseThreshold_; + } else { + result.proposalReleaseThreshold_ = proposalReleaseThresholdBuilder_.build(); + } + if (proposerWhiteListBuilder_ == null) { + result.proposerWhiteList_ = proposerWhiteList_; } else { - result.reviewers_ = reviewersBuilder_.build(); + result.proposerWhiteList_ = proposerWhiteListBuilder_.build(); } - result.proposerThreshold_ = proposerThreshold_; if (organizationAddressBuilder_ == null) { result.organizationAddress_ = organizationAddress_; } else { @@ -640,6 +918,11 @@ public io.aelf.protobuf.generated.AssociationAuthContract.Organization buildPart } else { result.organizationHash_ = organizationHashBuilder_.build(); } + if (creationTokenBuilder_ == null) { + result.creationToken_ = creationToken_; + } else { + result.creationToken_ = creationTokenBuilder_.build(); + } onBuilt(); return result; } @@ -688,37 +971,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(io.aelf.protobuf.generated.AssociationAuthContract.Organization other) { if (other == io.aelf.protobuf.generated.AssociationAuthContract.Organization.getDefaultInstance()) return this; - if (other.getReleaseThreshold() != 0) { - setReleaseThreshold(other.getReleaseThreshold()); + if (other.hasOrganizationMemberList()) { + mergeOrganizationMemberList(other.getOrganizationMemberList()); } - if (reviewersBuilder_ == null) { - if (!other.reviewers_.isEmpty()) { - if (reviewers_.isEmpty()) { - reviewers_ = other.reviewers_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureReviewersIsMutable(); - reviewers_.addAll(other.reviewers_); - } - onChanged(); - } - } else { - if (!other.reviewers_.isEmpty()) { - if (reviewersBuilder_.isEmpty()) { - reviewersBuilder_.dispose(); - reviewersBuilder_ = null; - reviewers_ = other.reviewers_; - bitField0_ = (bitField0_ & ~0x00000001); - reviewersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReviewersFieldBuilder() : null; - } else { - reviewersBuilder_.addAllMessages(other.reviewers_); - } - } + if (other.hasProposalReleaseThreshold()) { + mergeProposalReleaseThreshold(other.getProposalReleaseThreshold()); } - if (other.getProposerThreshold() != 0) { - setProposerThreshold(other.getProposerThreshold()); + if (other.hasProposerWhiteList()) { + mergeProposerWhiteList(other.getProposerWhiteList()); } if (other.hasOrganizationAddress()) { mergeOrganizationAddress(other.getOrganizationAddress()); @@ -726,6 +986,9 @@ public Builder mergeFrom(io.aelf.protobuf.generated.AssociationAuthContract.Orga if (other.hasOrganizationHash()) { mergeOrganizationHash(other.getOrganizationHash()); } + if (other.hasCreationToken()) { + mergeCreationToken(other.getCreationToken()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -754,312 +1017,480 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private int releaseThreshold_ ; + private io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList organizationMemberList_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList, io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.Builder, io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberListOrBuilder> organizationMemberListBuilder_; /** - * int32 release_threshold = 1; - * @return The releaseThreshold. + *
+       * The organization members.
+       * 
+ * + * .OrganizationMemberList organization_member_list = 1; + * @return Whether the organizationMemberList field is set. */ - public int getReleaseThreshold() { - return releaseThreshold_; + public boolean hasOrganizationMemberList() { + return organizationMemberListBuilder_ != null || organizationMemberList_ != null; } /** - * int32 release_threshold = 1; - * @param value The releaseThreshold to set. - * @return This builder for chaining. + *
+       * The organization members.
+       * 
+ * + * .OrganizationMemberList organization_member_list = 1; + * @return The organizationMemberList. */ - public Builder setReleaseThreshold(int value) { - - releaseThreshold_ = value; - onChanged(); - return this; + public io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList getOrganizationMemberList() { + if (organizationMemberListBuilder_ == null) { + return organizationMemberList_ == null ? io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.getDefaultInstance() : organizationMemberList_; + } else { + return organizationMemberListBuilder_.getMessage(); + } } /** - * int32 release_threshold = 1; - * @return This builder for chaining. + *
+       * The organization members.
+       * 
+ * + * .OrganizationMemberList organization_member_list = 1; */ - public Builder clearReleaseThreshold() { - - releaseThreshold_ = 0; - onChanged(); + public Builder setOrganizationMemberList(io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList value) { + if (organizationMemberListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + organizationMemberList_ = value; + onChanged(); + } else { + organizationMemberListBuilder_.setMessage(value); + } + return this; } + /** + *
+       * The organization members.
+       * 
+ * + * .OrganizationMemberList organization_member_list = 1; + */ + public Builder setOrganizationMemberList( + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.Builder builderForValue) { + if (organizationMemberListBuilder_ == null) { + organizationMemberList_ = builderForValue.build(); + onChanged(); + } else { + organizationMemberListBuilder_.setMessage(builderForValue.build()); + } - private java.util.List reviewers_ = - java.util.Collections.emptyList(); - private void ensureReviewersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - reviewers_ = new java.util.ArrayList(reviewers_); - bitField0_ |= 0x00000001; - } + return this; } + /** + *
+       * The organization members.
+       * 
+ * + * .OrganizationMemberList organization_member_list = 1; + */ + public Builder mergeOrganizationMemberList(io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList value) { + if (organizationMemberListBuilder_ == null) { + if (organizationMemberList_ != null) { + organizationMemberList_ = + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.newBuilder(organizationMemberList_).mergeFrom(value).buildPartial(); + } else { + organizationMemberList_ = value; + } + onChanged(); + } else { + organizationMemberListBuilder_.mergeFrom(value); + } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder, io.aelf.protobuf.generated.AssociationAuthContract.ReviewerOrBuilder> reviewersBuilder_; - + return this; + } /** - * repeated .Reviewer reviewers = 2; + *
+       * The organization members.
+       * 
+ * + * .OrganizationMemberList organization_member_list = 1; */ - public java.util.List getReviewersList() { - if (reviewersBuilder_ == null) { - return java.util.Collections.unmodifiableList(reviewers_); + public Builder clearOrganizationMemberList() { + if (organizationMemberListBuilder_ == null) { + organizationMemberList_ = null; + onChanged(); } else { - return reviewersBuilder_.getMessageList(); + organizationMemberList_ = null; + organizationMemberListBuilder_ = null; } + + return this; + } + /** + *
+       * The organization members.
+       * 
+ * + * .OrganizationMemberList organization_member_list = 1; + */ + public io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.Builder getOrganizationMemberListBuilder() { + + onChanged(); + return getOrganizationMemberListFieldBuilder().getBuilder(); } /** - * repeated .Reviewer reviewers = 2; + *
+       * The organization members.
+       * 
+ * + * .OrganizationMemberList organization_member_list = 1; */ - public int getReviewersCount() { - if (reviewersBuilder_ == null) { - return reviewers_.size(); + public io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberListOrBuilder getOrganizationMemberListOrBuilder() { + if (organizationMemberListBuilder_ != null) { + return organizationMemberListBuilder_.getMessageOrBuilder(); } else { - return reviewersBuilder_.getCount(); + return organizationMemberList_ == null ? + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.getDefaultInstance() : organizationMemberList_; } } /** - * repeated .Reviewer reviewers = 2; + *
+       * The organization members.
+       * 
+ * + * .OrganizationMemberList organization_member_list = 1; */ - public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer getReviewers(int index) { - if (reviewersBuilder_ == null) { - return reviewers_.get(index); + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList, io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.Builder, io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberListOrBuilder> + getOrganizationMemberListFieldBuilder() { + if (organizationMemberListBuilder_ == null) { + organizationMemberListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList, io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.Builder, io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberListOrBuilder>( + getOrganizationMemberList(), + getParentForChildren(), + isClean()); + organizationMemberList_ = null; + } + return organizationMemberListBuilder_; + } + + private io.aelf.protobuf.generated.Client.ProposalReleaseThreshold proposalReleaseThreshold_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder, io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder> proposalReleaseThresholdBuilder_; + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; + * @return Whether the proposalReleaseThreshold field is set. + */ + public boolean hasProposalReleaseThreshold() { + return proposalReleaseThresholdBuilder_ != null || proposalReleaseThreshold_ != null; + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; + * @return The proposalReleaseThreshold. + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getProposalReleaseThreshold() { + if (proposalReleaseThresholdBuilder_ == null) { + return proposalReleaseThreshold_ == null ? io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance() : proposalReleaseThreshold_; } else { - return reviewersBuilder_.getMessage(index); + return proposalReleaseThresholdBuilder_.getMessage(); } } /** - * repeated .Reviewer reviewers = 2; + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; */ - public Builder setReviewers( - int index, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer value) { - if (reviewersBuilder_ == null) { + public Builder setProposalReleaseThreshold(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold value) { + if (proposalReleaseThresholdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensureReviewersIsMutable(); - reviewers_.set(index, value); + proposalReleaseThreshold_ = value; onChanged(); } else { - reviewersBuilder_.setMessage(index, value); + proposalReleaseThresholdBuilder_.setMessage(value); } + return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; */ - public Builder setReviewers( - int index, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder builderForValue) { - if (reviewersBuilder_ == null) { - ensureReviewersIsMutable(); - reviewers_.set(index, builderForValue.build()); + public Builder setProposalReleaseThreshold( + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder builderForValue) { + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThreshold_ = builderForValue.build(); onChanged(); } else { - reviewersBuilder_.setMessage(index, builderForValue.build()); + proposalReleaseThresholdBuilder_.setMessage(builderForValue.build()); } + return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; */ - public Builder addReviewers(io.aelf.protobuf.generated.AssociationAuthContract.Reviewer value) { - if (reviewersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + public Builder mergeProposalReleaseThreshold(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold value) { + if (proposalReleaseThresholdBuilder_ == null) { + if (proposalReleaseThreshold_ != null) { + proposalReleaseThreshold_ = + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.newBuilder(proposalReleaseThreshold_).mergeFrom(value).buildPartial(); + } else { + proposalReleaseThreshold_ = value; } - ensureReviewersIsMutable(); - reviewers_.add(value); onChanged(); } else { - reviewersBuilder_.addMessage(value); + proposalReleaseThresholdBuilder_.mergeFrom(value); } + return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; */ - public Builder addReviewers( - int index, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer value) { - if (reviewersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureReviewersIsMutable(); - reviewers_.add(index, value); + public Builder clearProposalReleaseThreshold() { + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThreshold_ = null; onChanged(); } else { - reviewersBuilder_.addMessage(index, value); + proposalReleaseThreshold_ = null; + proposalReleaseThresholdBuilder_ = null; } + return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; */ - public Builder addReviewers( - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder builderForValue) { - if (reviewersBuilder_ == null) { - ensureReviewersIsMutable(); - reviewers_.add(builderForValue.build()); - onChanged(); + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder getProposalReleaseThresholdBuilder() { + + onChanged(); + return getProposalReleaseThresholdFieldBuilder().getBuilder(); + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder getProposalReleaseThresholdOrBuilder() { + if (proposalReleaseThresholdBuilder_ != null) { + return proposalReleaseThresholdBuilder_.getMessageOrBuilder(); } else { - reviewersBuilder_.addMessage(builderForValue.build()); + return proposalReleaseThreshold_ == null ? + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance() : proposalReleaseThreshold_; } - return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 2; */ - public Builder addReviewers( - int index, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder builderForValue) { - if (reviewersBuilder_ == null) { - ensureReviewersIsMutable(); - reviewers_.add(index, builderForValue.build()); - onChanged(); - } else { - reviewersBuilder_.addMessage(index, builderForValue.build()); + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder, io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder> + getProposalReleaseThresholdFieldBuilder() { + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder, io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder>( + getProposalReleaseThreshold(), + getParentForChildren(), + isClean()); + proposalReleaseThreshold_ = null; } - return this; + return proposalReleaseThresholdBuilder_; } + + private io.aelf.protobuf.generated.Client.ProposerWhiteList proposerWhiteList_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposerWhiteList, io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder, io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder> proposerWhiteListBuilder_; /** - * repeated .Reviewer reviewers = 2; + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 3; + * @return Whether the proposerWhiteList field is set. */ - public Builder addAllReviewers( - java.lang.Iterable values) { - if (reviewersBuilder_ == null) { - ensureReviewersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, reviewers_); - onChanged(); + public boolean hasProposerWhiteList() { + return proposerWhiteListBuilder_ != null || proposerWhiteList_ != null; + } + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 3; + * @return The proposerWhiteList. + */ + public io.aelf.protobuf.generated.Client.ProposerWhiteList getProposerWhiteList() { + if (proposerWhiteListBuilder_ == null) { + return proposerWhiteList_ == null ? io.aelf.protobuf.generated.Client.ProposerWhiteList.getDefaultInstance() : proposerWhiteList_; } else { - reviewersBuilder_.addAllMessages(values); + return proposerWhiteListBuilder_.getMessage(); } - return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 3; */ - public Builder clearReviewers() { - if (reviewersBuilder_ == null) { - reviewers_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); + public Builder setProposerWhiteList(io.aelf.protobuf.generated.Client.ProposerWhiteList value) { + if (proposerWhiteListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + proposerWhiteList_ = value; onChanged(); } else { - reviewersBuilder_.clear(); + proposerWhiteListBuilder_.setMessage(value); } + return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 3; */ - public Builder removeReviewers(int index) { - if (reviewersBuilder_ == null) { - ensureReviewersIsMutable(); - reviewers_.remove(index); + public Builder setProposerWhiteList( + io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder builderForValue) { + if (proposerWhiteListBuilder_ == null) { + proposerWhiteList_ = builderForValue.build(); onChanged(); } else { - reviewersBuilder_.remove(index); + proposerWhiteListBuilder_.setMessage(builderForValue.build()); } + return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 3; */ - public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder getReviewersBuilder( - int index) { - return getReviewersFieldBuilder().getBuilder(index); - } - /** - * repeated .Reviewer reviewers = 2; - */ - public io.aelf.protobuf.generated.AssociationAuthContract.ReviewerOrBuilder getReviewersOrBuilder( - int index) { - if (reviewersBuilder_ == null) { - return reviewers_.get(index); } else { - return reviewersBuilder_.getMessageOrBuilder(index); + public Builder mergeProposerWhiteList(io.aelf.protobuf.generated.Client.ProposerWhiteList value) { + if (proposerWhiteListBuilder_ == null) { + if (proposerWhiteList_ != null) { + proposerWhiteList_ = + io.aelf.protobuf.generated.Client.ProposerWhiteList.newBuilder(proposerWhiteList_).mergeFrom(value).buildPartial(); + } else { + proposerWhiteList_ = value; + } + onChanged(); + } else { + proposerWhiteListBuilder_.mergeFrom(value); } + + return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 3; */ - public java.util.List - getReviewersOrBuilderList() { - if (reviewersBuilder_ != null) { - return reviewersBuilder_.getMessageOrBuilderList(); + public Builder clearProposerWhiteList() { + if (proposerWhiteListBuilder_ == null) { + proposerWhiteList_ = null; + onChanged(); } else { - return java.util.Collections.unmodifiableList(reviewers_); + proposerWhiteList_ = null; + proposerWhiteListBuilder_ = null; } + + return this; } /** - * repeated .Reviewer reviewers = 2; + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 3; */ - public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder addReviewersBuilder() { - return getReviewersFieldBuilder().addBuilder( - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.getDefaultInstance()); + public io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder getProposerWhiteListBuilder() { + + onChanged(); + return getProposerWhiteListFieldBuilder().getBuilder(); } /** - * repeated .Reviewer reviewers = 2; + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 3; */ - public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder addReviewersBuilder( - int index) { - return getReviewersFieldBuilder().addBuilder( - index, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.getDefaultInstance()); + public io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder getProposerWhiteListOrBuilder() { + if (proposerWhiteListBuilder_ != null) { + return proposerWhiteListBuilder_.getMessageOrBuilder(); + } else { + return proposerWhiteList_ == null ? + io.aelf.protobuf.generated.Client.ProposerWhiteList.getDefaultInstance() : proposerWhiteList_; + } } /** - * repeated .Reviewer reviewers = 2; + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 3; */ - public java.util.List - getReviewersBuilderList() { - return getReviewersFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder, io.aelf.protobuf.generated.AssociationAuthContract.ReviewerOrBuilder> - getReviewersFieldBuilder() { - if (reviewersBuilder_ == null) { - reviewersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder, io.aelf.protobuf.generated.AssociationAuthContract.ReviewerOrBuilder>( - reviewers_, - ((bitField0_ & 0x00000001) != 0), + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposerWhiteList, io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder, io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder> + getProposerWhiteListFieldBuilder() { + if (proposerWhiteListBuilder_ == null) { + proposerWhiteListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposerWhiteList, io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder, io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder>( + getProposerWhiteList(), getParentForChildren(), isClean()); - reviewers_ = null; + proposerWhiteList_ = null; } - return reviewersBuilder_; - } - - private int proposerThreshold_ ; - /** - * int32 proposer_threshold = 3; - * @return The proposerThreshold. - */ - public int getProposerThreshold() { - return proposerThreshold_; - } - /** - * int32 proposer_threshold = 3; - * @param value The proposerThreshold to set. - * @return This builder for chaining. - */ - public Builder setProposerThreshold(int value) { - - proposerThreshold_ = value; - onChanged(); - return this; - } - /** - * int32 proposer_threshold = 3; - * @return This builder for chaining. - */ - public Builder clearProposerThreshold() { - - proposerThreshold_ = 0; - onChanged(); - return this; + return proposerWhiteListBuilder_; } private io.aelf.protobuf.generated.Client.Address organizationAddress_; private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> organizationAddressBuilder_; /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 4; * @return Whether the organizationAddress field is set. */ @@ -1067,6 +1498,10 @@ public boolean hasOrganizationAddress() { return organizationAddressBuilder_ != null || organizationAddress_ != null; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 4; * @return The organizationAddress. */ @@ -1078,6 +1513,10 @@ public io.aelf.protobuf.generated.Client.Address getOrganizationAddress() { } } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 4; */ public Builder setOrganizationAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -1094,6 +1533,10 @@ public Builder setOrganizationAddress(io.aelf.protobuf.generated.Client.Address return this; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 4; */ public Builder setOrganizationAddress( @@ -1108,6 +1551,10 @@ public Builder setOrganizationAddress( return this; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 4; */ public Builder mergeOrganizationAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -1126,6 +1573,10 @@ public Builder mergeOrganizationAddress(io.aelf.protobuf.generated.Client.Addres return this; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 4; */ public Builder clearOrganizationAddress() { @@ -1140,6 +1591,10 @@ public Builder clearOrganizationAddress() { return this; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 4; */ public io.aelf.protobuf.generated.Client.Address.Builder getOrganizationAddressBuilder() { @@ -1148,6 +1603,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getOrganizationAddressB return getOrganizationAddressFieldBuilder().getBuilder(); } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 4; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder() { @@ -1159,6 +1618,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress } } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 4; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -1179,6 +1642,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> organizationHashBuilder_; /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 5; * @return Whether the organizationHash field is set. */ @@ -1186,6 +1653,10 @@ public boolean hasOrganizationHash() { return organizationHashBuilder_ != null || organizationHash_ != null; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 5; * @return The organizationHash. */ @@ -1197,6 +1668,10 @@ public io.aelf.protobuf.generated.Client.Hash getOrganizationHash() { } } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 5; */ public Builder setOrganizationHash(io.aelf.protobuf.generated.Client.Hash value) { @@ -1213,6 +1688,10 @@ public Builder setOrganizationHash(io.aelf.protobuf.generated.Client.Hash value) return this; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 5; */ public Builder setOrganizationHash( @@ -1227,6 +1706,10 @@ public Builder setOrganizationHash( return this; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 5; */ public Builder mergeOrganizationHash(io.aelf.protobuf.generated.Client.Hash value) { @@ -1245,6 +1728,10 @@ public Builder mergeOrganizationHash(io.aelf.protobuf.generated.Client.Hash valu return this; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 5; */ public Builder clearOrganizationHash() { @@ -1259,6 +1746,10 @@ public Builder clearOrganizationHash() { return this; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 5; */ public io.aelf.protobuf.generated.Client.Hash.Builder getOrganizationHashBuilder() { @@ -1267,6 +1758,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getOrganizationHashBuilder return getOrganizationHashFieldBuilder().getBuilder(); } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 5; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuilder() { @@ -1278,6 +1773,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuil } } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 5; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -1293,6 +1792,161 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuil } return organizationHashBuilder_; } + + private io.aelf.protobuf.generated.Client.Hash creationToken_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> creationTokenBuilder_; + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + * @return Whether the creationToken field is set. + */ + public boolean hasCreationToken() { + return creationTokenBuilder_ != null || creationToken_ != null; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + * @return The creationToken. + */ + public io.aelf.protobuf.generated.Client.Hash getCreationToken() { + if (creationTokenBuilder_ == null) { + return creationToken_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : creationToken_; + } else { + return creationTokenBuilder_.getMessage(); + } + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder setCreationToken(io.aelf.protobuf.generated.Client.Hash value) { + if (creationTokenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + creationToken_ = value; + onChanged(); + } else { + creationTokenBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder setCreationToken( + io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { + if (creationTokenBuilder_ == null) { + creationToken_ = builderForValue.build(); + onChanged(); + } else { + creationTokenBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder mergeCreationToken(io.aelf.protobuf.generated.Client.Hash value) { + if (creationTokenBuilder_ == null) { + if (creationToken_ != null) { + creationToken_ = + io.aelf.protobuf.generated.Client.Hash.newBuilder(creationToken_).mergeFrom(value).buildPartial(); + } else { + creationToken_ = value; + } + onChanged(); + } else { + creationTokenBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder clearCreationToken() { + if (creationTokenBuilder_ == null) { + creationToken_ = null; + onChanged(); + } else { + creationToken_ = null; + creationTokenBuilder_ = null; + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public io.aelf.protobuf.generated.Client.Hash.Builder getCreationTokenBuilder() { + + onChanged(); + return getCreationTokenFieldBuilder().getBuilder(); + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getCreationTokenOrBuilder() { + if (creationTokenBuilder_ != null) { + return creationTokenBuilder_.getMessageOrBuilder(); + } else { + return creationToken_ == null ? + io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : creationToken_; + } + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> + getCreationTokenFieldBuilder() { + if (creationTokenBuilder_ == null) { + creationTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( + getCreationToken(), + getParentForChildren(), + isClean()); + creationToken_ = null; + } + return creationTokenBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1346,51 +2000,75 @@ public io.aelf.protobuf.generated.AssociationAuthContract.Organization getDefaul } - public interface ReviewerOrBuilder extends - // @@protoc_insertion_point(interface_extends:Reviewer) + public interface OrganizationMemberListOrBuilder extends + // @@protoc_insertion_point(interface_extends:OrganizationMemberList) com.google.protobuf.MessageOrBuilder { /** - * .Address address = 1; - * @return Whether the address field is set. + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; + */ + java.util.List + getOrganizationMembersList(); + /** + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; */ - boolean hasAddress(); + io.aelf.protobuf.generated.Client.Address getOrganizationMembers(int index); /** - * .Address address = 1; - * @return The address. + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; */ - io.aelf.protobuf.generated.Client.Address getAddress(); + int getOrganizationMembersCount(); /** - * .Address address = 1; + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; */ - io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder(); - + java.util.List + getOrganizationMembersOrBuilderList(); /** - * int32 weight = 2; - * @return The weight. + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; */ - int getWeight(); + io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationMembersOrBuilder( + int index); } /** - * Protobuf type {@code Reviewer} + * Protobuf type {@code OrganizationMemberList} */ - public static final class Reviewer extends + public static final class OrganizationMemberList extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:Reviewer) - ReviewerOrBuilder { + // @@protoc_insertion_point(message_implements:OrganizationMemberList) + OrganizationMemberListOrBuilder { private static final long serialVersionUID = 0L; - // Use Reviewer.newBuilder() to construct. - private Reviewer(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use OrganizationMemberList.newBuilder() to construct. + private OrganizationMemberList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Reviewer() { + private OrganizationMemberList() { + organizationMembers_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new Reviewer(); + return new OrganizationMemberList(); } @java.lang.Override @@ -1398,7 +2076,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private Reviewer( + private OrganizationMemberList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1406,6 +2084,7 @@ private Reviewer( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -1417,21 +2096,12 @@ private Reviewer( done = true; break; case 10: { - io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; - if (address_ != null) { - subBuilder = address_.toBuilder(); - } - address_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(address_); - address_ = subBuilder.buildPartial(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + organizationMembers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - - break; - } - case 16: { - - weight_ = input.readInt32(); + organizationMembers_.add( + input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry)); break; } default: { @@ -1449,54 +2119,79 @@ private Reviewer( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + organizationMembers_ = java.util.Collections.unmodifiableList(organizationMembers_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_Reviewer_descriptor; + return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_OrganizationMemberList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_Reviewer_fieldAccessorTable + return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_OrganizationMemberList_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.class, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder.class); + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.class, io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.Builder.class); } - public static final int ADDRESS_FIELD_NUMBER = 1; - private io.aelf.protobuf.generated.Client.Address address_; + public static final int ORGANIZATION_MEMBERS_FIELD_NUMBER = 1; + private java.util.List organizationMembers_; + /** + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; + */ + public java.util.List getOrganizationMembersList() { + return organizationMembers_; + } /** - * .Address address = 1; - * @return Whether the address field is set. + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; */ - public boolean hasAddress() { - return address_ != null; + public java.util.List + getOrganizationMembersOrBuilderList() { + return organizationMembers_; } /** - * .Address address = 1; - * @return The address. + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; */ - public io.aelf.protobuf.generated.Client.Address getAddress() { - return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; + public int getOrganizationMembersCount() { + return organizationMembers_.size(); } /** - * .Address address = 1; + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { - return getAddress(); + public io.aelf.protobuf.generated.Client.Address getOrganizationMembers(int index) { + return organizationMembers_.get(index); } - - public static final int WEIGHT_FIELD_NUMBER = 2; - private int weight_; /** - * int32 weight = 2; - * @return The weight. + *
+     * The address of organization members.
+     * 
+ * + * repeated .Address organization_members = 1; */ - public int getWeight() { - return weight_; + public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationMembersOrBuilder( + int index) { + return organizationMembers_.get(index); } private byte memoizedIsInitialized = -1; @@ -1513,11 +2208,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (address_ != null) { - output.writeMessage(1, getAddress()); - } - if (weight_ != 0) { - output.writeInt32(2, weight_); + for (int i = 0; i < organizationMembers_.size(); i++) { + output.writeMessage(1, organizationMembers_.get(i)); } unknownFields.writeTo(output); } @@ -1528,13 +2220,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (address_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAddress()); - } - if (weight_ != 0) { + for (int i = 0; i < organizationMembers_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, weight_); + .computeMessageSize(1, organizationMembers_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1546,18 +2234,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.AssociationAuthContract.Reviewer)) { + if (!(obj instanceof io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList)) { return super.equals(obj); } - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer other = (io.aelf.protobuf.generated.AssociationAuthContract.Reviewer) obj; + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList other = (io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList) obj; - if (hasAddress() != other.hasAddress()) return false; - if (hasAddress()) { - if (!getAddress() - .equals(other.getAddress())) return false; - } - if (getWeight() - != other.getWeight()) return false; + if (!getOrganizationMembersList() + .equals(other.getOrganizationMembersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1569,80 +2252,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasAddress()) { - hash = (37 * hash) + ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + getAddress().hashCode(); + if (getOrganizationMembersCount() > 0) { + hash = (37 * hash) + ORGANIZATION_MEMBERS_FIELD_NUMBER; + hash = (53 * hash) + getOrganizationMembersList().hashCode(); } - hash = (37 * hash) + WEIGHT_FIELD_NUMBER; - hash = (53 * hash) + getWeight(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom( + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom( + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom( + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom( + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom(byte[] data) + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom( + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom( + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList 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 io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseDelimitedFrom( + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList 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 io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom( + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseFrom( + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -1655,7 +2336,7 @@ public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parseF public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.AssociationAuthContract.Reviewer prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -1671,26 +2352,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code Reviewer} + * Protobuf type {@code OrganizationMemberList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:Reviewer) - io.aelf.protobuf.generated.AssociationAuthContract.ReviewerOrBuilder { + // @@protoc_insertion_point(builder_implements:OrganizationMemberList) + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_Reviewer_descriptor; + return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_OrganizationMemberList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_Reviewer_fieldAccessorTable + return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_OrganizationMemberList_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.class, io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.Builder.class); + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.class, io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.Builder.class); } - // Construct using io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.newBuilder() + // Construct using io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -1703,36 +2384,35 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getOrganizationMembersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (addressBuilder_ == null) { - address_ = null; + if (organizationMembersBuilder_ == null) { + organizationMembers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); } else { - address_ = null; - addressBuilder_ = null; + organizationMembersBuilder_.clear(); } - weight_ = 0; - return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_Reviewer_descriptor; + return io.aelf.protobuf.generated.AssociationAuthContract.internal_static_OrganizationMemberList_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer getDefaultInstanceForType() { - return io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.getDefaultInstance(); + public io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList getDefaultInstanceForType() { + return io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer build() { - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer result = buildPartial(); + public io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList build() { + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1740,14 +2420,18 @@ public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer build() { } @java.lang.Override - public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer buildPartial() { - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer result = new io.aelf.protobuf.generated.AssociationAuthContract.Reviewer(this); - if (addressBuilder_ == null) { - result.address_ = address_; + public io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList buildPartial() { + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList result = new io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList(this); + int from_bitField0_ = bitField0_; + if (organizationMembersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + organizationMembers_ = java.util.Collections.unmodifiableList(organizationMembers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.organizationMembers_ = organizationMembers_; } else { - result.address_ = addressBuilder_.build(); + result.organizationMembers_ = organizationMembersBuilder_.build(); } - result.weight_ = weight_; onBuilt(); return result; } @@ -1786,21 +2470,41 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.AssociationAuthContract.Reviewer) { - return mergeFrom((io.aelf.protobuf.generated.AssociationAuthContract.Reviewer)other); + if (other instanceof io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList) { + return mergeFrom((io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.AssociationAuthContract.Reviewer other) { - if (other == io.aelf.protobuf.generated.AssociationAuthContract.Reviewer.getDefaultInstance()) return this; - if (other.hasAddress()) { - mergeAddress(other.getAddress()); - } - if (other.getWeight() != 0) { - setWeight(other.getWeight()); + public Builder mergeFrom(io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList other) { + if (other == io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList.getDefaultInstance()) return this; + if (organizationMembersBuilder_ == null) { + if (!other.organizationMembers_.isEmpty()) { + if (organizationMembers_.isEmpty()) { + organizationMembers_ = other.organizationMembers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureOrganizationMembersIsMutable(); + organizationMembers_.addAll(other.organizationMembers_); + } + onChanged(); + } + } else { + if (!other.organizationMembers_.isEmpty()) { + if (organizationMembersBuilder_.isEmpty()) { + organizationMembersBuilder_.dispose(); + organizationMembersBuilder_ = null; + organizationMembers_ = other.organizationMembers_; + bitField0_ = (bitField0_ & ~0x00000001); + organizationMembersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOrganizationMembersFieldBuilder() : null; + } else { + organizationMembersBuilder_.addAllMessages(other.organizationMembers_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1817,11 +2521,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.AssociationAuthContract.Reviewer parsedMessage = null; + io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.AssociationAuthContract.Reviewer) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1830,154 +2534,318 @@ public Builder mergeFrom( } return this; } + private int bitField0_; + + private java.util.List organizationMembers_ = + java.util.Collections.emptyList(); + private void ensureOrganizationMembersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + organizationMembers_ = new java.util.ArrayList(organizationMembers_); + bitField0_ |= 0x00000001; + } + } - private io.aelf.protobuf.generated.Client.Address address_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> addressBuilder_; + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> organizationMembersBuilder_; + + /** + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; + */ + public java.util.List getOrganizationMembersList() { + if (organizationMembersBuilder_ == null) { + return java.util.Collections.unmodifiableList(organizationMembers_); + } else { + return organizationMembersBuilder_.getMessageList(); + } + } /** - * .Address address = 1; - * @return Whether the address field is set. + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public boolean hasAddress() { - return addressBuilder_ != null || address_ != null; + public int getOrganizationMembersCount() { + if (organizationMembersBuilder_ == null) { + return organizationMembers_.size(); + } else { + return organizationMembersBuilder_.getCount(); + } } /** - * .Address address = 1; - * @return The address. + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public io.aelf.protobuf.generated.Client.Address getAddress() { - if (addressBuilder_ == null) { - return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; + public io.aelf.protobuf.generated.Client.Address getOrganizationMembers(int index) { + if (organizationMembersBuilder_ == null) { + return organizationMembers_.get(index); } else { - return addressBuilder_.getMessage(); + return organizationMembersBuilder_.getMessage(index); } } /** - * .Address address = 1; + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { - if (addressBuilder_ == null) { + public Builder setOrganizationMembers( + int index, io.aelf.protobuf.generated.Client.Address value) { + if (organizationMembersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - address_ = value; + ensureOrganizationMembersIsMutable(); + organizationMembers_.set(index, value); onChanged(); } else { - addressBuilder_.setMessage(value); + organizationMembersBuilder_.setMessage(index, value); } - return this; } /** - * .Address address = 1; + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public Builder setAddress( - io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { - if (addressBuilder_ == null) { - address_ = builderForValue.build(); + public Builder setOrganizationMembers( + int index, io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (organizationMembersBuilder_ == null) { + ensureOrganizationMembersIsMutable(); + organizationMembers_.set(index, builderForValue.build()); onChanged(); } else { - addressBuilder_.setMessage(builderForValue.build()); + organizationMembersBuilder_.setMessage(index, builderForValue.build()); } - return this; } /** - * .Address address = 1; + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { - if (addressBuilder_ == null) { - if (address_ != null) { - address_ = - io.aelf.protobuf.generated.Client.Address.newBuilder(address_).mergeFrom(value).buildPartial(); - } else { - address_ = value; + public Builder addOrganizationMembers(io.aelf.protobuf.generated.Client.Address value) { + if (organizationMembersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureOrganizationMembersIsMutable(); + organizationMembers_.add(value); onChanged(); } else { - addressBuilder_.mergeFrom(value); + organizationMembersBuilder_.addMessage(value); } - return this; } /** - * .Address address = 1; + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public Builder clearAddress() { - if (addressBuilder_ == null) { - address_ = null; + public Builder addOrganizationMembers( + int index, io.aelf.protobuf.generated.Client.Address value) { + if (organizationMembersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureOrganizationMembersIsMutable(); + organizationMembers_.add(index, value); onChanged(); } else { - address_ = null; - addressBuilder_ = null; + organizationMembersBuilder_.addMessage(index, value); } - return this; } /** - * .Address address = 1; + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { - - onChanged(); - return getAddressFieldBuilder().getBuilder(); + public Builder addOrganizationMembers( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (organizationMembersBuilder_ == null) { + ensureOrganizationMembersIsMutable(); + organizationMembers_.add(builderForValue.build()); + onChanged(); + } else { + organizationMembersBuilder_.addMessage(builderForValue.build()); + } + return this; } /** - * .Address address = 1; + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { - if (addressBuilder_ != null) { - return addressBuilder_.getMessageOrBuilder(); + public Builder addOrganizationMembers( + int index, io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (organizationMembersBuilder_ == null) { + ensureOrganizationMembersIsMutable(); + organizationMembers_.add(index, builderForValue.build()); + onChanged(); } else { - return address_ == null ? - io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; + organizationMembersBuilder_.addMessage(index, builderForValue.build()); } + return this; } /** - * .Address address = 1; + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> - getAddressFieldBuilder() { - if (addressBuilder_ == null) { - addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( - getAddress(), - getParentForChildren(), - isClean()); - address_ = null; + public Builder addAllOrganizationMembers( + java.lang.Iterable values) { + if (organizationMembersBuilder_ == null) { + ensureOrganizationMembersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, organizationMembers_); + onChanged(); + } else { + organizationMembersBuilder_.addAllMessages(values); } - return addressBuilder_; + return this; } - - private int weight_ ; /** - * int32 weight = 2; - * @return The weight. + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public int getWeight() { - return weight_; + public Builder clearOrganizationMembers() { + if (organizationMembersBuilder_ == null) { + organizationMembers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + organizationMembersBuilder_.clear(); + } + return this; } /** - * int32 weight = 2; - * @param value The weight to set. - * @return This builder for chaining. + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public Builder setWeight(int value) { - - weight_ = value; - onChanged(); + public Builder removeOrganizationMembers(int index) { + if (organizationMembersBuilder_ == null) { + ensureOrganizationMembersIsMutable(); + organizationMembers_.remove(index); + onChanged(); + } else { + organizationMembersBuilder_.remove(index); + } return this; } /** - * int32 weight = 2; - * @return This builder for chaining. + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; */ - public Builder clearWeight() { - - weight_ = 0; - onChanged(); - return this; + public io.aelf.protobuf.generated.Client.Address.Builder getOrganizationMembersBuilder( + int index) { + return getOrganizationMembersFieldBuilder().getBuilder(index); + } + /** + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationMembersOrBuilder( + int index) { + if (organizationMembersBuilder_ == null) { + return organizationMembers_.get(index); } else { + return organizationMembersBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; + */ + public java.util.List + getOrganizationMembersOrBuilderList() { + if (organizationMembersBuilder_ != null) { + return organizationMembersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(organizationMembers_); + } + } + /** + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; + */ + public io.aelf.protobuf.generated.Client.Address.Builder addOrganizationMembersBuilder() { + return getOrganizationMembersFieldBuilder().addBuilder( + io.aelf.protobuf.generated.Client.Address.getDefaultInstance()); + } + /** + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; + */ + public io.aelf.protobuf.generated.Client.Address.Builder addOrganizationMembersBuilder( + int index) { + return getOrganizationMembersFieldBuilder().addBuilder( + index, io.aelf.protobuf.generated.Client.Address.getDefaultInstance()); + } + /** + *
+       * The address of organization members.
+       * 
+ * + * repeated .Address organization_members = 1; + */ + public java.util.List + getOrganizationMembersBuilderList() { + return getOrganizationMembersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getOrganizationMembersFieldBuilder() { + if (organizationMembersBuilder_ == null) { + organizationMembersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + organizationMembers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + organizationMembers_ = null; + } + return organizationMembersBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -1992,41 +2860,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:Reviewer) + // @@protoc_insertion_point(builder_scope:OrganizationMemberList) } - // @@protoc_insertion_point(class_scope:Reviewer) - private static final io.aelf.protobuf.generated.AssociationAuthContract.Reviewer DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:OrganizationMemberList) + private static final io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.AssociationAuthContract.Reviewer(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList(); } - public static io.aelf.protobuf.generated.AssociationAuthContract.Reviewer getDefaultInstance() { + public static io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Reviewer parsePartialFrom( + public OrganizationMemberList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Reviewer(input, extensionRegistry); + return new OrganizationMemberList(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer getDefaultInstanceForType() { + public io.aelf.protobuf.generated.AssociationAuthContract.OrganizationMemberList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -2038,10 +2906,10 @@ public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer getDefaultIns com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Organization_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Reviewer_descriptor; + internal_static_OrganizationMemberList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_Reviewer_fieldAccessorTable; + internal_static_OrganizationMemberList_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -2052,13 +2920,17 @@ public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer getDefaultIns static { java.lang.String[] descriptorData = { "\n\037association_auth_contract.proto\032\014clien" + - "t.proto\"\255\001\n\014Organization\022\031\n\021release_thre" + - "shold\030\001 \001(\005\022\034\n\treviewers\030\002 \003(\0132\t.Reviewe" + - "r\022\032\n\022proposer_threshold\030\003 \001(\005\022&\n\024organiz" + - "ation_address\030\004 \001(\0132\010.Address\022 \n\021organiz" + - "ation_hash\030\005 \001(\0132\005.Hash\"5\n\010Reviewer\022\031\n\007a" + - "ddress\030\001 \001(\0132\010.Address\022\016\n\006weight\030\002 \001(\005B\034" + - "\n\032io.aelf.protobuf.generatedb\006proto3" + "t.proto\"\242\002\n\014Organization\0229\n\030organization" + + "_member_list\030\001 \001(\0132\027.OrganizationMemberL" + + "ist\022=\n\032proposal_release_threshold\030\002 \001(\0132" + + "\031.ProposalReleaseThreshold\022/\n\023proposer_w" + + "hite_list\030\003 \001(\0132\022.ProposerWhiteList\022&\n\024o" + + "rganization_address\030\004 \001(\0132\010.Address\022 \n\021o" + + "rganization_hash\030\005 \001(\0132\005.Hash\022\035\n\016creatio" + + "n_token\030\006 \001(\0132\005.Hash\"@\n\026OrganizationMemb" + + "erList\022&\n\024organization_members\030\001 \003(\0132\010.A" + + "ddressB\034\n\032io.aelf.protobuf.generatedb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -2070,13 +2942,13 @@ public io.aelf.protobuf.generated.AssociationAuthContract.Reviewer getDefaultIns internal_static_Organization_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Organization_descriptor, - new java.lang.String[] { "ReleaseThreshold", "Reviewers", "ProposerThreshold", "OrganizationAddress", "OrganizationHash", }); - internal_static_Reviewer_descriptor = + new java.lang.String[] { "OrganizationMemberList", "ProposalReleaseThreshold", "ProposerWhiteList", "OrganizationAddress", "OrganizationHash", "CreationToken", }); + internal_static_OrganizationMemberList_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_Reviewer_fieldAccessorTable = new + internal_static_OrganizationMemberList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_Reviewer_descriptor, - new java.lang.String[] { "Address", "Weight", }); + internal_static_OrganizationMemberList_descriptor, + new java.lang.String[] { "OrganizationMembers", }); io.aelf.protobuf.generated.Client.getDescriptor(); } diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/BasicContractZero.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/BasicContractZero.java deleted file mode 100644 index b6030cc..0000000 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/BasicContractZero.java +++ /dev/null @@ -1,846 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: basic_contract_zero.proto - -package io.aelf.protobuf.generated; - -public final class BasicContractZero { - private BasicContractZero() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - public interface AddressListOrBuilder extends - // @@protoc_insertion_point(interface_extends:AddressList) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .Address value = 1; - */ - java.util.List - getValueList(); - /** - * repeated .Address value = 1; - */ - io.aelf.protobuf.generated.Client.Address getValue(int index); - /** - * repeated .Address value = 1; - */ - int getValueCount(); - /** - * repeated .Address value = 1; - */ - java.util.List - getValueOrBuilderList(); - /** - * repeated .Address value = 1; - */ - io.aelf.protobuf.generated.Client.AddressOrBuilder getValueOrBuilder( - int index); - } - /** - *
-   *basic_contract_zero
-   * 
- * - * Protobuf type {@code AddressList} - */ - public static final class AddressList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:AddressList) - AddressListOrBuilder { - private static final long serialVersionUID = 0L; - // Use AddressList.newBuilder() to construct. - private AddressList(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AddressList() { - value_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AddressList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AddressList( - 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: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - value_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - value_.add( - input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry)); - 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)) { - value_ = java.util.Collections.unmodifiableList(value_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.aelf.protobuf.generated.BasicContractZero.internal_static_AddressList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.BasicContractZero.internal_static_AddressList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.BasicContractZero.AddressList.class, io.aelf.protobuf.generated.BasicContractZero.AddressList.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private java.util.List value_; - /** - * repeated .Address value = 1; - */ - public java.util.List getValueList() { - return value_; - } - /** - * repeated .Address value = 1; - */ - public java.util.List - getValueOrBuilderList() { - return value_; - } - /** - * repeated .Address value = 1; - */ - public int getValueCount() { - return value_.size(); - } - /** - * repeated .Address value = 1; - */ - public io.aelf.protobuf.generated.Client.Address getValue(int index) { - return value_.get(index); - } - /** - * repeated .Address value = 1; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getValueOrBuilder( - int index) { - return value_.get(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < value_.size(); i++) { - output.writeMessage(1, value_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < value_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, value_.get(i)); - } - 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 io.aelf.protobuf.generated.BasicContractZero.AddressList)) { - return super.equals(obj); - } - io.aelf.protobuf.generated.BasicContractZero.AddressList other = (io.aelf.protobuf.generated.BasicContractZero.AddressList) obj; - - if (!getValueList() - .equals(other.getValueList())) 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 (getValueCount() > 0) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValueList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.aelf.protobuf.generated.BasicContractZero.AddressList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.BasicContractZero.AddressList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.BasicContractZero.AddressList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.BasicContractZero.AddressList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.BasicContractZero.AddressList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.BasicContractZero.AddressList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.BasicContractZero.AddressList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.BasicContractZero.AddressList 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 io.aelf.protobuf.generated.BasicContractZero.AddressList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.BasicContractZero.AddressList 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 io.aelf.protobuf.generated.BasicContractZero.AddressList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.BasicContractZero.AddressList 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(io.aelf.protobuf.generated.BasicContractZero.AddressList 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; - } - /** - *
-     *basic_contract_zero
-     * 
- * - * Protobuf type {@code AddressList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:AddressList) - io.aelf.protobuf.generated.BasicContractZero.AddressListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.aelf.protobuf.generated.BasicContractZero.internal_static_AddressList_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.BasicContractZero.internal_static_AddressList_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.BasicContractZero.AddressList.class, io.aelf.protobuf.generated.BasicContractZero.AddressList.Builder.class); - } - - // Construct using io.aelf.protobuf.generated.BasicContractZero.AddressList.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getValueFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (valueBuilder_ == null) { - value_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - valueBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.aelf.protobuf.generated.BasicContractZero.internal_static_AddressList_descriptor; - } - - @java.lang.Override - public io.aelf.protobuf.generated.BasicContractZero.AddressList getDefaultInstanceForType() { - return io.aelf.protobuf.generated.BasicContractZero.AddressList.getDefaultInstance(); - } - - @java.lang.Override - public io.aelf.protobuf.generated.BasicContractZero.AddressList build() { - io.aelf.protobuf.generated.BasicContractZero.AddressList result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.aelf.protobuf.generated.BasicContractZero.AddressList buildPartial() { - io.aelf.protobuf.generated.BasicContractZero.AddressList result = new io.aelf.protobuf.generated.BasicContractZero.AddressList(this); - int from_bitField0_ = bitField0_; - if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - value_ = java.util.Collections.unmodifiableList(value_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.value_ = value_; - } else { - result.value_ = valueBuilder_.build(); - } - 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 io.aelf.protobuf.generated.BasicContractZero.AddressList) { - return mergeFrom((io.aelf.protobuf.generated.BasicContractZero.AddressList)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.aelf.protobuf.generated.BasicContractZero.AddressList other) { - if (other == io.aelf.protobuf.generated.BasicContractZero.AddressList.getDefaultInstance()) return this; - if (valueBuilder_ == null) { - if (!other.value_.isEmpty()) { - if (value_.isEmpty()) { - value_ = other.value_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureValueIsMutable(); - value_.addAll(other.value_); - } - onChanged(); - } - } else { - if (!other.value_.isEmpty()) { - if (valueBuilder_.isEmpty()) { - valueBuilder_.dispose(); - valueBuilder_ = null; - value_ = other.value_; - bitField0_ = (bitField0_ & ~0x00000001); - valueBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValueFieldBuilder() : null; - } else { - valueBuilder_.addAllMessages(other.value_); - } - } - } - 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 { - io.aelf.protobuf.generated.BasicContractZero.AddressList parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.BasicContractZero.AddressList) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List value_ = - java.util.Collections.emptyList(); - private void ensureValueIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - value_ = new java.util.ArrayList(value_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> valueBuilder_; - - /** - * repeated .Address value = 1; - */ - public java.util.List getValueList() { - if (valueBuilder_ == null) { - return java.util.Collections.unmodifiableList(value_); - } else { - return valueBuilder_.getMessageList(); - } - } - /** - * repeated .Address value = 1; - */ - public int getValueCount() { - if (valueBuilder_ == null) { - return value_.size(); - } else { - return valueBuilder_.getCount(); - } - } - /** - * repeated .Address value = 1; - */ - public io.aelf.protobuf.generated.Client.Address getValue(int index) { - if (valueBuilder_ == null) { - return value_.get(index); - } else { - return valueBuilder_.getMessage(index); - } - } - /** - * repeated .Address value = 1; - */ - public Builder setValue( - int index, io.aelf.protobuf.generated.Client.Address value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); - value_.set(index, value); - onChanged(); - } else { - valueBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .Address value = 1; - */ - public Builder setValue( - int index, io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { - if (valueBuilder_ == null) { - ensureValueIsMutable(); - value_.set(index, builderForValue.build()); - onChanged(); - } else { - valueBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .Address value = 1; - */ - public Builder addValue(io.aelf.protobuf.generated.Client.Address value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); - value_.add(value); - onChanged(); - } else { - valueBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .Address value = 1; - */ - public Builder addValue( - int index, io.aelf.protobuf.generated.Client.Address value) { - if (valueBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); - value_.add(index, value); - onChanged(); - } else { - valueBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .Address value = 1; - */ - public Builder addValue( - io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { - if (valueBuilder_ == null) { - ensureValueIsMutable(); - value_.add(builderForValue.build()); - onChanged(); - } else { - valueBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .Address value = 1; - */ - public Builder addValue( - int index, io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { - if (valueBuilder_ == null) { - ensureValueIsMutable(); - value_.add(index, builderForValue.build()); - onChanged(); - } else { - valueBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .Address value = 1; - */ - public Builder addAllValue( - java.lang.Iterable values) { - if (valueBuilder_ == null) { - ensureValueIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, value_); - onChanged(); - } else { - valueBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .Address value = 1; - */ - public Builder clearValue() { - if (valueBuilder_ == null) { - value_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - valueBuilder_.clear(); - } - return this; - } - /** - * repeated .Address value = 1; - */ - public Builder removeValue(int index) { - if (valueBuilder_ == null) { - ensureValueIsMutable(); - value_.remove(index); - onChanged(); - } else { - valueBuilder_.remove(index); - } - return this; - } - /** - * repeated .Address value = 1; - */ - public io.aelf.protobuf.generated.Client.Address.Builder getValueBuilder( - int index) { - return getValueFieldBuilder().getBuilder(index); - } - /** - * repeated .Address value = 1; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getValueOrBuilder( - int index) { - if (valueBuilder_ == null) { - return value_.get(index); } else { - return valueBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .Address value = 1; - */ - public java.util.List - getValueOrBuilderList() { - if (valueBuilder_ != null) { - return valueBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(value_); - } - } - /** - * repeated .Address value = 1; - */ - public io.aelf.protobuf.generated.Client.Address.Builder addValueBuilder() { - return getValueFieldBuilder().addBuilder( - io.aelf.protobuf.generated.Client.Address.getDefaultInstance()); - } - /** - * repeated .Address value = 1; - */ - public io.aelf.protobuf.generated.Client.Address.Builder addValueBuilder( - int index) { - return getValueFieldBuilder().addBuilder( - index, io.aelf.protobuf.generated.Client.Address.getDefaultInstance()); - } - /** - * repeated .Address value = 1; - */ - public java.util.List - getValueBuilderList() { - return getValueFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> - getValueFieldBuilder() { - if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( - value_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - value_ = null; - } - return valueBuilder_; - } - @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:AddressList) - } - - // @@protoc_insertion_point(class_scope:AddressList) - private static final io.aelf.protobuf.generated.BasicContractZero.AddressList DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.BasicContractZero.AddressList(); - } - - public static io.aelf.protobuf.generated.BasicContractZero.AddressList getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddressList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddressList(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 io.aelf.protobuf.generated.BasicContractZero.AddressList getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_AddressList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_AddressList_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\031basic_contract_zero.proto\032\014client.prot" + - "o\"&\n\013AddressList\022\027\n\005value\030\001 \003(\0132\010.Addres" + - "sB\034\n\032io.aelf.protobuf.generatedb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - io.aelf.protobuf.generated.Client.getDescriptor(), - }); - internal_static_AddressList_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_AddressList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_AddressList_descriptor, - new java.lang.String[] { "Value", }); - io.aelf.protobuf.generated.Client.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/Client.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/Client.java index 0e97d83..ad42022 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/Client.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/Client.java @@ -20,10 +20,18 @@ public static void registerAllExtensions( public enum ThresholdCheckType implements com.google.protobuf.ProtocolMessageEnum { /** + *
+     * Check balance only.
+     * 
+ * * BALANCE = 0; */ BALANCE(0), /** + *
+     * Check balance and allowance at the same time.
+     * 
+ * * ALLOWANCE = 1; */ ALLOWANCE(1), @@ -31,10 +39,18 @@ public enum ThresholdCheckType ; /** + *
+     * Check balance only.
+     * 
+ * * BALANCE = 0; */ public static final int BALANCE_VALUE = 0; /** + *
+     * Check balance and allowance at the same time.
+     * 
+ * * ALLOWANCE = 1; */ public static final int ALLOWANCE_VALUE = 1; @@ -5090,7 +5106,7 @@ public interface SmartContractRegistrationOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * int32 category = 1; + * sint32 category = 1; * @return The category. */ int getCategory(); @@ -5115,6 +5131,18 @@ public interface SmartContractRegistrationOrBuilder extends * .Hash code_hash = 3; */ io.aelf.protobuf.generated.Client.HashOrBuilder getCodeHashOrBuilder(); + + /** + * bool is_system_contract = 4; + * @return The isSystemContract. + */ + boolean getIsSystemContract(); + + /** + * int32 version = 5; + * @return The version. + */ + int getVersion(); } /** * Protobuf type {@code SmartContractRegistration} @@ -5164,7 +5192,7 @@ private SmartContractRegistration( break; case 8: { - category_ = input.readInt32(); + category_ = input.readSInt32(); break; } case 18: { @@ -5185,6 +5213,16 @@ private SmartContractRegistration( break; } + case 32: { + + isSystemContract_ = input.readBool(); + break; + } + case 40: { + + version_ = input.readInt32(); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -5220,7 +5258,7 @@ private SmartContractRegistration( public static final int CATEGORY_FIELD_NUMBER = 1; private int category_; /** - * int32 category = 1; + * sint32 category = 1; * @return The category. */ public int getCategory() { @@ -5260,6 +5298,26 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getCodeHashOrBuilder() { return getCodeHash(); } + public static final int IS_SYSTEM_CONTRACT_FIELD_NUMBER = 4; + private boolean isSystemContract_; + /** + * bool is_system_contract = 4; + * @return The isSystemContract. + */ + public boolean getIsSystemContract() { + return isSystemContract_; + } + + public static final int VERSION_FIELD_NUMBER = 5; + private int version_; + /** + * int32 version = 5; + * @return The version. + */ + public int getVersion() { + return version_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -5275,7 +5333,7 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (category_ != 0) { - output.writeInt32(1, category_); + output.writeSInt32(1, category_); } if (!code_.isEmpty()) { output.writeBytes(2, code_); @@ -5283,6 +5341,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (codeHash_ != null) { output.writeMessage(3, getCodeHash()); } + if (isSystemContract_ != false) { + output.writeBool(4, isSystemContract_); + } + if (version_ != 0) { + output.writeInt32(5, version_); + } unknownFields.writeTo(output); } @@ -5294,7 +5358,7 @@ public int getSerializedSize() { size = 0; if (category_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, category_); + .computeSInt32Size(1, category_); } if (!code_.isEmpty()) { size += com.google.protobuf.CodedOutputStream @@ -5304,6 +5368,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getCodeHash()); } + if (isSystemContract_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, isSystemContract_); + } + if (version_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, version_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -5328,6 +5400,10 @@ public boolean equals(final java.lang.Object obj) { if (!getCodeHash() .equals(other.getCodeHash())) return false; } + if (getIsSystemContract() + != other.getIsSystemContract()) return false; + if (getVersion() + != other.getVersion()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5347,6 +5423,11 @@ public int hashCode() { hash = (37 * hash) + CODE_HASH_FIELD_NUMBER; hash = (53 * hash) + getCodeHash().hashCode(); } + hash = (37 * hash) + IS_SYSTEM_CONTRACT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsSystemContract()); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -5490,6 +5571,10 @@ public Builder clear() { codeHash_ = null; codeHashBuilder_ = null; } + isSystemContract_ = false; + + version_ = 0; + return this; } @@ -5523,6 +5608,8 @@ public io.aelf.protobuf.generated.Client.SmartContractRegistration buildPartial( } else { result.codeHash_ = codeHashBuilder_.build(); } + result.isSystemContract_ = isSystemContract_; + result.version_ = version_; onBuilt(); return result; } @@ -5580,6 +5667,12 @@ public Builder mergeFrom(io.aelf.protobuf.generated.Client.SmartContractRegistra if (other.hasCodeHash()) { mergeCodeHash(other.getCodeHash()); } + if (other.getIsSystemContract() != false) { + setIsSystemContract(other.getIsSystemContract()); + } + if (other.getVersion() != 0) { + setVersion(other.getVersion()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -5611,14 +5704,14 @@ public Builder mergeFrom( private int category_ ; /** - * int32 category = 1; + * sint32 category = 1; * @return The category. */ public int getCategory() { return category_; } /** - * int32 category = 1; + * sint32 category = 1; * @param value The category to set. * @return This builder for chaining. */ @@ -5629,7 +5722,7 @@ public Builder setCategory(int value) { return this; } /** - * int32 category = 1; + * sint32 category = 1; * @return This builder for chaining. */ public Builder clearCategory() { @@ -5790,6 +5883,66 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getCodeHashOrBuilder() { } return codeHashBuilder_; } + + private boolean isSystemContract_ ; + /** + * bool is_system_contract = 4; + * @return The isSystemContract. + */ + public boolean getIsSystemContract() { + return isSystemContract_; + } + /** + * bool is_system_contract = 4; + * @param value The isSystemContract to set. + * @return This builder for chaining. + */ + public Builder setIsSystemContract(boolean value) { + + isSystemContract_ = value; + onChanged(); + return this; + } + /** + * bool is_system_contract = 4; + * @return This builder for chaining. + */ + public Builder clearIsSystemContract() { + + isSystemContract_ = false; + onChanged(); + return this; + } + + private int version_ ; + /** + * int32 version = 5; + * @return The version. + */ + public int getVersion() { + return version_; + } + /** + * int32 version = 5; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion(int value) { + + version_ = value; + onChanged(); + return this; + } + /** + * int32 version = 5; + * @return This builder for chaining. + */ + public Builder clearVersion() { + + version_ = 0; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5848,37 +6001,98 @@ public interface ContractInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * uint64 serial_number = 1; + *
+     * The serial number of the contract.
+     * 
+ * + * int64 serial_number = 1; * @return The serialNumber. */ long getSerialNumber(); /** - * int32 category = 3; + *
+     * The author of the contract, this is the person who deployed the contract.
+     * 
+ * + * .Address author = 2; + * @return Whether the author field is set. + */ + boolean hasAuthor(); + /** + *
+     * The author of the contract, this is the person who deployed the contract.
+     * 
+ * + * .Address author = 2; + * @return The author. + */ + io.aelf.protobuf.generated.Client.Address getAuthor(); + /** + *
+     * The author of the contract, this is the person who deployed the contract.
+     * 
+ * + * .Address author = 2; + */ + io.aelf.protobuf.generated.Client.AddressOrBuilder getAuthorOrBuilder(); + + /** + *
+     * The category of contract code(0: C#).
+     * 
+ * + * sint32 category = 3; * @return The category. */ int getCategory(); /** + *
+     * The hash of the contract code.
+     * 
+ * * .Hash code_hash = 4; * @return Whether the codeHash field is set. */ boolean hasCodeHash(); /** + *
+     * The hash of the contract code.
+     * 
+ * * .Hash code_hash = 4; * @return The codeHash. */ io.aelf.protobuf.generated.Client.Hash getCodeHash(); /** + *
+     * The hash of the contract code.
+     * 
+ * * .Hash code_hash = 4; */ io.aelf.protobuf.generated.Client.HashOrBuilder getCodeHashOrBuilder(); /** + *
+     * Whether it is a system contract.
+     * 
+ * * bool is_system_contract = 5; * @return The isSystemContract. */ boolean getIsSystemContract(); + + /** + *
+     * The version of the current contract.
+     * 
+ * + * int32 version = 6; + * @return The version. + */ + int getVersion(); } /** *
@@ -5931,12 +6145,25 @@ private ContractInfo(
               break;
             case 8: {
 
-              serialNumber_ = input.readUInt64();
+              serialNumber_ = input.readInt64();
+              break;
+            }
+            case 18: {
+              io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null;
+              if (author_ != null) {
+                subBuilder = author_.toBuilder();
+              }
+              author_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(author_);
+                author_ = subBuilder.buildPartial();
+              }
+
               break;
             }
             case 24: {
 
-              category_ = input.readInt32();
+              category_ = input.readSInt32();
               break;
             }
             case 34: {
@@ -5957,6 +6184,11 @@ private ContractInfo(
               isSystemContract_ = input.readBool();
               break;
             }
+            case 48: {
+
+              version_ = input.readInt32();
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -5992,17 +6224,60 @@ private ContractInfo(
     public static final int SERIAL_NUMBER_FIELD_NUMBER = 1;
     private long serialNumber_;
     /**
-     * uint64 serial_number = 1;
+     * 
+     * The serial number of the contract.
+     * 
+ * + * int64 serial_number = 1; * @return The serialNumber. */ public long getSerialNumber() { return serialNumber_; } + public static final int AUTHOR_FIELD_NUMBER = 2; + private io.aelf.protobuf.generated.Client.Address author_; + /** + *
+     * The author of the contract, this is the person who deployed the contract.
+     * 
+ * + * .Address author = 2; + * @return Whether the author field is set. + */ + public boolean hasAuthor() { + return author_ != null; + } + /** + *
+     * The author of the contract, this is the person who deployed the contract.
+     * 
+ * + * .Address author = 2; + * @return The author. + */ + public io.aelf.protobuf.generated.Client.Address getAuthor() { + return author_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : author_; + } + /** + *
+     * The author of the contract, this is the person who deployed the contract.
+     * 
+ * + * .Address author = 2; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getAuthorOrBuilder() { + return getAuthor(); + } + public static final int CATEGORY_FIELD_NUMBER = 3; private int category_; /** - * int32 category = 3; + *
+     * The category of contract code(0: C#).
+     * 
+ * + * sint32 category = 3; * @return The category. */ public int getCategory() { @@ -6012,6 +6287,10 @@ public int getCategory() { public static final int CODE_HASH_FIELD_NUMBER = 4; private io.aelf.protobuf.generated.Client.Hash codeHash_; /** + *
+     * The hash of the contract code.
+     * 
+ * * .Hash code_hash = 4; * @return Whether the codeHash field is set. */ @@ -6019,6 +6298,10 @@ public boolean hasCodeHash() { return codeHash_ != null; } /** + *
+     * The hash of the contract code.
+     * 
+ * * .Hash code_hash = 4; * @return The codeHash. */ @@ -6026,6 +6309,10 @@ public io.aelf.protobuf.generated.Client.Hash getCodeHash() { return codeHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : codeHash_; } /** + *
+     * The hash of the contract code.
+     * 
+ * * .Hash code_hash = 4; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getCodeHashOrBuilder() { @@ -6035,6 +6322,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getCodeHashOrBuilder() { public static final int IS_SYSTEM_CONTRACT_FIELD_NUMBER = 5; private boolean isSystemContract_; /** + *
+     * Whether it is a system contract.
+     * 
+ * * bool is_system_contract = 5; * @return The isSystemContract. */ @@ -6042,6 +6333,20 @@ public boolean getIsSystemContract() { return isSystemContract_; } + public static final int VERSION_FIELD_NUMBER = 6; + private int version_; + /** + *
+     * The version of the current contract.
+     * 
+ * + * int32 version = 6; + * @return The version. + */ + public int getVersion() { + return version_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -6057,10 +6362,13 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (serialNumber_ != 0L) { - output.writeUInt64(1, serialNumber_); + output.writeInt64(1, serialNumber_); + } + if (author_ != null) { + output.writeMessage(2, getAuthor()); } if (category_ != 0) { - output.writeInt32(3, category_); + output.writeSInt32(3, category_); } if (codeHash_ != null) { output.writeMessage(4, getCodeHash()); @@ -6068,6 +6376,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (isSystemContract_ != false) { output.writeBool(5, isSystemContract_); } + if (version_ != 0) { + output.writeInt32(6, version_); + } unknownFields.writeTo(output); } @@ -6079,11 +6390,15 @@ public int getSerializedSize() { size = 0; if (serialNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(1, serialNumber_); + .computeInt64Size(1, serialNumber_); + } + if (author_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAuthor()); } if (category_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, category_); + .computeSInt32Size(3, category_); } if (codeHash_ != null) { size += com.google.protobuf.CodedOutputStream @@ -6093,6 +6408,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, isSystemContract_); } + if (version_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, version_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -6110,6 +6429,11 @@ public boolean equals(final java.lang.Object obj) { if (getSerialNumber() != other.getSerialNumber()) return false; + if (hasAuthor() != other.hasAuthor()) return false; + if (hasAuthor()) { + if (!getAuthor() + .equals(other.getAuthor())) return false; + } if (getCategory() != other.getCategory()) return false; if (hasCodeHash() != other.hasCodeHash()) return false; @@ -6119,6 +6443,8 @@ public boolean equals(final java.lang.Object obj) { } if (getIsSystemContract() != other.getIsSystemContract()) return false; + if (getVersion() + != other.getVersion()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6133,6 +6459,10 @@ public int hashCode() { hash = (37 * hash) + SERIAL_NUMBER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSerialNumber()); + if (hasAuthor()) { + hash = (37 * hash) + AUTHOR_FIELD_NUMBER; + hash = (53 * hash) + getAuthor().hashCode(); + } hash = (37 * hash) + CATEGORY_FIELD_NUMBER; hash = (53 * hash) + getCategory(); if (hasCodeHash()) { @@ -6142,6 +6472,8 @@ public int hashCode() { hash = (37 * hash) + IS_SYSTEM_CONTRACT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsSystemContract()); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -6281,6 +6613,12 @@ public Builder clear() { super.clear(); serialNumber_ = 0L; + if (authorBuilder_ == null) { + author_ = null; + } else { + author_ = null; + authorBuilder_ = null; + } category_ = 0; if (codeHashBuilder_ == null) { @@ -6291,6 +6629,8 @@ public Builder clear() { } isSystemContract_ = false; + version_ = 0; + return this; } @@ -6318,6 +6658,11 @@ public io.aelf.protobuf.generated.Client.ContractInfo build() { public io.aelf.protobuf.generated.Client.ContractInfo buildPartial() { io.aelf.protobuf.generated.Client.ContractInfo result = new io.aelf.protobuf.generated.Client.ContractInfo(this); result.serialNumber_ = serialNumber_; + if (authorBuilder_ == null) { + result.author_ = author_; + } else { + result.author_ = authorBuilder_.build(); + } result.category_ = category_; if (codeHashBuilder_ == null) { result.codeHash_ = codeHash_; @@ -6325,6 +6670,7 @@ public io.aelf.protobuf.generated.Client.ContractInfo buildPartial() { result.codeHash_ = codeHashBuilder_.build(); } result.isSystemContract_ = isSystemContract_; + result.version_ = version_; onBuilt(); return result; } @@ -6376,6 +6722,9 @@ public Builder mergeFrom(io.aelf.protobuf.generated.Client.ContractInfo other) { if (other.getSerialNumber() != 0L) { setSerialNumber(other.getSerialNumber()); } + if (other.hasAuthor()) { + mergeAuthor(other.getAuthor()); + } if (other.getCategory() != 0) { setCategory(other.getCategory()); } @@ -6385,6 +6734,9 @@ public Builder mergeFrom(io.aelf.protobuf.generated.Client.ContractInfo other) { if (other.getIsSystemContract() != false) { setIsSystemContract(other.getIsSystemContract()); } + if (other.getVersion() != 0) { + setVersion(other.getVersion()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -6416,14 +6768,22 @@ public Builder mergeFrom( private long serialNumber_ ; /** - * uint64 serial_number = 1; + *
+       * The serial number of the contract.
+       * 
+ * + * int64 serial_number = 1; * @return The serialNumber. */ public long getSerialNumber() { return serialNumber_; } /** - * uint64 serial_number = 1; + *
+       * The serial number of the contract.
+       * 
+ * + * int64 serial_number = 1; * @param value The serialNumber to set. * @return This builder for chaining. */ @@ -6434,7 +6794,11 @@ public Builder setSerialNumber(long value) { return this; } /** - * uint64 serial_number = 1; + *
+       * The serial number of the contract.
+       * 
+ * + * int64 serial_number = 1; * @return This builder for chaining. */ public Builder clearSerialNumber() { @@ -6444,40 +6808,211 @@ public Builder clearSerialNumber() { return this; } - private int category_ ; + private io.aelf.protobuf.generated.Client.Address author_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> authorBuilder_; /** - * int32 category = 3; - * @return The category. + *
+       * The author of the contract, this is the person who deployed the contract.
+       * 
+ * + * .Address author = 2; + * @return Whether the author field is set. */ - public int getCategory() { - return category_; + public boolean hasAuthor() { + return authorBuilder_ != null || author_ != null; } /** - * int32 category = 3; - * @param value The category to set. - * @return This builder for chaining. + *
+       * The author of the contract, this is the person who deployed the contract.
+       * 
+ * + * .Address author = 2; + * @return The author. */ - public Builder setCategory(int value) { - - category_ = value; - onChanged(); - return this; + public io.aelf.protobuf.generated.Client.Address getAuthor() { + if (authorBuilder_ == null) { + return author_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : author_; + } else { + return authorBuilder_.getMessage(); + } } /** - * int32 category = 3; - * @return This builder for chaining. + *
+       * The author of the contract, this is the person who deployed the contract.
+       * 
+ * + * .Address author = 2; */ - public Builder clearCategory() { - - category_ = 0; - onChanged(); - return this; + public Builder setAuthor(io.aelf.protobuf.generated.Client.Address value) { + if (authorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + author_ = value; + onChanged(); + } else { + authorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The author of the contract, this is the person who deployed the contract.
+       * 
+ * + * .Address author = 2; + */ + public Builder setAuthor( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (authorBuilder_ == null) { + author_ = builderForValue.build(); + onChanged(); + } else { + authorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The author of the contract, this is the person who deployed the contract.
+       * 
+ * + * .Address author = 2; + */ + public Builder mergeAuthor(io.aelf.protobuf.generated.Client.Address value) { + if (authorBuilder_ == null) { + if (author_ != null) { + author_ = + io.aelf.protobuf.generated.Client.Address.newBuilder(author_).mergeFrom(value).buildPartial(); + } else { + author_ = value; + } + onChanged(); + } else { + authorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The author of the contract, this is the person who deployed the contract.
+       * 
+ * + * .Address author = 2; + */ + public Builder clearAuthor() { + if (authorBuilder_ == null) { + author_ = null; + onChanged(); + } else { + author_ = null; + authorBuilder_ = null; + } + + return this; + } + /** + *
+       * The author of the contract, this is the person who deployed the contract.
+       * 
+ * + * .Address author = 2; + */ + public io.aelf.protobuf.generated.Client.Address.Builder getAuthorBuilder() { + + onChanged(); + return getAuthorFieldBuilder().getBuilder(); + } + /** + *
+       * The author of the contract, this is the person who deployed the contract.
+       * 
+ * + * .Address author = 2; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getAuthorOrBuilder() { + if (authorBuilder_ != null) { + return authorBuilder_.getMessageOrBuilder(); + } else { + return author_ == null ? + io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : author_; + } + } + /** + *
+       * The author of the contract, this is the person who deployed the contract.
+       * 
+ * + * .Address author = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getAuthorFieldBuilder() { + if (authorBuilder_ == null) { + authorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + getAuthor(), + getParentForChildren(), + isClean()); + author_ = null; + } + return authorBuilder_; + } + + private int category_ ; + /** + *
+       * The category of contract code(0: C#).
+       * 
+ * + * sint32 category = 3; + * @return The category. + */ + public int getCategory() { + return category_; + } + /** + *
+       * The category of contract code(0: C#).
+       * 
+ * + * sint32 category = 3; + * @param value The category to set. + * @return This builder for chaining. + */ + public Builder setCategory(int value) { + + category_ = value; + onChanged(); + return this; + } + /** + *
+       * The category of contract code(0: C#).
+       * 
+ * + * sint32 category = 3; + * @return This builder for chaining. + */ + public Builder clearCategory() { + + category_ = 0; + onChanged(); + return this; } private io.aelf.protobuf.generated.Client.Hash codeHash_; private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> codeHashBuilder_; /** + *
+       * The hash of the contract code.
+       * 
+ * * .Hash code_hash = 4; * @return Whether the codeHash field is set. */ @@ -6485,6 +7020,10 @@ public boolean hasCodeHash() { return codeHashBuilder_ != null || codeHash_ != null; } /** + *
+       * The hash of the contract code.
+       * 
+ * * .Hash code_hash = 4; * @return The codeHash. */ @@ -6496,6 +7035,10 @@ public io.aelf.protobuf.generated.Client.Hash getCodeHash() { } } /** + *
+       * The hash of the contract code.
+       * 
+ * * .Hash code_hash = 4; */ public Builder setCodeHash(io.aelf.protobuf.generated.Client.Hash value) { @@ -6512,6 +7055,10 @@ public Builder setCodeHash(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The hash of the contract code.
+       * 
+ * * .Hash code_hash = 4; */ public Builder setCodeHash( @@ -6526,6 +7073,10 @@ public Builder setCodeHash( return this; } /** + *
+       * The hash of the contract code.
+       * 
+ * * .Hash code_hash = 4; */ public Builder mergeCodeHash(io.aelf.protobuf.generated.Client.Hash value) { @@ -6544,6 +7095,10 @@ public Builder mergeCodeHash(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The hash of the contract code.
+       * 
+ * * .Hash code_hash = 4; */ public Builder clearCodeHash() { @@ -6558,6 +7113,10 @@ public Builder clearCodeHash() { return this; } /** + *
+       * The hash of the contract code.
+       * 
+ * * .Hash code_hash = 4; */ public io.aelf.protobuf.generated.Client.Hash.Builder getCodeHashBuilder() { @@ -6566,6 +7125,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getCodeHashBuilder() { return getCodeHashFieldBuilder().getBuilder(); } /** + *
+       * The hash of the contract code.
+       * 
+ * * .Hash code_hash = 4; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getCodeHashOrBuilder() { @@ -6577,6 +7140,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getCodeHashOrBuilder() { } } /** + *
+       * The hash of the contract code.
+       * 
+ * * .Hash code_hash = 4; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -6595,6 +7162,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getCodeHashOrBuilder() { private boolean isSystemContract_ ; /** + *
+       * Whether it is a system contract.
+       * 
+ * * bool is_system_contract = 5; * @return The isSystemContract. */ @@ -6602,6 +7173,10 @@ public boolean getIsSystemContract() { return isSystemContract_; } /** + *
+       * Whether it is a system contract.
+       * 
+ * * bool is_system_contract = 5; * @param value The isSystemContract to set. * @return This builder for chaining. @@ -6613,6 +7188,10 @@ public Builder setIsSystemContract(boolean value) { return this; } /** + *
+       * Whether it is a system contract.
+       * 
+ * * bool is_system_contract = 5; * @return This builder for chaining. */ @@ -6622,6 +7201,48 @@ public Builder clearIsSystemContract() { onChanged(); return this; } + + private int version_ ; + /** + *
+       * The version of the current contract.
+       * 
+ * + * int32 version = 6; + * @return The version. + */ + public int getVersion() { + return version_; + } + /** + *
+       * The version of the current contract.
+       * 
+ * + * int32 version = 6; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion(int value) { + + version_ = value; + onChanged(); + return this; + } + /** + *
+       * The version of the current contract.
+       * 
+ * + * int32 version = 6; + * @return This builder for chaining. + */ + public Builder clearVersion() { + + version_ = 0; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6680,11 +7301,19 @@ public interface MethodFeesOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The name of the method to be charged.
+     * 
+ * * string method_name = 1; * @return The methodName. */ java.lang.String getMethodName(); /** + *
+     * The name of the method to be charged.
+     * 
+ * * string method_name = 1; * @return The bytes for methodName. */ @@ -6692,28 +7321,58 @@ public interface MethodFeesOrBuilder extends getMethodNameBytes(); /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ java.util.List getFeesList(); /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ io.aelf.protobuf.generated.Client.MethodFee getFees(int index); /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ int getFeesCount(); /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ java.util.List getFeesOrBuilderList(); /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ io.aelf.protobuf.generated.Client.MethodFeeOrBuilder getFeesOrBuilder( int index); + + /** + *
+     * Optional based on the implementation of SetMethodFee method.
+     * 
+ * + * bool is_size_fee_free = 3; + * @return The isSizeFeeFree. + */ + boolean getIsSizeFeeFree(); } /** *
@@ -6782,6 +7441,11 @@ private MethodFees(
                   input.readMessage(io.aelf.protobuf.generated.Client.MethodFee.parser(), extensionRegistry));
               break;
             }
+            case 24: {
+
+              isSizeFeeFree_ = input.readBool();
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -6820,6 +7484,10 @@ private MethodFees(
     public static final int METHOD_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object methodName_;
     /**
+     * 
+     * The name of the method to be charged.
+     * 
+ * * string method_name = 1; * @return The methodName. */ @@ -6836,6 +7504,10 @@ public java.lang.String getMethodName() { } } /** + *
+     * The name of the method to be charged.
+     * 
+ * * string method_name = 1; * @return The bytes for methodName. */ @@ -6856,12 +7528,20 @@ public java.lang.String getMethodName() { public static final int FEES_FIELD_NUMBER = 2; private java.util.List fees_; /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ public java.util.List getFeesList() { return fees_; } /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ public java.util.List @@ -6869,18 +7549,30 @@ public java.util.List getFeesList() return fees_; } /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ public int getFeesCount() { return fees_.size(); } /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ public io.aelf.protobuf.generated.Client.MethodFee getFees(int index) { return fees_.get(index); } /** + *
+     * List of fees to be charged.
+     * 
+ * * repeated .MethodFee fees = 2; */ public io.aelf.protobuf.generated.Client.MethodFeeOrBuilder getFeesOrBuilder( @@ -6888,6 +7580,20 @@ public io.aelf.protobuf.generated.Client.MethodFeeOrBuilder getFeesOrBuilder( return fees_.get(index); } + public static final int IS_SIZE_FEE_FREE_FIELD_NUMBER = 3; + private boolean isSizeFeeFree_; + /** + *
+     * Optional based on the implementation of SetMethodFee method.
+     * 
+ * + * bool is_size_fee_free = 3; + * @return The isSizeFeeFree. + */ + public boolean getIsSizeFeeFree() { + return isSizeFeeFree_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -6908,6 +7614,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < fees_.size(); i++) { output.writeMessage(2, fees_.get(i)); } + if (isSizeFeeFree_ != false) { + output.writeBool(3, isSizeFeeFree_); + } unknownFields.writeTo(output); } @@ -6924,6 +7633,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, fees_.get(i)); } + if (isSizeFeeFree_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isSizeFeeFree_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -6943,6 +7656,8 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getMethodName())) return false; if (!getFeesList() .equals(other.getFeesList())) return false; + if (getIsSizeFeeFree() + != other.getIsSizeFeeFree()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6960,6 +7675,9 @@ public int hashCode() { hash = (37 * hash) + FEES_FIELD_NUMBER; hash = (53 * hash) + getFeesList().hashCode(); } + hash = (37 * hash) + IS_SIZE_FEE_FREE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsSizeFeeFree()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -7106,6 +7824,8 @@ public Builder clear() { } else { feesBuilder_.clear(); } + isSizeFeeFree_ = false; + return this; } @@ -7143,6 +7863,7 @@ public io.aelf.protobuf.generated.Client.MethodFees buildPartial() { } else { result.fees_ = feesBuilder_.build(); } + result.isSizeFeeFree_ = isSizeFeeFree_; onBuilt(); return result; } @@ -7221,6 +7942,9 @@ public Builder mergeFrom(io.aelf.protobuf.generated.Client.MethodFees other) { } } } + if (other.getIsSizeFeeFree() != false) { + setIsSizeFeeFree(other.getIsSizeFeeFree()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -7253,6 +7977,10 @@ public Builder mergeFrom( private java.lang.Object methodName_ = ""; /** + *
+       * The name of the method to be charged.
+       * 
+ * * string method_name = 1; * @return The methodName. */ @@ -7269,6 +7997,10 @@ public java.lang.String getMethodName() { } } /** + *
+       * The name of the method to be charged.
+       * 
+ * * string method_name = 1; * @return The bytes for methodName. */ @@ -7286,6 +8018,10 @@ public java.lang.String getMethodName() { } } /** + *
+       * The name of the method to be charged.
+       * 
+ * * string method_name = 1; * @param value The methodName to set. * @return This builder for chaining. @@ -7301,6 +8037,10 @@ public Builder setMethodName( return this; } /** + *
+       * The name of the method to be charged.
+       * 
+ * * string method_name = 1; * @return This builder for chaining. */ @@ -7311,6 +8051,10 @@ public Builder clearMethodName() { return this; } /** + *
+       * The name of the method to be charged.
+       * 
+ * * string method_name = 1; * @param value The bytes for methodName to set. * @return This builder for chaining. @@ -7340,6 +8084,10 @@ private void ensureFeesIsMutable() { io.aelf.protobuf.generated.Client.MethodFee, io.aelf.protobuf.generated.Client.MethodFee.Builder, io.aelf.protobuf.generated.Client.MethodFeeOrBuilder> feesBuilder_; /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public java.util.List getFeesList() { @@ -7350,8 +8098,12 @@ public java.util.List getFeesList() } } /** - * repeated .MethodFee fees = 2; - */ + *
+       * List of fees to be charged.
+       * 
+ * + * repeated .MethodFee fees = 2; + */ public int getFeesCount() { if (feesBuilder_ == null) { return fees_.size(); @@ -7360,6 +8112,10 @@ public int getFeesCount() { } } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public io.aelf.protobuf.generated.Client.MethodFee getFees(int index) { @@ -7370,6 +8126,10 @@ public io.aelf.protobuf.generated.Client.MethodFee getFees(int index) { } } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public Builder setFees( @@ -7387,6 +8147,10 @@ public Builder setFees( return this; } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public Builder setFees( @@ -7401,6 +8165,10 @@ public Builder setFees( return this; } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public Builder addFees(io.aelf.protobuf.generated.Client.MethodFee value) { @@ -7417,6 +8185,10 @@ public Builder addFees(io.aelf.protobuf.generated.Client.MethodFee value) { return this; } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public Builder addFees( @@ -7434,6 +8206,10 @@ public Builder addFees( return this; } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public Builder addFees( @@ -7448,6 +8224,10 @@ public Builder addFees( return this; } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public Builder addFees( @@ -7462,6 +8242,10 @@ public Builder addFees( return this; } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public Builder addAllFees( @@ -7477,6 +8261,10 @@ public Builder addAllFees( return this; } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public Builder clearFees() { @@ -7490,6 +8278,10 @@ public Builder clearFees() { return this; } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public Builder removeFees(int index) { @@ -7503,6 +8295,10 @@ public Builder removeFees(int index) { return this; } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public io.aelf.protobuf.generated.Client.MethodFee.Builder getFeesBuilder( @@ -7510,6 +8306,10 @@ public io.aelf.protobuf.generated.Client.MethodFee.Builder getFeesBuilder( return getFeesFieldBuilder().getBuilder(index); } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public io.aelf.protobuf.generated.Client.MethodFeeOrBuilder getFeesOrBuilder( @@ -7520,6 +8320,10 @@ public io.aelf.protobuf.generated.Client.MethodFeeOrBuilder getFeesOrBuilder( } } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public java.util.List @@ -7531,6 +8335,10 @@ public io.aelf.protobuf.generated.Client.MethodFeeOrBuilder getFeesOrBuilder( } } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public io.aelf.protobuf.generated.Client.MethodFee.Builder addFeesBuilder() { @@ -7538,6 +8346,10 @@ public io.aelf.protobuf.generated.Client.MethodFee.Builder addFeesBuilder() { io.aelf.protobuf.generated.Client.MethodFee.getDefaultInstance()); } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public io.aelf.protobuf.generated.Client.MethodFee.Builder addFeesBuilder( @@ -7546,6 +8358,10 @@ public io.aelf.protobuf.generated.Client.MethodFee.Builder addFeesBuilder( index, io.aelf.protobuf.generated.Client.MethodFee.getDefaultInstance()); } /** + *
+       * List of fees to be charged.
+       * 
+ * * repeated .MethodFee fees = 2; */ public java.util.List @@ -7566,6 +8382,48 @@ public io.aelf.protobuf.generated.Client.MethodFee.Builder addFeesBuilder( } return feesBuilder_; } + + private boolean isSizeFeeFree_ ; + /** + *
+       * Optional based on the implementation of SetMethodFee method.
+       * 
+ * + * bool is_size_fee_free = 3; + * @return The isSizeFeeFree. + */ + public boolean getIsSizeFeeFree() { + return isSizeFeeFree_; + } + /** + *
+       * Optional based on the implementation of SetMethodFee method.
+       * 
+ * + * bool is_size_fee_free = 3; + * @param value The isSizeFeeFree to set. + * @return This builder for chaining. + */ + public Builder setIsSizeFeeFree(boolean value) { + + isSizeFeeFree_ = value; + onChanged(); + return this; + } + /** + *
+       * Optional based on the implementation of SetMethodFee method.
+       * 
+ * + * bool is_size_fee_free = 3; + * @return This builder for chaining. + */ + public Builder clearIsSizeFeeFree() { + + isSizeFeeFree_ = false; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7624,11 +8482,19 @@ public interface MethodFeeOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The token symbol of the method fee.
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The token symbol of the method fee.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -7636,7 +8502,11 @@ public interface MethodFeeOrBuilder extends getSymbolBytes(); /** - * sint64 basic_fee = 2; + *
+     * The amount of fees to be charged.
+     * 
+ * + * int64 basic_fee = 2; * @return The basicFee. */ long getBasicFee(); @@ -7695,7 +8565,7 @@ private MethodFee( } case 16: { - basicFee_ = input.readSInt64(); + basicFee_ = input.readInt64(); break; } default: { @@ -7733,6 +8603,10 @@ private MethodFee( public static final int SYMBOL_FIELD_NUMBER = 1; private volatile java.lang.Object symbol_; /** + *
+     * The token symbol of the method fee.
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -7749,6 +8623,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The token symbol of the method fee.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -7769,7 +8647,11 @@ public java.lang.String getSymbol() { public static final int BASIC_FEE_FIELD_NUMBER = 2; private long basicFee_; /** - * sint64 basic_fee = 2; + *
+     * The amount of fees to be charged.
+     * 
+ * + * int64 basic_fee = 2; * @return The basicFee. */ public long getBasicFee() { @@ -7794,7 +8676,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_); } if (basicFee_ != 0L) { - output.writeSInt64(2, basicFee_); + output.writeInt64(2, basicFee_); } unknownFields.writeTo(output); } @@ -7810,7 +8692,7 @@ public int getSerializedSize() { } if (basicFee_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, basicFee_); + .computeInt64Size(2, basicFee_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8098,6 +8980,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The token symbol of the method fee.
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -8114,6 +9000,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The token symbol of the method fee.
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -8131,6 +9021,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The token symbol of the method fee.
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -8146,6 +9040,10 @@ public Builder setSymbol( return this; } /** + *
+       * The token symbol of the method fee.
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -8156,6 +9054,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The token symbol of the method fee.
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -8174,14 +9076,22 @@ public Builder setSymbolBytes( private long basicFee_ ; /** - * sint64 basic_fee = 2; + *
+       * The amount of fees to be charged.
+       * 
+ * + * int64 basic_fee = 2; * @return The basicFee. */ public long getBasicFee() { return basicFee_; } /** - * sint64 basic_fee = 2; + *
+       * The amount of fees to be charged.
+       * 
+ * + * int64 basic_fee = 2; * @param value The basicFee to set. * @return This builder for chaining. */ @@ -8192,7 +9102,11 @@ public Builder setBasicFee(long value) { return this; } /** - * sint64 basic_fee = 2; + *
+       * The amount of fees to be charged.
+       * 
+ * + * int64 basic_fee = 2; * @return This builder for chaining. */ public Builder clearBasicFee() { @@ -8259,31 +9173,99 @@ public interface ResourceInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + java.util.List + getWritePathsList(); + /** + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + io.aelf.protobuf.generated.Client.ScopedStatePath getWritePaths(int index); + /** + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + int getWritePathsCount(); + /** + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + java.util.List + getWritePathsOrBuilderList(); + /** + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder getWritePathsOrBuilder( + int index); + + /** + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ java.util.List - getPathsList(); + getReadPathsList(); /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ - io.aelf.protobuf.generated.Client.ScopedStatePath getPaths(int index); + io.aelf.protobuf.generated.Client.ScopedStatePath getReadPaths(int index); /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ - int getPathsCount(); + int getReadPathsCount(); /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ java.util.List - getPathsOrBuilderList(); + getReadPathsOrBuilderList(); /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ - io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder getPathsOrBuilder( + io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder getReadPathsOrBuilder( int index); /** - * bool non_parallelizable = 2; + *
+     * Whether the transaction is not executed in parallel.
+     * 
+ * + * bool non_parallelizable = 3; * @return The nonParallelizable. */ boolean getNonParallelizable(); @@ -8305,7 +9287,8 @@ private ResourceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) super(builder); } private ResourceInfo() { - paths_ = java.util.Collections.emptyList(); + writePaths_ = java.util.Collections.emptyList(); + readPaths_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -8341,14 +9324,23 @@ private ResourceInfo( break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { - paths_ = new java.util.ArrayList(); + writePaths_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - paths_.add( + writePaths_.add( input.readMessage(io.aelf.protobuf.generated.Client.ScopedStatePath.parser(), extensionRegistry)); break; } - case 16: { + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + readPaths_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + readPaths_.add( + input.readMessage(io.aelf.protobuf.generated.Client.ScopedStatePath.parser(), extensionRegistry)); + break; + } + case 24: { nonParallelizable_ = input.readBool(); break; @@ -8369,7 +9361,10 @@ private ResourceInfo( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - paths_ = java.util.Collections.unmodifiableList(paths_); + writePaths_ = java.util.Collections.unmodifiableList(writePaths_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + readPaths_ = java.util.Collections.unmodifiableList(readPaths_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -8388,45 +9383,124 @@ private ResourceInfo( io.aelf.protobuf.generated.Client.ResourceInfo.class, io.aelf.protobuf.generated.Client.ResourceInfo.Builder.class); } - public static final int PATHS_FIELD_NUMBER = 1; - private java.util.List paths_; + public static final int WRITE_PATHS_FIELD_NUMBER = 1; + private java.util.List writePaths_; + /** + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + public java.util.List getWritePathsList() { + return writePaths_; + } + /** + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + public java.util.List + getWritePathsOrBuilderList() { + return writePaths_; + } + /** + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + public int getWritePathsCount() { + return writePaths_.size(); + } + /** + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + public io.aelf.protobuf.generated.Client.ScopedStatePath getWritePaths(int index) { + return writePaths_.get(index); + } + /** + *
+     * The state path that depends on when writing.
+     * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + public io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder getWritePathsOrBuilder( + int index) { + return writePaths_.get(index); + } + + public static final int READ_PATHS_FIELD_NUMBER = 2; + private java.util.List readPaths_; /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ - public java.util.List getPathsList() { - return paths_; + public java.util.List getReadPathsList() { + return readPaths_; } /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ public java.util.List - getPathsOrBuilderList() { - return paths_; + getReadPathsOrBuilderList() { + return readPaths_; } /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ - public int getPathsCount() { - return paths_.size(); + public int getReadPathsCount() { + return readPaths_.size(); } /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ - public io.aelf.protobuf.generated.Client.ScopedStatePath getPaths(int index) { - return paths_.get(index); + public io.aelf.protobuf.generated.Client.ScopedStatePath getReadPaths(int index) { + return readPaths_.get(index); } /** - * repeated .ScopedStatePath paths = 1; + *
+     * The state path that depends on when reading.
+     * 
+ * + * repeated .ScopedStatePath read_paths = 2; */ - public io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder getPathsOrBuilder( + public io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder getReadPathsOrBuilder( int index) { - return paths_.get(index); + return readPaths_.get(index); } - public static final int NON_PARALLELIZABLE_FIELD_NUMBER = 2; + public static final int NON_PARALLELIZABLE_FIELD_NUMBER = 3; private boolean nonParallelizable_; /** - * bool non_parallelizable = 2; + *
+     * Whether the transaction is not executed in parallel.
+     * 
+ * + * bool non_parallelizable = 3; * @return The nonParallelizable. */ public boolean getNonParallelizable() { @@ -8447,11 +9521,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < paths_.size(); i++) { - output.writeMessage(1, paths_.get(i)); + for (int i = 0; i < writePaths_.size(); i++) { + output.writeMessage(1, writePaths_.get(i)); + } + for (int i = 0; i < readPaths_.size(); i++) { + output.writeMessage(2, readPaths_.get(i)); } if (nonParallelizable_ != false) { - output.writeBool(2, nonParallelizable_); + output.writeBool(3, nonParallelizable_); } unknownFields.writeTo(output); } @@ -8462,13 +9539,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < paths_.size(); i++) { + for (int i = 0; i < writePaths_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, paths_.get(i)); + .computeMessageSize(1, writePaths_.get(i)); + } + for (int i = 0; i < readPaths_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, readPaths_.get(i)); } if (nonParallelizable_ != false) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, nonParallelizable_); + .computeBoolSize(3, nonParallelizable_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8485,8 +9566,10 @@ public boolean equals(final java.lang.Object obj) { } io.aelf.protobuf.generated.Client.ResourceInfo other = (io.aelf.protobuf.generated.Client.ResourceInfo) obj; - if (!getPathsList() - .equals(other.getPathsList())) return false; + if (!getWritePathsList() + .equals(other.getWritePathsList())) return false; + if (!getReadPathsList() + .equals(other.getReadPathsList())) return false; if (getNonParallelizable() != other.getNonParallelizable()) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -8500,9 +9583,13 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getPathsCount() > 0) { - hash = (37 * hash) + PATHS_FIELD_NUMBER; - hash = (53 * hash) + getPathsList().hashCode(); + if (getWritePathsCount() > 0) { + hash = (37 * hash) + WRITE_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getWritePathsList().hashCode(); + } + if (getReadPathsCount() > 0) { + hash = (37 * hash) + READ_PATHS_FIELD_NUMBER; + hash = (53 * hash) + getReadPathsList().hashCode(); } hash = (37 * hash) + NON_PARALLELIZABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( @@ -8639,17 +9726,24 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getPathsFieldBuilder(); + getWritePathsFieldBuilder(); + getReadPathsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (pathsBuilder_ == null) { - paths_ = java.util.Collections.emptyList(); + if (writePathsBuilder_ == null) { + writePaths_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { - pathsBuilder_.clear(); + writePathsBuilder_.clear(); + } + if (readPathsBuilder_ == null) { + readPaths_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + readPathsBuilder_.clear(); } nonParallelizable_ = false; @@ -8680,14 +9774,23 @@ public io.aelf.protobuf.generated.Client.ResourceInfo build() { public io.aelf.protobuf.generated.Client.ResourceInfo buildPartial() { io.aelf.protobuf.generated.Client.ResourceInfo result = new io.aelf.protobuf.generated.Client.ResourceInfo(this); int from_bitField0_ = bitField0_; - if (pathsBuilder_ == null) { + if (writePathsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - paths_ = java.util.Collections.unmodifiableList(paths_); + writePaths_ = java.util.Collections.unmodifiableList(writePaths_); bitField0_ = (bitField0_ & ~0x00000001); } - result.paths_ = paths_; + result.writePaths_ = writePaths_; + } else { + result.writePaths_ = writePathsBuilder_.build(); + } + if (readPathsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + readPaths_ = java.util.Collections.unmodifiableList(readPaths_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.readPaths_ = readPaths_; } else { - result.paths_ = pathsBuilder_.build(); + result.readPaths_ = readPathsBuilder_.build(); } result.nonParallelizable_ = nonParallelizable_; onBuilt(); @@ -8738,29 +9841,55 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(io.aelf.protobuf.generated.Client.ResourceInfo other) { if (other == io.aelf.protobuf.generated.Client.ResourceInfo.getDefaultInstance()) return this; - if (pathsBuilder_ == null) { - if (!other.paths_.isEmpty()) { - if (paths_.isEmpty()) { - paths_ = other.paths_; + if (writePathsBuilder_ == null) { + if (!other.writePaths_.isEmpty()) { + if (writePaths_.isEmpty()) { + writePaths_ = other.writePaths_; bitField0_ = (bitField0_ & ~0x00000001); } else { - ensurePathsIsMutable(); - paths_.addAll(other.paths_); + ensureWritePathsIsMutable(); + writePaths_.addAll(other.writePaths_); } onChanged(); } } else { - if (!other.paths_.isEmpty()) { - if (pathsBuilder_.isEmpty()) { - pathsBuilder_.dispose(); - pathsBuilder_ = null; - paths_ = other.paths_; + if (!other.writePaths_.isEmpty()) { + if (writePathsBuilder_.isEmpty()) { + writePathsBuilder_.dispose(); + writePathsBuilder_ = null; + writePaths_ = other.writePaths_; bitField0_ = (bitField0_ & ~0x00000001); - pathsBuilder_ = + writePathsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWritePathsFieldBuilder() : null; + } else { + writePathsBuilder_.addAllMessages(other.writePaths_); + } + } + } + if (readPathsBuilder_ == null) { + if (!other.readPaths_.isEmpty()) { + if (readPaths_.isEmpty()) { + readPaths_ = other.readPaths_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureReadPathsIsMutable(); + readPaths_.addAll(other.readPaths_); + } + onChanged(); + } + } else { + if (!other.readPaths_.isEmpty()) { + if (readPathsBuilder_.isEmpty()) { + readPathsBuilder_.dispose(); + readPathsBuilder_ = null; + readPaths_ = other.readPaths_; + bitField0_ = (bitField0_ & ~0x00000002); + readPathsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPathsFieldBuilder() : null; + getReadPathsFieldBuilder() : null; } else { - pathsBuilder_.addAllMessages(other.paths_); + readPathsBuilder_.addAllMessages(other.readPaths_); } } } @@ -8797,256 +9926,648 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List paths_ = + private java.util.List writePaths_ = java.util.Collections.emptyList(); - private void ensurePathsIsMutable() { + private void ensureWritePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - paths_ = new java.util.ArrayList(paths_); + writePaths_ = new java.util.ArrayList(writePaths_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.ScopedStatePath, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder, io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder> pathsBuilder_; + io.aelf.protobuf.generated.Client.ScopedStatePath, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder, io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder> writePathsBuilder_; /** - * repeated .ScopedStatePath paths = 1; - */ - public java.util.List getPathsList() { - if (pathsBuilder_ == null) { - return java.util.Collections.unmodifiableList(paths_); + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; + */ + public java.util.List getWritePathsList() { + if (writePathsBuilder_ == null) { + return java.util.Collections.unmodifiableList(writePaths_); } else { - return pathsBuilder_.getMessageList(); + return writePathsBuilder_.getMessageList(); } } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public int getPathsCount() { - if (pathsBuilder_ == null) { - return paths_.size(); + public int getWritePathsCount() { + if (writePathsBuilder_ == null) { + return writePaths_.size(); } else { - return pathsBuilder_.getCount(); + return writePathsBuilder_.getCount(); } } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public io.aelf.protobuf.generated.Client.ScopedStatePath getPaths(int index) { - if (pathsBuilder_ == null) { - return paths_.get(index); + public io.aelf.protobuf.generated.Client.ScopedStatePath getWritePaths(int index) { + if (writePathsBuilder_ == null) { + return writePaths_.get(index); } else { - return pathsBuilder_.getMessage(index); + return writePathsBuilder_.getMessage(index); } } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public Builder setPaths( + public Builder setWritePaths( int index, io.aelf.protobuf.generated.Client.ScopedStatePath value) { - if (pathsBuilder_ == null) { + if (writePathsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensurePathsIsMutable(); - paths_.set(index, value); + ensureWritePathsIsMutable(); + writePaths_.set(index, value); onChanged(); } else { - pathsBuilder_.setMessage(index, value); + writePathsBuilder_.setMessage(index, value); } return this; } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public Builder setPaths( + public Builder setWritePaths( int index, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder builderForValue) { - if (pathsBuilder_ == null) { - ensurePathsIsMutable(); - paths_.set(index, builderForValue.build()); + if (writePathsBuilder_ == null) { + ensureWritePathsIsMutable(); + writePaths_.set(index, builderForValue.build()); onChanged(); } else { - pathsBuilder_.setMessage(index, builderForValue.build()); + writePathsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public Builder addPaths(io.aelf.protobuf.generated.Client.ScopedStatePath value) { - if (pathsBuilder_ == null) { + public Builder addWritePaths(io.aelf.protobuf.generated.Client.ScopedStatePath value) { + if (writePathsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensurePathsIsMutable(); - paths_.add(value); + ensureWritePathsIsMutable(); + writePaths_.add(value); onChanged(); } else { - pathsBuilder_.addMessage(value); + writePathsBuilder_.addMessage(value); } return this; } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public Builder addPaths( + public Builder addWritePaths( int index, io.aelf.protobuf.generated.Client.ScopedStatePath value) { - if (pathsBuilder_ == null) { + if (writePathsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - ensurePathsIsMutable(); - paths_.add(index, value); + ensureWritePathsIsMutable(); + writePaths_.add(index, value); onChanged(); } else { - pathsBuilder_.addMessage(index, value); + writePathsBuilder_.addMessage(index, value); } return this; } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public Builder addPaths( + public Builder addWritePaths( io.aelf.protobuf.generated.Client.ScopedStatePath.Builder builderForValue) { - if (pathsBuilder_ == null) { - ensurePathsIsMutable(); - paths_.add(builderForValue.build()); + if (writePathsBuilder_ == null) { + ensureWritePathsIsMutable(); + writePaths_.add(builderForValue.build()); onChanged(); } else { - pathsBuilder_.addMessage(builderForValue.build()); + writePathsBuilder_.addMessage(builderForValue.build()); } return this; } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public Builder addPaths( + public Builder addWritePaths( int index, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder builderForValue) { - if (pathsBuilder_ == null) { - ensurePathsIsMutable(); - paths_.add(index, builderForValue.build()); + if (writePathsBuilder_ == null) { + ensureWritePathsIsMutable(); + writePaths_.add(index, builderForValue.build()); onChanged(); } else { - pathsBuilder_.addMessage(index, builderForValue.build()); + writePathsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public Builder addAllPaths( + public Builder addAllWritePaths( java.lang.Iterable values) { - if (pathsBuilder_ == null) { - ensurePathsIsMutable(); + if (writePathsBuilder_ == null) { + ensureWritePathsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, paths_); + values, writePaths_); onChanged(); } else { - pathsBuilder_.addAllMessages(values); + writePathsBuilder_.addAllMessages(values); } return this; } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public Builder clearPaths() { - if (pathsBuilder_ == null) { - paths_ = java.util.Collections.emptyList(); + public Builder clearWritePaths() { + if (writePathsBuilder_ == null) { + writePaths_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { - pathsBuilder_.clear(); + writePathsBuilder_.clear(); } return this; } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public Builder removePaths(int index) { - if (pathsBuilder_ == null) { - ensurePathsIsMutable(); - paths_.remove(index); + public Builder removeWritePaths(int index) { + if (writePathsBuilder_ == null) { + ensureWritePathsIsMutable(); + writePaths_.remove(index); onChanged(); } else { - pathsBuilder_.remove(index); + writePathsBuilder_.remove(index); } return this; } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public io.aelf.protobuf.generated.Client.ScopedStatePath.Builder getPathsBuilder( + public io.aelf.protobuf.generated.Client.ScopedStatePath.Builder getWritePathsBuilder( int index) { - return getPathsFieldBuilder().getBuilder(index); + return getWritePathsFieldBuilder().getBuilder(index); } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder getPathsOrBuilder( + public io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder getWritePathsOrBuilder( int index) { - if (pathsBuilder_ == null) { - return paths_.get(index); } else { - return pathsBuilder_.getMessageOrBuilder(index); + if (writePathsBuilder_ == null) { + return writePaths_.get(index); } else { + return writePathsBuilder_.getMessageOrBuilder(index); } } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ public java.util.List - getPathsOrBuilderList() { - if (pathsBuilder_ != null) { - return pathsBuilder_.getMessageOrBuilderList(); + getWritePathsOrBuilderList() { + if (writePathsBuilder_ != null) { + return writePathsBuilder_.getMessageOrBuilderList(); } else { - return java.util.Collections.unmodifiableList(paths_); + return java.util.Collections.unmodifiableList(writePaths_); } } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public io.aelf.protobuf.generated.Client.ScopedStatePath.Builder addPathsBuilder() { - return getPathsFieldBuilder().addBuilder( + public io.aelf.protobuf.generated.Client.ScopedStatePath.Builder addWritePathsBuilder() { + return getWritePathsFieldBuilder().addBuilder( io.aelf.protobuf.generated.Client.ScopedStatePath.getDefaultInstance()); } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ - public io.aelf.protobuf.generated.Client.ScopedStatePath.Builder addPathsBuilder( + public io.aelf.protobuf.generated.Client.ScopedStatePath.Builder addWritePathsBuilder( int index) { - return getPathsFieldBuilder().addBuilder( + return getWritePathsFieldBuilder().addBuilder( index, io.aelf.protobuf.generated.Client.ScopedStatePath.getDefaultInstance()); } /** - * repeated .ScopedStatePath paths = 1; + *
+       * The state path that depends on when writing.
+       * 
+ * + * repeated .ScopedStatePath write_paths = 1; */ public java.util.List - getPathsBuilderList() { - return getPathsFieldBuilder().getBuilderList(); + getWritePathsBuilderList() { + return getWritePathsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.aelf.protobuf.generated.Client.ScopedStatePath, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder, io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder> - getPathsFieldBuilder() { - if (pathsBuilder_ == null) { - pathsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + getWritePathsFieldBuilder() { + if (writePathsBuilder_ == null) { + writePathsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.aelf.protobuf.generated.Client.ScopedStatePath, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder, io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder>( - paths_, + writePaths_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - paths_ = null; + writePaths_ = null; + } + return writePathsBuilder_; + } + + private java.util.List readPaths_ = + java.util.Collections.emptyList(); + private void ensureReadPathsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + readPaths_ = new java.util.ArrayList(readPaths_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.ScopedStatePath, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder, io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder> readPathsBuilder_; + + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public java.util.List getReadPathsList() { + if (readPathsBuilder_ == null) { + return java.util.Collections.unmodifiableList(readPaths_); + } else { + return readPathsBuilder_.getMessageList(); + } + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public int getReadPathsCount() { + if (readPathsBuilder_ == null) { + return readPaths_.size(); + } else { + return readPathsBuilder_.getCount(); + } + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public io.aelf.protobuf.generated.Client.ScopedStatePath getReadPaths(int index) { + if (readPathsBuilder_ == null) { + return readPaths_.get(index); + } else { + return readPathsBuilder_.getMessage(index); + } + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public Builder setReadPaths( + int index, io.aelf.protobuf.generated.Client.ScopedStatePath value) { + if (readPathsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReadPathsIsMutable(); + readPaths_.set(index, value); + onChanged(); + } else { + readPathsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public Builder setReadPaths( + int index, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder builderForValue) { + if (readPathsBuilder_ == null) { + ensureReadPathsIsMutable(); + readPaths_.set(index, builderForValue.build()); + onChanged(); + } else { + readPathsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public Builder addReadPaths(io.aelf.protobuf.generated.Client.ScopedStatePath value) { + if (readPathsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReadPathsIsMutable(); + readPaths_.add(value); + onChanged(); + } else { + readPathsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public Builder addReadPaths( + int index, io.aelf.protobuf.generated.Client.ScopedStatePath value) { + if (readPathsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReadPathsIsMutable(); + readPaths_.add(index, value); + onChanged(); + } else { + readPathsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public Builder addReadPaths( + io.aelf.protobuf.generated.Client.ScopedStatePath.Builder builderForValue) { + if (readPathsBuilder_ == null) { + ensureReadPathsIsMutable(); + readPaths_.add(builderForValue.build()); + onChanged(); + } else { + readPathsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public Builder addReadPaths( + int index, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder builderForValue) { + if (readPathsBuilder_ == null) { + ensureReadPathsIsMutable(); + readPaths_.add(index, builderForValue.build()); + onChanged(); + } else { + readPathsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public Builder addAllReadPaths( + java.lang.Iterable values) { + if (readPathsBuilder_ == null) { + ensureReadPathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, readPaths_); + onChanged(); + } else { + readPathsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public Builder clearReadPaths() { + if (readPathsBuilder_ == null) { + readPaths_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + readPathsBuilder_.clear(); + } + return this; + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public Builder removeReadPaths(int index) { + if (readPathsBuilder_ == null) { + ensureReadPathsIsMutable(); + readPaths_.remove(index); + onChanged(); + } else { + readPathsBuilder_.remove(index); + } + return this; + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public io.aelf.protobuf.generated.Client.ScopedStatePath.Builder getReadPathsBuilder( + int index) { + return getReadPathsFieldBuilder().getBuilder(index); + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder getReadPathsOrBuilder( + int index) { + if (readPathsBuilder_ == null) { + return readPaths_.get(index); } else { + return readPathsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public java.util.List + getReadPathsOrBuilderList() { + if (readPathsBuilder_ != null) { + return readPathsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(readPaths_); + } + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public io.aelf.protobuf.generated.Client.ScopedStatePath.Builder addReadPathsBuilder() { + return getReadPathsFieldBuilder().addBuilder( + io.aelf.protobuf.generated.Client.ScopedStatePath.getDefaultInstance()); + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public io.aelf.protobuf.generated.Client.ScopedStatePath.Builder addReadPathsBuilder( + int index) { + return getReadPathsFieldBuilder().addBuilder( + index, io.aelf.protobuf.generated.Client.ScopedStatePath.getDefaultInstance()); + } + /** + *
+       * The state path that depends on when reading.
+       * 
+ * + * repeated .ScopedStatePath read_paths = 2; + */ + public java.util.List + getReadPathsBuilderList() { + return getReadPathsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.ScopedStatePath, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder, io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder> + getReadPathsFieldBuilder() { + if (readPathsBuilder_ == null) { + readPathsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.ScopedStatePath, io.aelf.protobuf.generated.Client.ScopedStatePath.Builder, io.aelf.protobuf.generated.Client.ScopedStatePathOrBuilder>( + readPaths_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + readPaths_ = null; } - return pathsBuilder_; + return readPathsBuilder_; } private boolean nonParallelizable_ ; /** - * bool non_parallelizable = 2; + *
+       * Whether the transaction is not executed in parallel.
+       * 
+ * + * bool non_parallelizable = 3; * @return The nonParallelizable. */ public boolean getNonParallelizable() { return nonParallelizable_; } /** - * bool non_parallelizable = 2; + *
+       * Whether the transaction is not executed in parallel.
+       * 
+ * + * bool non_parallelizable = 3; * @param value The nonParallelizable to set. * @return This builder for chaining. */ @@ -9057,8 +10578,12 @@ public Builder setNonParallelizable(boolean value) { return this; } /** - * bool non_parallelizable = 2; - * @return This builder for chaining. + *
+       * Whether the transaction is not executed in parallel.
+       * 
+ * + * bool non_parallelizable = 3; + * @return This builder for chaining. */ public Builder clearNonParallelizable() { @@ -9124,26 +10649,46 @@ public interface ProposalOutputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The id of the proposal.
+     * 
+ * * .Hash proposal_id = 1; * @return Whether the proposalId field is set. */ boolean hasProposalId(); /** + *
+     * The id of the proposal.
+     * 
+ * * .Hash proposal_id = 1; * @return The proposalId. */ io.aelf.protobuf.generated.Client.Hash getProposalId(); /** + *
+     * The id of the proposal.
+     * 
+ * * .Hash proposal_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdOrBuilder(); /** + *
+     * The method that this proposal will call when being released.
+     * 
+ * * string contract_method_name = 2; * @return The contractMethodName. */ java.lang.String getContractMethodName(); /** + *
+     * The method that this proposal will call when being released.
+     * 
+ * * string contract_method_name = 2; * @return The bytes for contractMethodName. */ @@ -9151,76 +10696,162 @@ public interface ProposalOutputOrBuilder extends getContractMethodNameBytes(); /** + *
+     * The address of the target contract.
+     * 
+ * * .Address to_address = 3; * @return Whether the toAddress field is set. */ boolean hasToAddress(); /** + *
+     * The address of the target contract.
+     * 
+ * * .Address to_address = 3; * @return The toAddress. */ io.aelf.protobuf.generated.Client.Address getToAddress(); /** + *
+     * The address of the target contract.
+     * 
+ * * .Address to_address = 3; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getToAddressOrBuilder(); /** + *
+     * The parameters of the release transaction.
+     * 
+ * * bytes params = 4; * @return The params. */ com.google.protobuf.ByteString getParams(); /** + *
+     * The date at which this proposal will expire.
+     * 
+ * * .google.protobuf.Timestamp expired_time = 5; * @return Whether the expiredTime field is set. */ boolean hasExpiredTime(); /** + *
+     * The date at which this proposal will expire.
+     * 
+ * * .google.protobuf.Timestamp expired_time = 5; * @return The expiredTime. */ com.google.protobuf.Timestamp getExpiredTime(); /** + *
+     * The date at which this proposal will expire.
+     * 
+ * * .google.protobuf.Timestamp expired_time = 5; */ com.google.protobuf.TimestampOrBuilder getExpiredTimeOrBuilder(); /** + *
+     * The address of this proposals organization.
+     * 
+ * * .Address organization_address = 6; * @return Whether the organizationAddress field is set. */ boolean hasOrganizationAddress(); /** + *
+     * The address of this proposals organization.
+     * 
+ * * .Address organization_address = 6; * @return The organizationAddress. */ io.aelf.protobuf.generated.Client.Address getOrganizationAddress(); /** + *
+     * The address of this proposals organization.
+     * 
+ * * .Address organization_address = 6; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder(); /** + *
+     * The address of the proposer of this proposal.
+     * 
+ * * .Address proposer = 7; * @return Whether the proposer field is set. */ boolean hasProposer(); /** + *
+     * The address of the proposer of this proposal.
+     * 
+ * * .Address proposer = 7; * @return The proposer. */ io.aelf.protobuf.generated.Client.Address getProposer(); /** + *
+     * The address of the proposer of this proposal.
+     * 
+ * * .Address proposer = 7; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getProposerOrBuilder(); /** + *
+     * Indicates if this proposal is releasable.
+     * 
+ * * bool to_be_released = 8; * @return The toBeReleased. */ boolean getToBeReleased(); + + /** + *
+     * Approval count for this proposal.
+     * 
+ * + * int64 approval_count = 9; + * @return The approvalCount. + */ + long getApprovalCount(); + + /** + *
+     * Rejection count for this proposal.
+     * 
+ * + * int64 rejection_count = 10; + * @return The rejectionCount. + */ + long getRejectionCount(); + + /** + *
+     * Abstention count for this proposal.
+     * 
+ * + * int64 abstention_count = 11; + * @return The abstentionCount. + */ + long getAbstentionCount(); } /** *
@@ -9354,6 +10985,21 @@ private ProposalOutput(
               toBeReleased_ = input.readBool();
               break;
             }
+            case 72: {
+
+              approvalCount_ = input.readInt64();
+              break;
+            }
+            case 80: {
+
+              rejectionCount_ = input.readInt64();
+              break;
+            }
+            case 88: {
+
+              abstentionCount_ = input.readInt64();
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -9389,6 +11035,10 @@ private ProposalOutput(
     public static final int PROPOSAL_ID_FIELD_NUMBER = 1;
     private io.aelf.protobuf.generated.Client.Hash proposalId_;
     /**
+     * 
+     * The id of the proposal.
+     * 
+ * * .Hash proposal_id = 1; * @return Whether the proposalId field is set. */ @@ -9396,6 +11046,10 @@ public boolean hasProposalId() { return proposalId_ != null; } /** + *
+     * The id of the proposal.
+     * 
+ * * .Hash proposal_id = 1; * @return The proposalId. */ @@ -9403,6 +11057,10 @@ public io.aelf.protobuf.generated.Client.Hash getProposalId() { return proposalId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : proposalId_; } /** + *
+     * The id of the proposal.
+     * 
+ * * .Hash proposal_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdOrBuilder() { @@ -9412,6 +11070,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdOrBuilder() public static final int CONTRACT_METHOD_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object contractMethodName_; /** + *
+     * The method that this proposal will call when being released.
+     * 
+ * * string contract_method_name = 2; * @return The contractMethodName. */ @@ -9428,6 +11090,10 @@ public java.lang.String getContractMethodName() { } } /** + *
+     * The method that this proposal will call when being released.
+     * 
+ * * string contract_method_name = 2; * @return The bytes for contractMethodName. */ @@ -9448,6 +11114,10 @@ public java.lang.String getContractMethodName() { public static final int TO_ADDRESS_FIELD_NUMBER = 3; private io.aelf.protobuf.generated.Client.Address toAddress_; /** + *
+     * The address of the target contract.
+     * 
+ * * .Address to_address = 3; * @return Whether the toAddress field is set. */ @@ -9455,6 +11125,10 @@ public boolean hasToAddress() { return toAddress_ != null; } /** + *
+     * The address of the target contract.
+     * 
+ * * .Address to_address = 3; * @return The toAddress. */ @@ -9462,6 +11136,10 @@ public io.aelf.protobuf.generated.Client.Address getToAddress() { return toAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : toAddress_; } /** + *
+     * The address of the target contract.
+     * 
+ * * .Address to_address = 3; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getToAddressOrBuilder() { @@ -9471,6 +11149,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getToAddressOrBuilder( public static final int PARAMS_FIELD_NUMBER = 4; private com.google.protobuf.ByteString params_; /** + *
+     * The parameters of the release transaction.
+     * 
+ * * bytes params = 4; * @return The params. */ @@ -9481,6 +11163,10 @@ public com.google.protobuf.ByteString getParams() { public static final int EXPIRED_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp expiredTime_; /** + *
+     * The date at which this proposal will expire.
+     * 
+ * * .google.protobuf.Timestamp expired_time = 5; * @return Whether the expiredTime field is set. */ @@ -9488,6 +11174,10 @@ public boolean hasExpiredTime() { return expiredTime_ != null; } /** + *
+     * The date at which this proposal will expire.
+     * 
+ * * .google.protobuf.Timestamp expired_time = 5; * @return The expiredTime. */ @@ -9495,6 +11185,10 @@ public com.google.protobuf.Timestamp getExpiredTime() { return expiredTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiredTime_; } /** + *
+     * The date at which this proposal will expire.
+     * 
+ * * .google.protobuf.Timestamp expired_time = 5; */ public com.google.protobuf.TimestampOrBuilder getExpiredTimeOrBuilder() { @@ -9504,6 +11198,10 @@ public com.google.protobuf.TimestampOrBuilder getExpiredTimeOrBuilder() { public static final int ORGANIZATION_ADDRESS_FIELD_NUMBER = 6; private io.aelf.protobuf.generated.Client.Address organizationAddress_; /** + *
+     * The address of this proposals organization.
+     * 
+ * * .Address organization_address = 6; * @return Whether the organizationAddress field is set. */ @@ -9511,6 +11209,10 @@ public boolean hasOrganizationAddress() { return organizationAddress_ != null; } /** + *
+     * The address of this proposals organization.
+     * 
+ * * .Address organization_address = 6; * @return The organizationAddress. */ @@ -9518,6 +11220,10 @@ public io.aelf.protobuf.generated.Client.Address getOrganizationAddress() { return organizationAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : organizationAddress_; } /** + *
+     * The address of this proposals organization.
+     * 
+ * * .Address organization_address = 6; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder() { @@ -9527,6 +11233,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress public static final int PROPOSER_FIELD_NUMBER = 7; private io.aelf.protobuf.generated.Client.Address proposer_; /** + *
+     * The address of the proposer of this proposal.
+     * 
+ * * .Address proposer = 7; * @return Whether the proposer field is set. */ @@ -9534,6 +11244,10 @@ public boolean hasProposer() { return proposer_ != null; } /** + *
+     * The address of the proposer of this proposal.
+     * 
+ * * .Address proposer = 7; * @return The proposer. */ @@ -9541,6 +11255,10 @@ public io.aelf.protobuf.generated.Client.Address getProposer() { return proposer_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : proposer_; } /** + *
+     * The address of the proposer of this proposal.
+     * 
+ * * .Address proposer = 7; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getProposerOrBuilder() { @@ -9550,6 +11268,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getProposerOrBuilder() public static final int TO_BE_RELEASED_FIELD_NUMBER = 8; private boolean toBeReleased_; /** + *
+     * Indicates if this proposal is releasable.
+     * 
+ * * bool to_be_released = 8; * @return The toBeReleased. */ @@ -9557,6 +11279,48 @@ public boolean getToBeReleased() { return toBeReleased_; } + public static final int APPROVAL_COUNT_FIELD_NUMBER = 9; + private long approvalCount_; + /** + *
+     * Approval count for this proposal.
+     * 
+ * + * int64 approval_count = 9; + * @return The approvalCount. + */ + public long getApprovalCount() { + return approvalCount_; + } + + public static final int REJECTION_COUNT_FIELD_NUMBER = 10; + private long rejectionCount_; + /** + *
+     * Rejection count for this proposal.
+     * 
+ * + * int64 rejection_count = 10; + * @return The rejectionCount. + */ + public long getRejectionCount() { + return rejectionCount_; + } + + public static final int ABSTENTION_COUNT_FIELD_NUMBER = 11; + private long abstentionCount_; + /** + *
+     * Abstention count for this proposal.
+     * 
+ * + * int64 abstention_count = 11; + * @return The abstentionCount. + */ + public long getAbstentionCount() { + return abstentionCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -9595,6 +11359,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (toBeReleased_ != false) { output.writeBool(8, toBeReleased_); } + if (approvalCount_ != 0L) { + output.writeInt64(9, approvalCount_); + } + if (rejectionCount_ != 0L) { + output.writeInt64(10, rejectionCount_); + } + if (abstentionCount_ != 0L) { + output.writeInt64(11, abstentionCount_); + } unknownFields.writeTo(output); } @@ -9635,6 +11408,18 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, toBeReleased_); } + if (approvalCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, approvalCount_); + } + if (rejectionCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(10, rejectionCount_); + } + if (abstentionCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, abstentionCount_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -9681,6 +11466,12 @@ public boolean equals(final java.lang.Object obj) { } if (getToBeReleased() != other.getToBeReleased()) return false; + if (getApprovalCount() + != other.getApprovalCount()) return false; + if (getRejectionCount() + != other.getRejectionCount()) return false; + if (getAbstentionCount() + != other.getAbstentionCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9719,6 +11510,15 @@ public int hashCode() { hash = (37 * hash) + TO_BE_RELEASED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getToBeReleased()); + hash = (37 * hash) + APPROVAL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getApprovalCount()); + hash = (37 * hash) + REJECTION_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRejectionCount()); + hash = (37 * hash) + ABSTENTION_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAbstentionCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -9892,6 +11692,12 @@ public Builder clear() { } toBeReleased_ = false; + approvalCount_ = 0L; + + rejectionCount_ = 0L; + + abstentionCount_ = 0L; + return this; } @@ -9946,6 +11752,9 @@ public io.aelf.protobuf.generated.Client.ProposalOutput buildPartial() { result.proposer_ = proposerBuilder_.build(); } result.toBeReleased_ = toBeReleased_; + result.approvalCount_ = approvalCount_; + result.rejectionCount_ = rejectionCount_; + result.abstentionCount_ = abstentionCount_; onBuilt(); return result; } @@ -10019,6 +11828,15 @@ public Builder mergeFrom(io.aelf.protobuf.generated.Client.ProposalOutput other) if (other.getToBeReleased() != false) { setToBeReleased(other.getToBeReleased()); } + if (other.getApprovalCount() != 0L) { + setApprovalCount(other.getApprovalCount()); + } + if (other.getRejectionCount() != 0L) { + setRejectionCount(other.getRejectionCount()); + } + if (other.getAbstentionCount() != 0L) { + setAbstentionCount(other.getAbstentionCount()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -10052,6 +11870,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> proposalIdBuilder_; /** + *
+       * The id of the proposal.
+       * 
+ * * .Hash proposal_id = 1; * @return Whether the proposalId field is set. */ @@ -10059,6 +11881,10 @@ public boolean hasProposalId() { return proposalIdBuilder_ != null || proposalId_ != null; } /** + *
+       * The id of the proposal.
+       * 
+ * * .Hash proposal_id = 1; * @return The proposalId. */ @@ -10070,6 +11896,10 @@ public io.aelf.protobuf.generated.Client.Hash getProposalId() { } } /** + *
+       * The id of the proposal.
+       * 
+ * * .Hash proposal_id = 1; */ public Builder setProposalId(io.aelf.protobuf.generated.Client.Hash value) { @@ -10086,6 +11916,10 @@ public Builder setProposalId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The id of the proposal.
+       * 
+ * * .Hash proposal_id = 1; */ public Builder setProposalId( @@ -10100,6 +11934,10 @@ public Builder setProposalId( return this; } /** + *
+       * The id of the proposal.
+       * 
+ * * .Hash proposal_id = 1; */ public Builder mergeProposalId(io.aelf.protobuf.generated.Client.Hash value) { @@ -10118,6 +11956,10 @@ public Builder mergeProposalId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The id of the proposal.
+       * 
+ * * .Hash proposal_id = 1; */ public Builder clearProposalId() { @@ -10132,6 +11974,10 @@ public Builder clearProposalId() { return this; } /** + *
+       * The id of the proposal.
+       * 
+ * * .Hash proposal_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getProposalIdBuilder() { @@ -10140,6 +11986,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getProposalIdBuilder() { return getProposalIdFieldBuilder().getBuilder(); } /** + *
+       * The id of the proposal.
+       * 
+ * * .Hash proposal_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdOrBuilder() { @@ -10151,6 +12001,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdOrBuilder() } } /** + *
+       * The id of the proposal.
+       * 
+ * * .Hash proposal_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -10169,6 +12023,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdOrBuilder() private java.lang.Object contractMethodName_ = ""; /** + *
+       * The method that this proposal will call when being released.
+       * 
+ * * string contract_method_name = 2; * @return The contractMethodName. */ @@ -10185,6 +12043,10 @@ public java.lang.String getContractMethodName() { } } /** + *
+       * The method that this proposal will call when being released.
+       * 
+ * * string contract_method_name = 2; * @return The bytes for contractMethodName. */ @@ -10202,6 +12064,10 @@ public java.lang.String getContractMethodName() { } } /** + *
+       * The method that this proposal will call when being released.
+       * 
+ * * string contract_method_name = 2; * @param value The contractMethodName to set. * @return This builder for chaining. @@ -10217,6 +12083,10 @@ public Builder setContractMethodName( return this; } /** + *
+       * The method that this proposal will call when being released.
+       * 
+ * * string contract_method_name = 2; * @return This builder for chaining. */ @@ -10227,6 +12097,10 @@ public Builder clearContractMethodName() { return this; } /** + *
+       * The method that this proposal will call when being released.
+       * 
+ * * string contract_method_name = 2; * @param value The bytes for contractMethodName to set. * @return This builder for chaining. @@ -10247,6 +12121,10 @@ public Builder setContractMethodNameBytes( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> toAddressBuilder_; /** + *
+       * The address of the target contract.
+       * 
+ * * .Address to_address = 3; * @return Whether the toAddress field is set. */ @@ -10254,6 +12132,10 @@ public boolean hasToAddress() { return toAddressBuilder_ != null || toAddress_ != null; } /** + *
+       * The address of the target contract.
+       * 
+ * * .Address to_address = 3; * @return The toAddress. */ @@ -10265,6 +12147,10 @@ public io.aelf.protobuf.generated.Client.Address getToAddress() { } } /** + *
+       * The address of the target contract.
+       * 
+ * * .Address to_address = 3; */ public Builder setToAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -10281,6 +12167,10 @@ public Builder setToAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the target contract.
+       * 
+ * * .Address to_address = 3; */ public Builder setToAddress( @@ -10295,6 +12185,10 @@ public Builder setToAddress( return this; } /** + *
+       * The address of the target contract.
+       * 
+ * * .Address to_address = 3; */ public Builder mergeToAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -10313,6 +12207,10 @@ public Builder mergeToAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the target contract.
+       * 
+ * * .Address to_address = 3; */ public Builder clearToAddress() { @@ -10327,6 +12225,10 @@ public Builder clearToAddress() { return this; } /** + *
+       * The address of the target contract.
+       * 
+ * * .Address to_address = 3; */ public io.aelf.protobuf.generated.Client.Address.Builder getToAddressBuilder() { @@ -10335,6 +12237,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getToAddressBuilder() { return getToAddressFieldBuilder().getBuilder(); } /** + *
+       * The address of the target contract.
+       * 
+ * * .Address to_address = 3; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getToAddressOrBuilder() { @@ -10346,6 +12252,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getToAddressOrBuilder( } } /** + *
+       * The address of the target contract.
+       * 
+ * * .Address to_address = 3; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -10364,6 +12274,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getToAddressOrBuilder( private com.google.protobuf.ByteString params_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * The parameters of the release transaction.
+       * 
+ * * bytes params = 4; * @return The params. */ @@ -10371,6 +12285,10 @@ public com.google.protobuf.ByteString getParams() { return params_; } /** + *
+       * The parameters of the release transaction.
+       * 
+ * * bytes params = 4; * @param value The params to set. * @return This builder for chaining. @@ -10385,6 +12303,10 @@ public Builder setParams(com.google.protobuf.ByteString value) { return this; } /** + *
+       * The parameters of the release transaction.
+       * 
+ * * bytes params = 4; * @return This builder for chaining. */ @@ -10399,6 +12321,10 @@ public Builder clearParams() { private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiredTimeBuilder_; /** + *
+       * The date at which this proposal will expire.
+       * 
+ * * .google.protobuf.Timestamp expired_time = 5; * @return Whether the expiredTime field is set. */ @@ -10406,6 +12332,10 @@ public boolean hasExpiredTime() { return expiredTimeBuilder_ != null || expiredTime_ != null; } /** + *
+       * The date at which this proposal will expire.
+       * 
+ * * .google.protobuf.Timestamp expired_time = 5; * @return The expiredTime. */ @@ -10417,6 +12347,10 @@ public com.google.protobuf.Timestamp getExpiredTime() { } } /** + *
+       * The date at which this proposal will expire.
+       * 
+ * * .google.protobuf.Timestamp expired_time = 5; */ public Builder setExpiredTime(com.google.protobuf.Timestamp value) { @@ -10433,6 +12367,10 @@ public Builder setExpiredTime(com.google.protobuf.Timestamp value) { return this; } /** + *
+       * The date at which this proposal will expire.
+       * 
+ * * .google.protobuf.Timestamp expired_time = 5; */ public Builder setExpiredTime( @@ -10447,6 +12385,10 @@ public Builder setExpiredTime( return this; } /** + *
+       * The date at which this proposal will expire.
+       * 
+ * * .google.protobuf.Timestamp expired_time = 5; */ public Builder mergeExpiredTime(com.google.protobuf.Timestamp value) { @@ -10465,6 +12407,10 @@ public Builder mergeExpiredTime(com.google.protobuf.Timestamp value) { return this; } /** + *
+       * The date at which this proposal will expire.
+       * 
+ * * .google.protobuf.Timestamp expired_time = 5; */ public Builder clearExpiredTime() { @@ -10479,6 +12425,10 @@ public Builder clearExpiredTime() { return this; } /** + *
+       * The date at which this proposal will expire.
+       * 
+ * * .google.protobuf.Timestamp expired_time = 5; */ public com.google.protobuf.Timestamp.Builder getExpiredTimeBuilder() { @@ -10487,6 +12437,10 @@ public com.google.protobuf.Timestamp.Builder getExpiredTimeBuilder() { return getExpiredTimeFieldBuilder().getBuilder(); } /** + *
+       * The date at which this proposal will expire.
+       * 
+ * * .google.protobuf.Timestamp expired_time = 5; */ public com.google.protobuf.TimestampOrBuilder getExpiredTimeOrBuilder() { @@ -10498,6 +12452,10 @@ public com.google.protobuf.TimestampOrBuilder getExpiredTimeOrBuilder() { } } /** + *
+       * The date at which this proposal will expire.
+       * 
+ * * .google.protobuf.Timestamp expired_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -10518,6 +12476,10 @@ public com.google.protobuf.TimestampOrBuilder getExpiredTimeOrBuilder() { private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> organizationAddressBuilder_; /** + *
+       * The address of this proposals organization.
+       * 
+ * * .Address organization_address = 6; * @return Whether the organizationAddress field is set. */ @@ -10525,6 +12487,10 @@ public boolean hasOrganizationAddress() { return organizationAddressBuilder_ != null || organizationAddress_ != null; } /** + *
+       * The address of this proposals organization.
+       * 
+ * * .Address organization_address = 6; * @return The organizationAddress. */ @@ -10536,6 +12502,10 @@ public io.aelf.protobuf.generated.Client.Address getOrganizationAddress() { } } /** + *
+       * The address of this proposals organization.
+       * 
+ * * .Address organization_address = 6; */ public Builder setOrganizationAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -10552,6 +12522,10 @@ public Builder setOrganizationAddress(io.aelf.protobuf.generated.Client.Address return this; } /** + *
+       * The address of this proposals organization.
+       * 
+ * * .Address organization_address = 6; */ public Builder setOrganizationAddress( @@ -10566,6 +12540,10 @@ public Builder setOrganizationAddress( return this; } /** + *
+       * The address of this proposals organization.
+       * 
+ * * .Address organization_address = 6; */ public Builder mergeOrganizationAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -10584,6 +12562,10 @@ public Builder mergeOrganizationAddress(io.aelf.protobuf.generated.Client.Addres return this; } /** + *
+       * The address of this proposals organization.
+       * 
+ * * .Address organization_address = 6; */ public Builder clearOrganizationAddress() { @@ -10598,6 +12580,10 @@ public Builder clearOrganizationAddress() { return this; } /** + *
+       * The address of this proposals organization.
+       * 
+ * * .Address organization_address = 6; */ public io.aelf.protobuf.generated.Client.Address.Builder getOrganizationAddressBuilder() { @@ -10606,6 +12592,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getOrganizationAddressB return getOrganizationAddressFieldBuilder().getBuilder(); } /** + *
+       * The address of this proposals organization.
+       * 
+ * * .Address organization_address = 6; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder() { @@ -10617,6 +12607,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress } } /** + *
+       * The address of this proposals organization.
+       * 
+ * * .Address organization_address = 6; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -10637,6 +12631,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> proposerBuilder_; /** + *
+       * The address of the proposer of this proposal.
+       * 
+ * * .Address proposer = 7; * @return Whether the proposer field is set. */ @@ -10644,6 +12642,10 @@ public boolean hasProposer() { return proposerBuilder_ != null || proposer_ != null; } /** + *
+       * The address of the proposer of this proposal.
+       * 
+ * * .Address proposer = 7; * @return The proposer. */ @@ -10655,6 +12657,10 @@ public io.aelf.protobuf.generated.Client.Address getProposer() { } } /** + *
+       * The address of the proposer of this proposal.
+       * 
+ * * .Address proposer = 7; */ public Builder setProposer(io.aelf.protobuf.generated.Client.Address value) { @@ -10671,6 +12677,10 @@ public Builder setProposer(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the proposer of this proposal.
+       * 
+ * * .Address proposer = 7; */ public Builder setProposer( @@ -10685,6 +12695,10 @@ public Builder setProposer( return this; } /** + *
+       * The address of the proposer of this proposal.
+       * 
+ * * .Address proposer = 7; */ public Builder mergeProposer(io.aelf.protobuf.generated.Client.Address value) { @@ -10703,6 +12717,10 @@ public Builder mergeProposer(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the proposer of this proposal.
+       * 
+ * * .Address proposer = 7; */ public Builder clearProposer() { @@ -10717,6 +12735,10 @@ public Builder clearProposer() { return this; } /** + *
+       * The address of the proposer of this proposal.
+       * 
+ * * .Address proposer = 7; */ public io.aelf.protobuf.generated.Client.Address.Builder getProposerBuilder() { @@ -10725,6 +12747,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getProposerBuilder() { return getProposerFieldBuilder().getBuilder(); } /** + *
+       * The address of the proposer of this proposal.
+       * 
+ * * .Address proposer = 7; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getProposerOrBuilder() { @@ -10736,6 +12762,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getProposerOrBuilder() } } /** + *
+       * The address of the proposer of this proposal.
+       * 
+ * * .Address proposer = 7; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -10754,6 +12784,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getProposerOrBuilder() private boolean toBeReleased_ ; /** + *
+       * Indicates if this proposal is releasable.
+       * 
+ * * bool to_be_released = 8; * @return The toBeReleased. */ @@ -10761,6 +12795,10 @@ public boolean getToBeReleased() { return toBeReleased_; } /** + *
+       * Indicates if this proposal is releasable.
+       * 
+ * * bool to_be_released = 8; * @param value The toBeReleased to set. * @return This builder for chaining. @@ -10772,6 +12810,10 @@ public Builder setToBeReleased(boolean value) { return this; } /** + *
+       * Indicates if this proposal is releasable.
+       * 
+ * * bool to_be_released = 8; * @return This builder for chaining. */ @@ -10781,6 +12823,132 @@ public Builder clearToBeReleased() { onChanged(); return this; } + + private long approvalCount_ ; + /** + *
+       * Approval count for this proposal.
+       * 
+ * + * int64 approval_count = 9; + * @return The approvalCount. + */ + public long getApprovalCount() { + return approvalCount_; + } + /** + *
+       * Approval count for this proposal.
+       * 
+ * + * int64 approval_count = 9; + * @param value The approvalCount to set. + * @return This builder for chaining. + */ + public Builder setApprovalCount(long value) { + + approvalCount_ = value; + onChanged(); + return this; + } + /** + *
+       * Approval count for this proposal.
+       * 
+ * + * int64 approval_count = 9; + * @return This builder for chaining. + */ + public Builder clearApprovalCount() { + + approvalCount_ = 0L; + onChanged(); + return this; + } + + private long rejectionCount_ ; + /** + *
+       * Rejection count for this proposal.
+       * 
+ * + * int64 rejection_count = 10; + * @return The rejectionCount. + */ + public long getRejectionCount() { + return rejectionCount_; + } + /** + *
+       * Rejection count for this proposal.
+       * 
+ * + * int64 rejection_count = 10; + * @param value The rejectionCount to set. + * @return This builder for chaining. + */ + public Builder setRejectionCount(long value) { + + rejectionCount_ = value; + onChanged(); + return this; + } + /** + *
+       * Rejection count for this proposal.
+       * 
+ * + * int64 rejection_count = 10; + * @return This builder for chaining. + */ + public Builder clearRejectionCount() { + + rejectionCount_ = 0L; + onChanged(); + return this; + } + + private long abstentionCount_ ; + /** + *
+       * Abstention count for this proposal.
+       * 
+ * + * int64 abstention_count = 11; + * @return The abstentionCount. + */ + public long getAbstentionCount() { + return abstentionCount_; + } + /** + *
+       * Abstention count for this proposal.
+       * 
+ * + * int64 abstention_count = 11; + * @param value The abstentionCount to set. + * @return This builder for chaining. + */ + public Builder setAbstentionCount(long value) { + + abstentionCount_ = value; + onChanged(); + return this; + } + /** + *
+       * Abstention count for this proposal.
+       * 
+ * + * int64 abstention_count = 11; + * @return This builder for chaining. + */ + public Builder clearAbstentionCount() { + + abstentionCount_ = 0L; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10834,49 +13002,70 @@ public io.aelf.protobuf.generated.Client.ProposalOutput getDefaultInstanceForTyp } - public interface ValidationResultOrBuilder extends - // @@protoc_insertion_point(interface_extends:ValidationResult) + public interface ProposalReleaseThresholdOrBuilder extends + // @@protoc_insertion_point(interface_extends:ProposalReleaseThreshold) com.google.protobuf.MessageOrBuilder { /** - * bool success = 1; - * @return The success. + *
+     * The value for the minimum approval threshold.
+     * 
+ * + * int64 minimal_approval_threshold = 1; + * @return The minimalApprovalThreshold. */ - boolean getSuccess(); + long getMinimalApprovalThreshold(); /** - * string message = 2; - * @return The message. + *
+     * The value for the maximal rejection threshold.
+     * 
+ * + * int64 maximal_rejection_threshold = 2; + * @return The maximalRejectionThreshold. */ - java.lang.String getMessage(); + long getMaximalRejectionThreshold(); + /** - * string message = 2; - * @return The bytes for message. + *
+     * The value for the maximal abstention threshold.
+     * 
+ * + * int64 maximal_abstention_threshold = 3; + * @return The maximalAbstentionThreshold. */ - com.google.protobuf.ByteString - getMessageBytes(); + long getMaximalAbstentionThreshold(); + + /** + *
+     * The value for the minimal vote threshold.
+     * 
+ * + * int64 minimal_vote_threshold = 4; + * @return The minimalVoteThreshold. + */ + long getMinimalVoteThreshold(); } /** - * Protobuf type {@code ValidationResult} + * Protobuf type {@code ProposalReleaseThreshold} */ - public static final class ValidationResult extends + public static final class ProposalReleaseThreshold extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:ValidationResult) - ValidationResultOrBuilder { + // @@protoc_insertion_point(message_implements:ProposalReleaseThreshold) + ProposalReleaseThresholdOrBuilder { private static final long serialVersionUID = 0L; - // Use ValidationResult.newBuilder() to construct. - private ValidationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ProposalReleaseThreshold.newBuilder() to construct. + private ProposalReleaseThreshold(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValidationResult() { - message_ = ""; + private ProposalReleaseThreshold() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new ValidationResult(); + return new ProposalReleaseThreshold(); } @java.lang.Override @@ -10884,7 +13073,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private ValidationResult( + private ProposalReleaseThreshold( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -10904,13 +13093,22 @@ private ValidationResult( break; case 8: { - success_ = input.readBool(); + minimalApprovalThreshold_ = input.readInt64(); break; } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 16: { - message_ = s; + maximalRejectionThreshold_ = input.readInt64(); + break; + } + case 24: { + + maximalAbstentionThreshold_ = input.readInt64(); + break; + } + case 32: { + + minimalVoteThreshold_ = input.readInt64(); break; } default: { @@ -10934,61 +13132,71 @@ private ValidationResult( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ProposalReleaseThreshold_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ProposalReleaseThreshold_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.ValidationResult.class, io.aelf.protobuf.generated.Client.ValidationResult.Builder.class); + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.class, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder.class); } - public static final int SUCCESS_FIELD_NUMBER = 1; - private boolean success_; + public static final int MINIMAL_APPROVAL_THRESHOLD_FIELD_NUMBER = 1; + private long minimalApprovalThreshold_; /** - * bool success = 1; - * @return The success. + *
+     * The value for the minimum approval threshold.
+     * 
+ * + * int64 minimal_approval_threshold = 1; + * @return The minimalApprovalThreshold. */ - public boolean getSuccess() { - return success_; + public long getMinimalApprovalThreshold() { + return minimalApprovalThreshold_; } - public static final int MESSAGE_FIELD_NUMBER = 2; - private volatile java.lang.Object message_; + public static final int MAXIMAL_REJECTION_THRESHOLD_FIELD_NUMBER = 2; + private long maximalRejectionThreshold_; /** - * string message = 2; - * @return The message. + *
+     * The value for the maximal rejection threshold.
+     * 
+ * + * int64 maximal_rejection_threshold = 2; + * @return The maximalRejectionThreshold. */ - public java.lang.String getMessage() { - java.lang.Object ref = message_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - message_ = s; - return s; - } + public long getMaximalRejectionThreshold() { + return maximalRejectionThreshold_; } + + public static final int MAXIMAL_ABSTENTION_THRESHOLD_FIELD_NUMBER = 3; + private long maximalAbstentionThreshold_; /** - * string message = 2; - * @return The bytes for message. + *
+     * The value for the maximal abstention threshold.
+     * 
+ * + * int64 maximal_abstention_threshold = 3; + * @return The maximalAbstentionThreshold. */ - public com.google.protobuf.ByteString - getMessageBytes() { - java.lang.Object ref = message_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - message_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public long getMaximalAbstentionThreshold() { + return maximalAbstentionThreshold_; + } + + public static final int MINIMAL_VOTE_THRESHOLD_FIELD_NUMBER = 4; + private long minimalVoteThreshold_; + /** + *
+     * The value for the minimal vote threshold.
+     * 
+ * + * int64 minimal_vote_threshold = 4; + * @return The minimalVoteThreshold. + */ + public long getMinimalVoteThreshold() { + return minimalVoteThreshold_; } private byte memoizedIsInitialized = -1; @@ -11005,11 +13213,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (success_ != false) { - output.writeBool(1, success_); + if (minimalApprovalThreshold_ != 0L) { + output.writeInt64(1, minimalApprovalThreshold_); } - if (!getMessageBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); + if (maximalRejectionThreshold_ != 0L) { + output.writeInt64(2, maximalRejectionThreshold_); + } + if (maximalAbstentionThreshold_ != 0L) { + output.writeInt64(3, maximalAbstentionThreshold_); + } + if (minimalVoteThreshold_ != 0L) { + output.writeInt64(4, minimalVoteThreshold_); } unknownFields.writeTo(output); } @@ -11020,12 +13234,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (success_ != false) { + if (minimalApprovalThreshold_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, success_); + .computeInt64Size(1, minimalApprovalThreshold_); } - if (!getMessageBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); + if (maximalRejectionThreshold_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, maximalRejectionThreshold_); + } + if (maximalAbstentionThreshold_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, maximalAbstentionThreshold_); + } + if (minimalVoteThreshold_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, minimalVoteThreshold_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11037,15 +13260,19 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.ValidationResult)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.ProposalReleaseThreshold)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.ValidationResult other = (io.aelf.protobuf.generated.Client.ValidationResult) obj; + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold other = (io.aelf.protobuf.generated.Client.ProposalReleaseThreshold) obj; - if (getSuccess() - != other.getSuccess()) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (getMinimalApprovalThreshold() + != other.getMinimalApprovalThreshold()) return false; + if (getMaximalRejectionThreshold() + != other.getMaximalRejectionThreshold()) return false; + if (getMaximalAbstentionThreshold() + != other.getMaximalAbstentionThreshold()) return false; + if (getMinimalVoteThreshold() + != other.getMinimalVoteThreshold()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11057,79 +13284,86 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SUCCESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSuccess()); - hash = (37 * hash) + MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getMessage().hashCode(); + hash = (37 * hash) + MINIMAL_APPROVAL_THRESHOLD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMinimalApprovalThreshold()); + hash = (37 * hash) + MAXIMAL_REJECTION_THRESHOLD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaximalRejectionThreshold()); + hash = (37 * hash) + MAXIMAL_ABSTENTION_THRESHOLD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaximalAbstentionThreshold()); + hash = (37 * hash) + MINIMAL_VOTE_THRESHOLD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMinimalVoteThreshold()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold 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 io.aelf.protobuf.generated.Client.ValidationResult parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.ValidationResult parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold 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 io.aelf.protobuf.generated.Client.ValidationResult parseFrom( + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -11142,7 +13376,7 @@ public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.ValidationResult prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -11158,26 +13392,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code ValidationResult} + * Protobuf type {@code ProposalReleaseThreshold} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:ValidationResult) - io.aelf.protobuf.generated.Client.ValidationResultOrBuilder { + // @@protoc_insertion_point(builder_implements:ProposalReleaseThreshold) + io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ProposalReleaseThreshold_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ProposalReleaseThreshold_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.ValidationResult.class, io.aelf.protobuf.generated.Client.ValidationResult.Builder.class); + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.class, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.ValidationResult.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -11195,9 +13429,13 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - success_ = false; + minimalApprovalThreshold_ = 0L; - message_ = ""; + maximalRejectionThreshold_ = 0L; + + maximalAbstentionThreshold_ = 0L; + + minimalVoteThreshold_ = 0L; return this; } @@ -11205,17 +13443,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ProposalReleaseThreshold_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.ValidationResult getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.ValidationResult.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.ValidationResult build() { - io.aelf.protobuf.generated.Client.ValidationResult result = buildPartial(); + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold build() { + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -11223,10 +13461,12 @@ public io.aelf.protobuf.generated.Client.ValidationResult build() { } @java.lang.Override - public io.aelf.protobuf.generated.Client.ValidationResult buildPartial() { - io.aelf.protobuf.generated.Client.ValidationResult result = new io.aelf.protobuf.generated.Client.ValidationResult(this); - result.success_ = success_; - result.message_ = message_; + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold buildPartial() { + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold result = new io.aelf.protobuf.generated.Client.ProposalReleaseThreshold(this); + result.minimalApprovalThreshold_ = minimalApprovalThreshold_; + result.maximalRejectionThreshold_ = maximalRejectionThreshold_; + result.maximalAbstentionThreshold_ = maximalAbstentionThreshold_; + result.minimalVoteThreshold_ = minimalVoteThreshold_; onBuilt(); return result; } @@ -11265,22 +13505,27 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.ValidationResult) { - return mergeFrom((io.aelf.protobuf.generated.Client.ValidationResult)other); + if (other instanceof io.aelf.protobuf.generated.Client.ProposalReleaseThreshold) { + return mergeFrom((io.aelf.protobuf.generated.Client.ProposalReleaseThreshold)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.ValidationResult other) { - if (other == io.aelf.protobuf.generated.Client.ValidationResult.getDefaultInstance()) return this; - if (other.getSuccess() != false) { - setSuccess(other.getSuccess()); + public Builder mergeFrom(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold other) { + if (other == io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance()) return this; + if (other.getMinimalApprovalThreshold() != 0L) { + setMinimalApprovalThreshold(other.getMinimalApprovalThreshold()); } - if (!other.getMessage().isEmpty()) { - message_ = other.message_; - onChanged(); + if (other.getMaximalRejectionThreshold() != 0L) { + setMaximalRejectionThreshold(other.getMaximalRejectionThreshold()); + } + if (other.getMaximalAbstentionThreshold() != 0L) { + setMaximalAbstentionThreshold(other.getMaximalAbstentionThreshold()); + } + if (other.getMinimalVoteThreshold() != 0L) { + setMinimalVoteThreshold(other.getMinimalVoteThreshold()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -11297,11 +13542,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.ValidationResult parsedMessage = null; + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.ValidationResult) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.ProposalReleaseThreshold) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11311,108 +13556,170 @@ public Builder mergeFrom( return this; } - private boolean success_ ; + private long minimalApprovalThreshold_ ; /** - * bool success = 1; - * @return The success. + *
+       * The value for the minimum approval threshold.
+       * 
+ * + * int64 minimal_approval_threshold = 1; + * @return The minimalApprovalThreshold. */ - public boolean getSuccess() { - return success_; + public long getMinimalApprovalThreshold() { + return minimalApprovalThreshold_; } /** - * bool success = 1; - * @param value The success to set. + *
+       * The value for the minimum approval threshold.
+       * 
+ * + * int64 minimal_approval_threshold = 1; + * @param value The minimalApprovalThreshold to set. * @return This builder for chaining. */ - public Builder setSuccess(boolean value) { + public Builder setMinimalApprovalThreshold(long value) { - success_ = value; + minimalApprovalThreshold_ = value; onChanged(); return this; } /** - * bool success = 1; + *
+       * The value for the minimum approval threshold.
+       * 
+ * + * int64 minimal_approval_threshold = 1; * @return This builder for chaining. */ - public Builder clearSuccess() { + public Builder clearMinimalApprovalThreshold() { - success_ = false; + minimalApprovalThreshold_ = 0L; onChanged(); return this; } - private java.lang.Object message_ = ""; + private long maximalRejectionThreshold_ ; /** - * string message = 2; - * @return The message. + *
+       * The value for the maximal rejection threshold.
+       * 
+ * + * int64 maximal_rejection_threshold = 2; + * @return The maximalRejectionThreshold. */ - public java.lang.String getMessage() { - java.lang.Object ref = message_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - message_ = s; - return s; - } else { - return (java.lang.String) ref; - } + public long getMaximalRejectionThreshold() { + return maximalRejectionThreshold_; } /** - * string message = 2; - * @return The bytes for message. + *
+       * The value for the maximal rejection threshold.
+       * 
+ * + * int64 maximal_rejection_threshold = 2; + * @param value The maximalRejectionThreshold to set. + * @return This builder for chaining. */ - public com.google.protobuf.ByteString - getMessageBytes() { - java.lang.Object ref = message_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - message_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public Builder setMaximalRejectionThreshold(long value) { + + maximalRejectionThreshold_ = value; + onChanged(); + return this; } /** - * string message = 2; - * @param value The message to set. + *
+       * The value for the maximal rejection threshold.
+       * 
+ * + * int64 maximal_rejection_threshold = 2; * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - message_ = value; + public Builder clearMaximalRejectionThreshold() { + + maximalRejectionThreshold_ = 0L; onChanged(); return this; } + + private long maximalAbstentionThreshold_ ; + /** + *
+       * The value for the maximal abstention threshold.
+       * 
+ * + * int64 maximal_abstention_threshold = 3; + * @return The maximalAbstentionThreshold. + */ + public long getMaximalAbstentionThreshold() { + return maximalAbstentionThreshold_; + } /** - * string message = 2; + *
+       * The value for the maximal abstention threshold.
+       * 
+ * + * int64 maximal_abstention_threshold = 3; + * @param value The maximalAbstentionThreshold to set. * @return This builder for chaining. */ - public Builder clearMessage() { + public Builder setMaximalAbstentionThreshold(long value) { - message_ = getDefaultInstance().getMessage(); + maximalAbstentionThreshold_ = value; onChanged(); return this; } /** - * string message = 2; - * @param value The bytes for message to set. + *
+       * The value for the maximal abstention threshold.
+       * 
+ * + * int64 maximal_abstention_threshold = 3; * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public Builder clearMaximalAbstentionThreshold() { - message_ = value; + maximalAbstentionThreshold_ = 0L; + onChanged(); + return this; + } + + private long minimalVoteThreshold_ ; + /** + *
+       * The value for the minimal vote threshold.
+       * 
+ * + * int64 minimal_vote_threshold = 4; + * @return The minimalVoteThreshold. + */ + public long getMinimalVoteThreshold() { + return minimalVoteThreshold_; + } + /** + *
+       * The value for the minimal vote threshold.
+       * 
+ * + * int64 minimal_vote_threshold = 4; + * @param value The minimalVoteThreshold to set. + * @return This builder for chaining. + */ + public Builder setMinimalVoteThreshold(long value) { + + minimalVoteThreshold_ = value; + onChanged(); + return this; + } + /** + *
+       * The value for the minimal vote threshold.
+       * 
+ * + * int64 minimal_vote_threshold = 4; + * @return This builder for chaining. + */ + public Builder clearMinimalVoteThreshold() { + + minimalVoteThreshold_ = 0L; onChanged(); return this; } @@ -11429,140 +13736,115 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:ValidationResult) + // @@protoc_insertion_point(builder_scope:ProposalReleaseThreshold) } - // @@protoc_insertion_point(class_scope:ValidationResult) - private static final io.aelf.protobuf.generated.Client.ValidationResult DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:ProposalReleaseThreshold) + private static final io.aelf.protobuf.generated.Client.ProposalReleaseThreshold DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ValidationResult(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ProposalReleaseThreshold(); } - public static io.aelf.protobuf.generated.Client.ValidationResult getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ValidationResult parsePartialFrom( + public ProposalReleaseThreshold parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ValidationResult(input, extensionRegistry); + return new ProposalReleaseThreshold(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.ValidationResult getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface MethodCallingThresholdOrBuilder extends - // @@protoc_insertion_point(interface_extends:MethodCallingThreshold) + public interface ProposerWhiteListOrBuilder extends + // @@protoc_insertion_point(interface_extends:ProposerWhiteList) com.google.protobuf.MessageOrBuilder { /** *
-     * The order matters.
+     * The address of the proposers
      * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - int getSymbolToAmountCount(); + java.util.List + getProposersList(); /** *
-     * The order matters.
+     * The address of the proposers
      * 
* - * map<string, sint64> symbol_to_amount = 1; - */ - boolean containsSymbolToAmount( - java.lang.String key); - /** - * Use {@link #getSymbolToAmountMap()} instead. + * repeated .Address proposers = 1; */ - @java.lang.Deprecated - java.util.Map - getSymbolToAmount(); + io.aelf.protobuf.generated.Client.Address getProposers(int index); /** *
-     * The order matters.
+     * The address of the proposers
      * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - java.util.Map - getSymbolToAmountMap(); + int getProposersCount(); /** *
-     * The order matters.
+     * The address of the proposers
      * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - long getSymbolToAmountOrDefault( - java.lang.String key, - long defaultValue); + java.util.List + getProposersOrBuilderList(); /** *
-     * The order matters.
+     * The address of the proposers
      * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - long getSymbolToAmountOrThrow( - java.lang.String key); - - /** - * .ThresholdCheckType threshold_check_type = 2; - * @return The enum numeric value on the wire for thresholdCheckType. - */ - int getThresholdCheckTypeValue(); - /** - * .ThresholdCheckType threshold_check_type = 2; - * @return The thresholdCheckType. - */ - io.aelf.protobuf.generated.Client.ThresholdCheckType getThresholdCheckType(); + io.aelf.protobuf.generated.Client.AddressOrBuilder getProposersOrBuilder( + int index); } /** - *
-   *acs5
-   * 
- * - * Protobuf type {@code MethodCallingThreshold} + * Protobuf type {@code ProposerWhiteList} */ - public static final class MethodCallingThreshold extends + public static final class ProposerWhiteList extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:MethodCallingThreshold) - MethodCallingThresholdOrBuilder { + // @@protoc_insertion_point(message_implements:ProposerWhiteList) + ProposerWhiteListOrBuilder { private static final long serialVersionUID = 0L; - // Use MethodCallingThreshold.newBuilder() to construct. - private MethodCallingThreshold(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ProposerWhiteList.newBuilder() to construct. + private ProposerWhiteList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MethodCallingThreshold() { - thresholdCheckType_ = 0; + private ProposerWhiteList() { + proposers_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new MethodCallingThreshold(); + return new ProposerWhiteList(); } @java.lang.Override @@ -11570,7 +13852,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private MethodCallingThreshold( + private ProposerWhiteList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -11591,21 +13873,11 @@ private MethodCallingThreshold( break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { - symbolToAmount_ = com.google.protobuf.MapField.newMapField( - SymbolToAmountDefaultEntryHolder.defaultEntry); + proposers_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - com.google.protobuf.MapEntry - symbolToAmount__ = input.readMessage( - SymbolToAmountDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - symbolToAmount_.getMutableMap().put( - symbolToAmount__.getKey(), symbolToAmount__.getValue()); - break; - } - case 16: { - int rawValue = input.readEnum(); - - thresholdCheckType_ = rawValue; + proposers_.add( + input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry)); break; } default: { @@ -11623,144 +13895,79 @@ private MethodCallingThreshold( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + proposers_ = java.util.Collections.unmodifiableList(proposers_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ProposerWhiteList_descriptor; } - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetSymbolToAmount(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ProposerWhiteList_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.MethodCallingThreshold.class, io.aelf.protobuf.generated.Client.MethodCallingThreshold.Builder.class); - } - - public static final int SYMBOL_TO_AMOUNT_FIELD_NUMBER = 1; - private static final class SymbolToAmountDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_SymbolToAmountEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.SINT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> symbolToAmount_; - private com.google.protobuf.MapField - internalGetSymbolToAmount() { - if (symbolToAmount_ == null) { - return com.google.protobuf.MapField.emptyMapField( - SymbolToAmountDefaultEntryHolder.defaultEntry); - } - return symbolToAmount_; + io.aelf.protobuf.generated.Client.ProposerWhiteList.class, io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder.class); } - public int getSymbolToAmountCount() { - return internalGetSymbolToAmount().getMap().size(); - } + public static final int PROPOSERS_FIELD_NUMBER = 1; + private java.util.List proposers_; /** *
-     * The order matters.
+     * The address of the proposers
      * 
* - * map<string, sint64> symbol_to_amount = 1; - */ - - public boolean containsSymbolToAmount( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetSymbolToAmount().getMap().containsKey(key); - } - /** - * Use {@link #getSymbolToAmountMap()} instead. + * repeated .Address proposers = 1; */ - @java.lang.Deprecated - public java.util.Map getSymbolToAmount() { - return getSymbolToAmountMap(); + public java.util.List getProposersList() { + return proposers_; } /** *
-     * The order matters.
+     * The address of the proposers
      * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - public java.util.Map getSymbolToAmountMap() { - return internalGetSymbolToAmount().getMap(); + public java.util.List + getProposersOrBuilderList() { + return proposers_; } /** *
-     * The order matters.
+     * The address of the proposers
      * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - public long getSymbolToAmountOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetSymbolToAmount().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + public int getProposersCount() { + return proposers_.size(); } /** *
-     * The order matters.
+     * The address of the proposers
      * 
* - * map<string, sint64> symbol_to_amount = 1; - */ - - public long getSymbolToAmountOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetSymbolToAmount().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int THRESHOLD_CHECK_TYPE_FIELD_NUMBER = 2; - private int thresholdCheckType_; - /** - * .ThresholdCheckType threshold_check_type = 2; - * @return The enum numeric value on the wire for thresholdCheckType. + * repeated .Address proposers = 1; */ - public int getThresholdCheckTypeValue() { - return thresholdCheckType_; + public io.aelf.protobuf.generated.Client.Address getProposers(int index) { + return proposers_.get(index); } /** - * .ThresholdCheckType threshold_check_type = 2; - * @return The thresholdCheckType. + *
+     * The address of the proposers
+     * 
+ * + * repeated .Address proposers = 1; */ - public io.aelf.protobuf.generated.Client.ThresholdCheckType getThresholdCheckType() { - @SuppressWarnings("deprecation") - io.aelf.protobuf.generated.Client.ThresholdCheckType result = io.aelf.protobuf.generated.Client.ThresholdCheckType.valueOf(thresholdCheckType_); - return result == null ? io.aelf.protobuf.generated.Client.ThresholdCheckType.UNRECOGNIZED : result; + public io.aelf.protobuf.generated.Client.AddressOrBuilder getProposersOrBuilder( + int index) { + return proposers_.get(index); } private byte memoizedIsInitialized = -1; @@ -11777,14 +13984,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetSymbolToAmount(), - SymbolToAmountDefaultEntryHolder.defaultEntry, - 1); - if (thresholdCheckType_ != io.aelf.protobuf.generated.Client.ThresholdCheckType.BALANCE.getNumber()) { - output.writeEnum(2, thresholdCheckType_); + for (int i = 0; i < proposers_.size(); i++) { + output.writeMessage(1, proposers_.get(i)); } unknownFields.writeTo(output); } @@ -11795,19 +13996,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetSymbolToAmount().getMap().entrySet()) { - com.google.protobuf.MapEntry - symbolToAmount__ = SymbolToAmountDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); + for (int i = 0; i < proposers_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, symbolToAmount__); - } - if (thresholdCheckType_ != io.aelf.protobuf.generated.Client.ThresholdCheckType.BALANCE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, thresholdCheckType_); + .computeMessageSize(1, proposers_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11819,14 +14010,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.MethodCallingThreshold)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.ProposerWhiteList)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.MethodCallingThreshold other = (io.aelf.protobuf.generated.Client.MethodCallingThreshold) obj; + io.aelf.protobuf.generated.Client.ProposerWhiteList other = (io.aelf.protobuf.generated.Client.ProposerWhiteList) obj; - if (!internalGetSymbolToAmount().equals( - other.internalGetSymbolToAmount())) return false; - if (thresholdCheckType_ != other.thresholdCheckType_) return false; + if (!getProposersList() + .equals(other.getProposersList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11838,80 +14028,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetSymbolToAmount().getMap().isEmpty()) { - hash = (37 * hash) + SYMBOL_TO_AMOUNT_FIELD_NUMBER; - hash = (53 * hash) + internalGetSymbolToAmount().hashCode(); + if (getProposersCount() > 0) { + hash = (37 * hash) + PROPOSERS_FIELD_NUMBER; + hash = (53 * hash) + getProposersList().hashCode(); } - hash = (37 * hash) + THRESHOLD_CHECK_TYPE_FIELD_NUMBER; - hash = (53 * hash) + thresholdCheckType_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( + public static io.aelf.protobuf.generated.Client.ProposerWhiteList 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 io.aelf.protobuf.generated.Client.MethodCallingThreshold parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.ProposerWhiteList 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 io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( + public static io.aelf.protobuf.generated.Client.ProposerWhiteList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -11924,7 +14112,7 @@ public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.MethodCallingThreshold prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.ProposerWhiteList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -11940,52 +14128,26 @@ protected Builder newBuilderForType( return builder; } /** - *
-     *acs5
-     * 
- * - * Protobuf type {@code MethodCallingThreshold} + * Protobuf type {@code ProposerWhiteList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:MethodCallingThreshold) - io.aelf.protobuf.generated.Client.MethodCallingThresholdOrBuilder { + // @@protoc_insertion_point(builder_implements:ProposerWhiteList) + io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ProposerWhiteList_descriptor; } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetSymbolToAmount(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableSymbolToAmount(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ProposerWhiteList_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.MethodCallingThreshold.class, io.aelf.protobuf.generated.Client.MethodCallingThreshold.Builder.class); + io.aelf.protobuf.generated.Client.ProposerWhiteList.class, io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.MethodCallingThreshold.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.ProposerWhiteList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -11998,31 +14160,35 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getProposersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - internalGetMutableSymbolToAmount().clear(); - thresholdCheckType_ = 0; - + if (proposersBuilder_ == null) { + proposers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + proposersBuilder_.clear(); + } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ProposerWhiteList_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.MethodCallingThreshold getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.MethodCallingThreshold.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.ProposerWhiteList getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.ProposerWhiteList.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.MethodCallingThreshold build() { - io.aelf.protobuf.generated.Client.MethodCallingThreshold result = buildPartial(); + public io.aelf.protobuf.generated.Client.ProposerWhiteList build() { + io.aelf.protobuf.generated.Client.ProposerWhiteList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12030,12 +14196,18 @@ public io.aelf.protobuf.generated.Client.MethodCallingThreshold build() { } @java.lang.Override - public io.aelf.protobuf.generated.Client.MethodCallingThreshold buildPartial() { - io.aelf.protobuf.generated.Client.MethodCallingThreshold result = new io.aelf.protobuf.generated.Client.MethodCallingThreshold(this); + public io.aelf.protobuf.generated.Client.ProposerWhiteList buildPartial() { + io.aelf.protobuf.generated.Client.ProposerWhiteList result = new io.aelf.protobuf.generated.Client.ProposerWhiteList(this); int from_bitField0_ = bitField0_; - result.symbolToAmount_ = internalGetSymbolToAmount(); - result.symbolToAmount_.makeImmutable(); - result.thresholdCheckType_ = thresholdCheckType_; + if (proposersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + proposers_ = java.util.Collections.unmodifiableList(proposers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.proposers_ = proposers_; + } else { + result.proposers_ = proposersBuilder_.build(); + } onBuilt(); return result; } @@ -12074,20 +14246,41 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.MethodCallingThreshold) { - return mergeFrom((io.aelf.protobuf.generated.Client.MethodCallingThreshold)other); + if (other instanceof io.aelf.protobuf.generated.Client.ProposerWhiteList) { + return mergeFrom((io.aelf.protobuf.generated.Client.ProposerWhiteList)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.MethodCallingThreshold other) { - if (other == io.aelf.protobuf.generated.Client.MethodCallingThreshold.getDefaultInstance()) return this; - internalGetMutableSymbolToAmount().mergeFrom( - other.internalGetSymbolToAmount()); - if (other.thresholdCheckType_ != 0) { - setThresholdCheckTypeValue(other.getThresholdCheckTypeValue()); + public Builder mergeFrom(io.aelf.protobuf.generated.Client.ProposerWhiteList other) { + if (other == io.aelf.protobuf.generated.Client.ProposerWhiteList.getDefaultInstance()) return this; + if (proposersBuilder_ == null) { + if (!other.proposers_.isEmpty()) { + if (proposers_.isEmpty()) { + proposers_ = other.proposers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureProposersIsMutable(); + proposers_.addAll(other.proposers_); + } + onChanged(); + } + } else { + if (!other.proposers_.isEmpty()) { + if (proposersBuilder_.isEmpty()) { + proposersBuilder_.dispose(); + proposersBuilder_ = null; + proposers_ = other.proposers_; + bitField0_ = (bitField0_ & ~0x00000001); + proposersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getProposersFieldBuilder() : null; + } else { + proposersBuilder_.addAllMessages(other.proposers_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -12104,11 +14297,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.MethodCallingThreshold parsedMessage = null; + io.aelf.protobuf.generated.Client.ProposerWhiteList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.MethodCallingThreshold) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.ProposerWhiteList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12119,207 +14312,316 @@ public Builder mergeFrom( } private int bitField0_; - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> symbolToAmount_; - private com.google.protobuf.MapField - internalGetSymbolToAmount() { - if (symbolToAmount_ == null) { - return com.google.protobuf.MapField.emptyMapField( - SymbolToAmountDefaultEntryHolder.defaultEntry); - } - return symbolToAmount_; - } - private com.google.protobuf.MapField - internalGetMutableSymbolToAmount() { - onChanged();; - if (symbolToAmount_ == null) { - symbolToAmount_ = com.google.protobuf.MapField.newMapField( - SymbolToAmountDefaultEntryHolder.defaultEntry); - } - if (!symbolToAmount_.isMutable()) { - symbolToAmount_ = symbolToAmount_.copy(); - } - return symbolToAmount_; + private java.util.List proposers_ = + java.util.Collections.emptyList(); + private void ensureProposersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + proposers_ = new java.util.ArrayList(proposers_); + bitField0_ |= 0x00000001; + } } - public int getSymbolToAmountCount() { - return internalGetSymbolToAmount().getMap().size(); - } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> proposersBuilder_; + /** *
-       * The order matters.
+       * The address of the proposers
        * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - public boolean containsSymbolToAmount( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetSymbolToAmount().getMap().containsKey(key); + public java.util.List getProposersList() { + if (proposersBuilder_ == null) { + return java.util.Collections.unmodifiableList(proposers_); + } else { + return proposersBuilder_.getMessageList(); + } } /** - * Use {@link #getSymbolToAmountMap()} instead. + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; */ - @java.lang.Deprecated - public java.util.Map getSymbolToAmount() { - return getSymbolToAmountMap(); + public int getProposersCount() { + if (proposersBuilder_ == null) { + return proposers_.size(); + } else { + return proposersBuilder_.getCount(); + } } /** *
-       * The order matters.
+       * The address of the proposers
        * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - public java.util.Map getSymbolToAmountMap() { - return internalGetSymbolToAmount().getMap(); + public io.aelf.protobuf.generated.Client.Address getProposers(int index) { + if (proposersBuilder_ == null) { + return proposers_.get(index); + } else { + return proposersBuilder_.getMessage(index); + } } /** *
-       * The order matters.
+       * The address of the proposers
        * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - public long getSymbolToAmountOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetSymbolToAmount().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + public Builder setProposers( + int index, io.aelf.protobuf.generated.Client.Address value) { + if (proposersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProposersIsMutable(); + proposers_.set(index, value); + onChanged(); + } else { + proposersBuilder_.setMessage(index, value); + } + return this; } /** *
-       * The order matters.
+       * The address of the proposers
        * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - public long getSymbolToAmountOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetSymbolToAmount().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + public Builder setProposers( + int index, io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (proposersBuilder_ == null) { + ensureProposersIsMutable(); + proposers_.set(index, builderForValue.build()); + onChanged(); + } else { + proposersBuilder_.setMessage(index, builderForValue.build()); } - return map.get(key); + return this; } - - public Builder clearSymbolToAmount() { - internalGetMutableSymbolToAmount().getMutableMap() - .clear(); + /** + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; + */ + public Builder addProposers(io.aelf.protobuf.generated.Client.Address value) { + if (proposersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProposersIsMutable(); + proposers_.add(value); + onChanged(); + } else { + proposersBuilder_.addMessage(value); + } return this; } /** *
-       * The order matters.
+       * The address of the proposers
        * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - public Builder removeSymbolToAmount( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableSymbolToAmount().getMutableMap() - .remove(key); + public Builder addProposers( + int index, io.aelf.protobuf.generated.Client.Address value) { + if (proposersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProposersIsMutable(); + proposers_.add(index, value); + onChanged(); + } else { + proposersBuilder_.addMessage(index, value); + } return this; } /** - * Use alternate mutation accessors instead. + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; */ - @java.lang.Deprecated - public java.util.Map - getMutableSymbolToAmount() { - return internalGetMutableSymbolToAmount().getMutableMap(); + public Builder addProposers( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (proposersBuilder_ == null) { + ensureProposersIsMutable(); + proposers_.add(builderForValue.build()); + onChanged(); + } else { + proposersBuilder_.addMessage(builderForValue.build()); + } + return this; } /** *
-       * The order matters.
+       * The address of the proposers
        * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - public Builder putSymbolToAmount( - java.lang.String key, - long value) { - if (key == null) { throw new java.lang.NullPointerException(); } - - internalGetMutableSymbolToAmount().getMutableMap() - .put(key, value); + public Builder addProposers( + int index, io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (proposersBuilder_ == null) { + ensureProposersIsMutable(); + proposers_.add(index, builderForValue.build()); + onChanged(); + } else { + proposersBuilder_.addMessage(index, builderForValue.build()); + } return this; } /** *
-       * The order matters.
+       * The address of the proposers
        * 
* - * map<string, sint64> symbol_to_amount = 1; + * repeated .Address proposers = 1; */ - - public Builder putAllSymbolToAmount( - java.util.Map values) { - internalGetMutableSymbolToAmount().getMutableMap() - .putAll(values); + public Builder addAllProposers( + java.lang.Iterable values) { + if (proposersBuilder_ == null) { + ensureProposersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, proposers_); + onChanged(); + } else { + proposersBuilder_.addAllMessages(values); + } return this; } - - private int thresholdCheckType_ = 0; /** - * .ThresholdCheckType threshold_check_type = 2; - * @return The enum numeric value on the wire for thresholdCheckType. + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; */ - public int getThresholdCheckTypeValue() { - return thresholdCheckType_; + public Builder clearProposers() { + if (proposersBuilder_ == null) { + proposers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + proposersBuilder_.clear(); + } + return this; } /** - * .ThresholdCheckType threshold_check_type = 2; - * @param value The enum numeric value on the wire for thresholdCheckType to set. - * @return This builder for chaining. + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; */ - public Builder setThresholdCheckTypeValue(int value) { - thresholdCheckType_ = value; - onChanged(); + public Builder removeProposers(int index) { + if (proposersBuilder_ == null) { + ensureProposersIsMutable(); + proposers_.remove(index); + onChanged(); + } else { + proposersBuilder_.remove(index); + } return this; } /** - * .ThresholdCheckType threshold_check_type = 2; - * @return The thresholdCheckType. + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; */ - public io.aelf.protobuf.generated.Client.ThresholdCheckType getThresholdCheckType() { - @SuppressWarnings("deprecation") - io.aelf.protobuf.generated.Client.ThresholdCheckType result = io.aelf.protobuf.generated.Client.ThresholdCheckType.valueOf(thresholdCheckType_); - return result == null ? io.aelf.protobuf.generated.Client.ThresholdCheckType.UNRECOGNIZED : result; + public io.aelf.protobuf.generated.Client.Address.Builder getProposersBuilder( + int index) { + return getProposersFieldBuilder().getBuilder(index); } /** - * .ThresholdCheckType threshold_check_type = 2; - * @param value The thresholdCheckType to set. - * @return This builder for chaining. + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; */ - public Builder setThresholdCheckType(io.aelf.protobuf.generated.Client.ThresholdCheckType value) { - if (value == null) { - throw new NullPointerException(); + public io.aelf.protobuf.generated.Client.AddressOrBuilder getProposersOrBuilder( + int index) { + if (proposersBuilder_ == null) { + return proposers_.get(index); } else { + return proposersBuilder_.getMessageOrBuilder(index); } - - thresholdCheckType_ = value.getNumber(); - onChanged(); - return this; } /** - * .ThresholdCheckType threshold_check_type = 2; - * @return This builder for chaining. + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; */ - public Builder clearThresholdCheckType() { - - thresholdCheckType_ = 0; - onChanged(); - return this; + public java.util.List + getProposersOrBuilderList() { + if (proposersBuilder_ != null) { + return proposersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(proposers_); + } + } + /** + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; + */ + public io.aelf.protobuf.generated.Client.Address.Builder addProposersBuilder() { + return getProposersFieldBuilder().addBuilder( + io.aelf.protobuf.generated.Client.Address.getDefaultInstance()); + } + /** + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; + */ + public io.aelf.protobuf.generated.Client.Address.Builder addProposersBuilder( + int index) { + return getProposersFieldBuilder().addBuilder( + index, io.aelf.protobuf.generated.Client.Address.getDefaultInstance()); + } + /** + *
+       * The address of the proposers
+       * 
+ * + * repeated .Address proposers = 1; + */ + public java.util.List + getProposersBuilderList() { + return getProposersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getProposersFieldBuilder() { + if (proposersBuilder_ == null) { + proposersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + proposers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + proposers_ = null; + } + return proposersBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -12334,108 +14636,111 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:MethodCallingThreshold) + // @@protoc_insertion_point(builder_scope:ProposerWhiteList) } - // @@protoc_insertion_point(class_scope:MethodCallingThreshold) - private static final io.aelf.protobuf.generated.Client.MethodCallingThreshold DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:ProposerWhiteList) + private static final io.aelf.protobuf.generated.Client.ProposerWhiteList DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.MethodCallingThreshold(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ProposerWhiteList(); } - public static io.aelf.protobuf.generated.Client.MethodCallingThreshold getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.ProposerWhiteList getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public MethodCallingThreshold parsePartialFrom( + public ProposerWhiteList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new MethodCallingThreshold(input, extensionRegistry); + return new ProposerWhiteList(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.MethodCallingThreshold getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.ProposerWhiteList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface SideChainIdAndHeightDictOrBuilder extends - // @@protoc_insertion_point(interface_extends:SideChainIdAndHeightDict) + public interface ValidationResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:ValidationResult) com.google.protobuf.MessageOrBuilder { /** - * map<int32, int64> id_height_dict = 1; - */ - int getIdHeightDictCount(); - /** - * map<int32, int64> id_height_dict = 1; + *
+     * Is successful.
+     * 
+ * + * bool success = 1; + * @return The success. */ - boolean containsIdHeightDict( - int key); + boolean getSuccess(); + /** - * Use {@link #getIdHeightDictMap()} instead. + *
+     * The error message.
+     * 
+ * + * string message = 2; + * @return The message. */ - @java.lang.Deprecated - java.util.Map - getIdHeightDict(); + java.lang.String getMessage(); /** - * map<int32, int64> id_height_dict = 1; - */ - java.util.Map - getIdHeightDictMap(); - /** - * map<int32, int64> id_height_dict = 1; + *
+     * The error message.
+     * 
+ * + * string message = 2; + * @return The bytes for message. */ + com.google.protobuf.ByteString + getMessageBytes(); - long getIdHeightDictOrDefault( - int key, - long defaultValue); /** - * map<int32, int64> id_height_dict = 1; + *
+     * Whether to trigger mining again.
+     * 
+ * + * bool is_re_trigger = 3; + * @return The isReTrigger. */ - - long getIdHeightDictOrThrow( - int key); + boolean getIsReTrigger(); } /** - *
-   *acs7
-   * 
- * - * Protobuf type {@code SideChainIdAndHeightDict} + * Protobuf type {@code ValidationResult} */ - public static final class SideChainIdAndHeightDict extends + public static final class ValidationResult extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:SideChainIdAndHeightDict) - SideChainIdAndHeightDictOrBuilder { + // @@protoc_insertion_point(message_implements:ValidationResult) + ValidationResultOrBuilder { private static final long serialVersionUID = 0L; - // Use SideChainIdAndHeightDict.newBuilder() to construct. - private SideChainIdAndHeightDict(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ValidationResult.newBuilder() to construct. + private ValidationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SideChainIdAndHeightDict() { + private ValidationResult() { + message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new SideChainIdAndHeightDict(); + return new ValidationResult(); } @java.lang.Override @@ -12443,7 +14748,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private SideChainIdAndHeightDict( + private ValidationResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12451,7 +14756,6 @@ private SideChainIdAndHeightDict( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -12462,17 +14766,20 @@ private SideChainIdAndHeightDict( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - idHeightDict_ = com.google.protobuf.MapField.newMapField( - IdHeightDictDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - idHeightDict__ = input.readMessage( - IdHeightDictDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - idHeightDict_.getMutableMap().put( - idHeightDict__.getKey(), idHeightDict__.getValue()); + case 8: { + + success_ = input.readBool(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + message_ = s; + break; + } + case 24: { + + isReTrigger_ = input.readBool(); break; } default: { @@ -12496,103 +14803,87 @@ private SideChainIdAndHeightDict( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIdAndHeightDict_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_descriptor; } - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetIdHeightDict(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIdAndHeightDict_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict.class, io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict.Builder.class); - } - - public static final int ID_HEIGHT_DICT_FIELD_NUMBER = 1; - private static final class IdHeightDictDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.Integer, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.aelf.protobuf.generated.Client.internal_static_SideChainIdAndHeightDict_IdHeightDictEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.INT32, - 0, - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.Integer, java.lang.Long> idHeightDict_; - private com.google.protobuf.MapField - internalGetIdHeightDict() { - if (idHeightDict_ == null) { - return com.google.protobuf.MapField.emptyMapField( - IdHeightDictDefaultEntryHolder.defaultEntry); - } - return idHeightDict_; + io.aelf.protobuf.generated.Client.ValidationResult.class, io.aelf.protobuf.generated.Client.ValidationResult.Builder.class); } - public int getIdHeightDictCount() { - return internalGetIdHeightDict().getMap().size(); - } + public static final int SUCCESS_FIELD_NUMBER = 1; + private boolean success_; /** - * map<int32, int64> id_height_dict = 1; + *
+     * Is successful.
+     * 
+ * + * bool success = 1; + * @return The success. */ - - public boolean containsIdHeightDict( - int key) { - - return internalGetIdHeightDict().getMap().containsKey(key); + public boolean getSuccess() { + return success_; } + + public static final int MESSAGE_FIELD_NUMBER = 2; + private volatile java.lang.Object message_; /** - * Use {@link #getIdHeightDictMap()} instead. + *
+     * The error message.
+     * 
+ * + * string message = 2; + * @return The message. */ - @java.lang.Deprecated - public java.util.Map getIdHeightDict() { - return getIdHeightDictMap(); + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } } /** - * map<int32, int64> id_height_dict = 1; + *
+     * The error message.
+     * 
+ * + * string message = 2; + * @return The bytes for message. */ - - public java.util.Map getIdHeightDictMap() { - return internalGetIdHeightDict().getMap(); + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - /** - * map<int32, int64> id_height_dict = 1; - */ - public long getIdHeightDictOrDefault( - int key, - long defaultValue) { - - java.util.Map map = - internalGetIdHeightDict().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } + public static final int IS_RE_TRIGGER_FIELD_NUMBER = 3; + private boolean isReTrigger_; /** - * map<int32, int64> id_height_dict = 1; + *
+     * Whether to trigger mining again.
+     * 
+ * + * bool is_re_trigger = 3; + * @return The isReTrigger. */ - - public long getIdHeightDictOrThrow( - int key) { - - java.util.Map map = - internalGetIdHeightDict().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); + public boolean getIsReTrigger() { + return isReTrigger_; } private byte memoizedIsInitialized = -1; @@ -12609,12 +14900,15 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeIntegerMapTo( - output, - internalGetIdHeightDict(), - IdHeightDictDefaultEntryHolder.defaultEntry, - 1); + if (success_ != false) { + output.writeBool(1, success_); + } + if (!getMessageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); + } + if (isReTrigger_ != false) { + output.writeBool(3, isReTrigger_); + } unknownFields.writeTo(output); } @@ -12624,15 +14918,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetIdHeightDict().getMap().entrySet()) { - com.google.protobuf.MapEntry - idHeightDict__ = IdHeightDictDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); + if (success_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, success_); + } + if (!getMessageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); + } + if (isReTrigger_ != false) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, idHeightDict__); + .computeBoolSize(3, isReTrigger_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12644,13 +14939,17 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.ValidationResult)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict other = (io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict) obj; + io.aelf.protobuf.generated.Client.ValidationResult other = (io.aelf.protobuf.generated.Client.ValidationResult) obj; - if (!internalGetIdHeightDict().equals( - other.internalGetIdHeightDict())) return false; + if (getSuccess() + != other.getSuccess()) return false; + if (!getMessage() + .equals(other.getMessage())) return false; + if (getIsReTrigger() + != other.getIsReTrigger()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12662,78 +14961,82 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (!internalGetIdHeightDict().getMap().isEmpty()) { - hash = (37 * hash) + ID_HEIGHT_DICT_FIELD_NUMBER; - hash = (53 * hash) + internalGetIdHeightDict().hashCode(); - } + hash = (37 * hash) + SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuccess()); + hash = (37 * hash) + MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMessage().hashCode(); + hash = (37 * hash) + IS_RE_TRIGGER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsReTrigger()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom( + public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom( + public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom( + public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom( + public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom( + public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom( + public static io.aelf.protobuf.generated.Client.ValidationResult 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 io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ValidationResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.ValidationResult 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 io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom( + public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFrom( + public static io.aelf.protobuf.generated.Client.ValidationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -12746,7 +15049,7 @@ public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parseFr public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.ValidationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -12762,52 +15065,26 @@ protected Builder newBuilderForType( return builder; } /** - *
-     *acs7
-     * 
- * - * Protobuf type {@code SideChainIdAndHeightDict} + * Protobuf type {@code ValidationResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:SideChainIdAndHeightDict) - io.aelf.protobuf.generated.Client.SideChainIdAndHeightDictOrBuilder { + // @@protoc_insertion_point(builder_implements:ValidationResult) + io.aelf.protobuf.generated.Client.ValidationResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIdAndHeightDict_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_descriptor; } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetIdHeightDict(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableIdHeightDict(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIdAndHeightDict_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict.class, io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict.Builder.class); + io.aelf.protobuf.generated.Client.ValidationResult.class, io.aelf.protobuf.generated.Client.ValidationResult.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.ValidationResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -12825,24 +15102,29 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - internalGetMutableIdHeightDict().clear(); + success_ = false; + + message_ = ""; + + isReTrigger_ = false; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIdAndHeightDict_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ValidationResult_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.ValidationResult getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.ValidationResult.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict build() { - io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict result = buildPartial(); + public io.aelf.protobuf.generated.Client.ValidationResult build() { + io.aelf.protobuf.generated.Client.ValidationResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12850,11 +15132,11 @@ public io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict build() { } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict buildPartial() { - io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict result = new io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict(this); - int from_bitField0_ = bitField0_; - result.idHeightDict_ = internalGetIdHeightDict(); - result.idHeightDict_.makeImmutable(); + public io.aelf.protobuf.generated.Client.ValidationResult buildPartial() { + io.aelf.protobuf.generated.Client.ValidationResult result = new io.aelf.protobuf.generated.Client.ValidationResult(this); + result.success_ = success_; + result.message_ = message_; + result.isReTrigger_ = isReTrigger_; onBuilt(); return result; } @@ -12893,18 +15175,26 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict) { - return mergeFrom((io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict)other); + if (other instanceof io.aelf.protobuf.generated.Client.ValidationResult) { + return mergeFrom((io.aelf.protobuf.generated.Client.ValidationResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict other) { - if (other == io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict.getDefaultInstance()) return this; - internalGetMutableIdHeightDict().mergeFrom( - other.internalGetIdHeightDict()); + public Builder mergeFrom(io.aelf.protobuf.generated.Client.ValidationResult other) { + if (other == io.aelf.protobuf.generated.Client.ValidationResult.getDefaultInstance()) return this; + if (other.getSuccess() != false) { + setSuccess(other.getSuccess()); + } + if (!other.getMessage().isEmpty()) { + message_ = other.message_; + onChanged(); + } + if (other.getIsReTrigger() != false) { + setIsReTrigger(other.getIsReTrigger()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -12920,11 +15210,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict parsedMessage = null; + io.aelf.protobuf.generated.Client.ValidationResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.ValidationResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12933,128 +15223,184 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.Integer, java.lang.Long> idHeightDict_; - private com.google.protobuf.MapField - internalGetIdHeightDict() { - if (idHeightDict_ == null) { - return com.google.protobuf.MapField.emptyMapField( - IdHeightDictDefaultEntryHolder.defaultEntry); - } - return idHeightDict_; - } - private com.google.protobuf.MapField - internalGetMutableIdHeightDict() { - onChanged();; - if (idHeightDict_ == null) { - idHeightDict_ = com.google.protobuf.MapField.newMapField( - IdHeightDictDefaultEntryHolder.defaultEntry); - } - if (!idHeightDict_.isMutable()) { - idHeightDict_ = idHeightDict_.copy(); - } - return idHeightDict_; - } - public int getIdHeightDictCount() { - return internalGetIdHeightDict().getMap().size(); - } + private boolean success_ ; /** - * map<int32, int64> id_height_dict = 1; - */ - - public boolean containsIdHeightDict( - int key) { - - return internalGetIdHeightDict().getMap().containsKey(key); + *
+       * Is successful.
+       * 
+ * + * bool success = 1; + * @return The success. + */ + public boolean getSuccess() { + return success_; } /** - * Use {@link #getIdHeightDictMap()} instead. + *
+       * Is successful.
+       * 
+ * + * bool success = 1; + * @param value The success to set. + * @return This builder for chaining. */ - @java.lang.Deprecated - public java.util.Map getIdHeightDict() { - return getIdHeightDictMap(); + public Builder setSuccess(boolean value) { + + success_ = value; + onChanged(); + return this; } /** - * map<int32, int64> id_height_dict = 1; + *
+       * Is successful.
+       * 
+ * + * bool success = 1; + * @return This builder for chaining. */ - - public java.util.Map getIdHeightDictMap() { - return internalGetIdHeightDict().getMap(); + public Builder clearSuccess() { + + success_ = false; + onChanged(); + return this; } + + private java.lang.Object message_ = ""; /** - * map<int32, int64> id_height_dict = 1; + *
+       * The error message.
+       * 
+ * + * string message = 2; + * @return The message. */ - - public long getIdHeightDictOrDefault( - int key, - long defaultValue) { - - java.util.Map map = - internalGetIdHeightDict().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** - * map<int32, int64> id_height_dict = 1; + *
+       * The error message.
+       * 
+ * + * string message = 2; + * @return The bytes for message. */ - - public long getIdHeightDictOrThrow( - int key) { - - java.util.Map map = - internalGetIdHeightDict().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - return map.get(key); } - - public Builder clearIdHeightDict() { - internalGetMutableIdHeightDict().getMutableMap() - .clear(); + /** + *
+       * The error message.
+       * 
+ * + * string message = 2; + * @param value The message to set. + * @return This builder for chaining. + */ + public Builder setMessage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + message_ = value; + onChanged(); return this; } /** - * map<int32, int64> id_height_dict = 1; + *
+       * The error message.
+       * 
+ * + * string message = 2; + * @return This builder for chaining. */ - - public Builder removeIdHeightDict( - int key) { + public Builder clearMessage() { - internalGetMutableIdHeightDict().getMutableMap() - .remove(key); + message_ = getDefaultInstance().getMessage(); + onChanged(); return this; } /** - * Use alternate mutation accessors instead. + *
+       * The error message.
+       * 
+ * + * string message = 2; + * @param value The bytes for message to set. + * @return This builder for chaining. */ - @java.lang.Deprecated - public java.util.Map - getMutableIdHeightDict() { - return internalGetMutableIdHeightDict().getMutableMap(); + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + message_ = value; + onChanged(); + return this; } + + private boolean isReTrigger_ ; /** - * map<int32, int64> id_height_dict = 1; + *
+       * Whether to trigger mining again.
+       * 
+ * + * bool is_re_trigger = 3; + * @return The isReTrigger. */ - public Builder putIdHeightDict( - int key, - long value) { - + public boolean getIsReTrigger() { + return isReTrigger_; + } + /** + *
+       * Whether to trigger mining again.
+       * 
+ * + * bool is_re_trigger = 3; + * @param value The isReTrigger to set. + * @return This builder for chaining. + */ + public Builder setIsReTrigger(boolean value) { - internalGetMutableIdHeightDict().getMutableMap() - .put(key, value); + isReTrigger_ = value; + onChanged(); return this; } /** - * map<int32, int64> id_height_dict = 1; + *
+       * Whether to trigger mining again.
+       * 
+ * + * bool is_re_trigger = 3; + * @return This builder for chaining. */ - - public Builder putAllIdHeightDict( - java.util.Map values) { - internalGetMutableIdHeightDict().getMutableMap() - .putAll(values); + public Builder clearIsReTrigger() { + + isReTrigger_ = false; + onChanged(); return this; } @java.lang.Override @@ -13070,95 +15416,148 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:SideChainIdAndHeightDict) + // @@protoc_insertion_point(builder_scope:ValidationResult) } - // @@protoc_insertion_point(class_scope:SideChainIdAndHeightDict) - private static final io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:ValidationResult) + private static final io.aelf.protobuf.generated.Client.ValidationResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ValidationResult(); } - public static io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.ValidationResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public SideChainIdAndHeightDict parsePartialFrom( + public ValidationResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SideChainIdAndHeightDict(input, extensionRegistry); + return new ValidationResult(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIdAndHeightDict getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.ValidationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface SideChainIndexingInformationListOrBuilder extends - // @@protoc_insertion_point(interface_extends:SideChainIndexingInformationList) + public interface MethodCallingThresholdOrBuilder extends + // @@protoc_insertion_point(interface_extends:MethodCallingThreshold) com.google.protobuf.MessageOrBuilder { /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+     * The threshold for method calling, token symbol -> amount. 
+     * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - java.util.List - getIndexingInformationListList(); + int getSymbolToAmountCount(); /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+     * The threshold for method calling, token symbol -> amount. 
+     * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - io.aelf.protobuf.generated.Client.SideChainIndexingInformation getIndexingInformationList(int index); + boolean containsSymbolToAmount( + java.lang.String key); /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + * Use {@link #getSymbolToAmountMap()} instead. */ - int getIndexingInformationListCount(); + @java.lang.Deprecated + java.util.Map + getSymbolToAmount(); /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+     * The threshold for method calling, token symbol -> amount. 
+     * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - java.util.List - getIndexingInformationListOrBuilderList(); + java.util.Map + getSymbolToAmountMap(); /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+     * The threshold for method calling, token symbol -> amount. 
+     * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder getIndexingInformationListOrBuilder( - int index); + + long getSymbolToAmountOrDefault( + java.lang.String key, + long defaultValue); + /** + *
+     * The threshold for method calling, token symbol -> amount. 
+     * 
+ * + * map<string, int64> symbol_to_amount = 1; + */ + + long getSymbolToAmountOrThrow( + java.lang.String key); + + /** + *
+     * The type of threshold check.
+     * 
+ * + * .ThresholdCheckType threshold_check_type = 2; + * @return The enum numeric value on the wire for thresholdCheckType. + */ + int getThresholdCheckTypeValue(); + /** + *
+     * The type of threshold check.
+     * 
+ * + * .ThresholdCheckType threshold_check_type = 2; + * @return The thresholdCheckType. + */ + io.aelf.protobuf.generated.Client.ThresholdCheckType getThresholdCheckType(); } /** - * Protobuf type {@code SideChainIndexingInformationList} + *
+   *acs5
+   * 
+ * + * Protobuf type {@code MethodCallingThreshold} */ - public static final class SideChainIndexingInformationList extends + public static final class MethodCallingThreshold extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:SideChainIndexingInformationList) - SideChainIndexingInformationListOrBuilder { + // @@protoc_insertion_point(message_implements:MethodCallingThreshold) + MethodCallingThresholdOrBuilder { private static final long serialVersionUID = 0L; - // Use SideChainIndexingInformationList.newBuilder() to construct. - private SideChainIndexingInformationList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use MethodCallingThreshold.newBuilder() to construct. + private MethodCallingThreshold(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SideChainIndexingInformationList() { - indexingInformationList_ = java.util.Collections.emptyList(); + private MethodCallingThreshold() { + thresholdCheckType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new SideChainIndexingInformationList(); + return new MethodCallingThreshold(); } @java.lang.Override @@ -13166,7 +15565,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private SideChainIndexingInformationList( + private MethodCallingThreshold( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13187,11 +15586,21 @@ private SideChainIndexingInformationList( break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { - indexingInformationList_ = new java.util.ArrayList(); + symbolToAmount_ = com.google.protobuf.MapField.newMapField( + SymbolToAmountDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } - indexingInformationList_.add( - input.readMessage(io.aelf.protobuf.generated.Client.SideChainIndexingInformation.parser(), extensionRegistry)); + com.google.protobuf.MapEntry + symbolToAmount__ = input.readMessage( + SymbolToAmountDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + symbolToAmount_.getMutableMap().put( + symbolToAmount__.getKey(), symbolToAmount__.getValue()); + break; + } + case 16: { + int rawValue = input.readEnum(); + + thresholdCheckType_ = rawValue; break; } default: { @@ -13209,59 +15618,152 @@ private SideChainIndexingInformationList( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - indexingInformationList_ = java.util.Collections.unmodifiableList(indexingInformationList_); - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetSymbolToAmount(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.class, io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.Builder.class); + io.aelf.protobuf.generated.Client.MethodCallingThreshold.class, io.aelf.protobuf.generated.Client.MethodCallingThreshold.Builder.class); } - public static final int INDEXING_INFORMATION_LIST_FIELD_NUMBER = 1; - private java.util.List indexingInformationList_; + public static final int SYMBOL_TO_AMOUNT_FIELD_NUMBER = 1; + private static final class SymbolToAmountDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Long> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_SymbolToAmountEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> symbolToAmount_; + private com.google.protobuf.MapField + internalGetSymbolToAmount() { + if (symbolToAmount_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SymbolToAmountDefaultEntryHolder.defaultEntry); + } + return symbolToAmount_; + } + + public int getSymbolToAmountCount() { + return internalGetSymbolToAmount().getMap().size(); + } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+     * The threshold for method calling, token symbol -> amount. 
+     * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public java.util.List getIndexingInformationListList() { - return indexingInformationList_; + + public boolean containsSymbolToAmount( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetSymbolToAmount().getMap().containsKey(key); } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + * Use {@link #getSymbolToAmountMap()} instead. */ - public java.util.List - getIndexingInformationListOrBuilderList() { - return indexingInformationList_; + @java.lang.Deprecated + public java.util.Map getSymbolToAmount() { + return getSymbolToAmountMap(); } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+     * The threshold for method calling, token symbol -> amount. 
+     * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public int getIndexingInformationListCount() { - return indexingInformationList_.size(); + + public java.util.Map getSymbolToAmountMap() { + return internalGetSymbolToAmount().getMap(); } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+     * The threshold for method calling, token symbol -> amount. 
+     * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public io.aelf.protobuf.generated.Client.SideChainIndexingInformation getIndexingInformationList(int index) { - return indexingInformationList_.get(index); + + public long getSymbolToAmountOrDefault( + java.lang.String key, + long defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetSymbolToAmount().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+     * The threshold for method calling, token symbol -> amount. 
+     * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder getIndexingInformationListOrBuilder( - int index) { - return indexingInformationList_.get(index); + + public long getSymbolToAmountOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetSymbolToAmount().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int THRESHOLD_CHECK_TYPE_FIELD_NUMBER = 2; + private int thresholdCheckType_; + /** + *
+     * The type of threshold check.
+     * 
+ * + * .ThresholdCheckType threshold_check_type = 2; + * @return The enum numeric value on the wire for thresholdCheckType. + */ + public int getThresholdCheckTypeValue() { + return thresholdCheckType_; + } + /** + *
+     * The type of threshold check.
+     * 
+ * + * .ThresholdCheckType threshold_check_type = 2; + * @return The thresholdCheckType. + */ + public io.aelf.protobuf.generated.Client.ThresholdCheckType getThresholdCheckType() { + @SuppressWarnings("deprecation") + io.aelf.protobuf.generated.Client.ThresholdCheckType result = io.aelf.protobuf.generated.Client.ThresholdCheckType.valueOf(thresholdCheckType_); + return result == null ? io.aelf.protobuf.generated.Client.ThresholdCheckType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @@ -13278,8 +15780,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < indexingInformationList_.size(); i++) { - output.writeMessage(1, indexingInformationList_.get(i)); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSymbolToAmount(), + SymbolToAmountDefaultEntryHolder.defaultEntry, + 1); + if (thresholdCheckType_ != io.aelf.protobuf.generated.Client.ThresholdCheckType.BALANCE.getNumber()) { + output.writeEnum(2, thresholdCheckType_); } unknownFields.writeTo(output); } @@ -13290,9 +15798,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < indexingInformationList_.size(); i++) { + for (java.util.Map.Entry entry + : internalGetSymbolToAmount().getMap().entrySet()) { + com.google.protobuf.MapEntry + symbolToAmount__ = SymbolToAmountDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, indexingInformationList_.get(i)); + .computeMessageSize(1, symbolToAmount__); + } + if (thresholdCheckType_ != io.aelf.protobuf.generated.Client.ThresholdCheckType.BALANCE.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, thresholdCheckType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13304,13 +15822,14 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.SideChainIndexingInformationList)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.MethodCallingThreshold)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.SideChainIndexingInformationList other = (io.aelf.protobuf.generated.Client.SideChainIndexingInformationList) obj; + io.aelf.protobuf.generated.Client.MethodCallingThreshold other = (io.aelf.protobuf.generated.Client.MethodCallingThreshold) obj; - if (!getIndexingInformationListList() - .equals(other.getIndexingInformationListList())) return false; + if (!internalGetSymbolToAmount().equals( + other.internalGetSymbolToAmount())) return false; + if (thresholdCheckType_ != other.thresholdCheckType_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13322,78 +15841,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getIndexingInformationListCount() > 0) { - hash = (37 * hash) + INDEXING_INFORMATION_LIST_FIELD_NUMBER; - hash = (53 * hash) + getIndexingInformationListList().hashCode(); + if (!internalGetSymbolToAmount().getMap().isEmpty()) { + hash = (37 * hash) + SYMBOL_TO_AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + internalGetSymbolToAmount().hashCode(); } + hash = (37 * hash) + THRESHOLD_CHECK_TYPE_FIELD_NUMBER; + hash = (53 * hash) + thresholdCheckType_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold 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 io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold 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 io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13406,7 +15927,7 @@ public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.SideChainIndexingInformationList prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.MethodCallingThreshold prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -13422,26 +15943,52 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code SideChainIndexingInformationList} + *
+     *acs5
+     * 
+ * + * Protobuf type {@code MethodCallingThreshold} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:SideChainIndexingInformationList) - io.aelf.protobuf.generated.Client.SideChainIndexingInformationListOrBuilder { + // @@protoc_insertion_point(builder_implements:MethodCallingThreshold) + io.aelf.protobuf.generated.Client.MethodCallingThresholdOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetSymbolToAmount(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableSymbolToAmount(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.class, io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.Builder.class); + io.aelf.protobuf.generated.Client.MethodCallingThreshold.class, io.aelf.protobuf.generated.Client.MethodCallingThreshold.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.MethodCallingThreshold.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -13454,35 +16001,31 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getIndexingInformationListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (indexingInformationListBuilder_ == null) { - indexingInformationList_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - indexingInformationListBuilder_.clear(); - } + internalGetMutableSymbolToAmount().clear(); + thresholdCheckType_ = 0; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_MethodCallingThreshold_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIndexingInformationList getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.MethodCallingThreshold getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.MethodCallingThreshold.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIndexingInformationList build() { - io.aelf.protobuf.generated.Client.SideChainIndexingInformationList result = buildPartial(); + public io.aelf.protobuf.generated.Client.MethodCallingThreshold build() { + io.aelf.protobuf.generated.Client.MethodCallingThreshold result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13490,18 +16033,12 @@ public io.aelf.protobuf.generated.Client.SideChainIndexingInformationList build( } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIndexingInformationList buildPartial() { - io.aelf.protobuf.generated.Client.SideChainIndexingInformationList result = new io.aelf.protobuf.generated.Client.SideChainIndexingInformationList(this); + public io.aelf.protobuf.generated.Client.MethodCallingThreshold buildPartial() { + io.aelf.protobuf.generated.Client.MethodCallingThreshold result = new io.aelf.protobuf.generated.Client.MethodCallingThreshold(this); int from_bitField0_ = bitField0_; - if (indexingInformationListBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - indexingInformationList_ = java.util.Collections.unmodifiableList(indexingInformationList_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.indexingInformationList_ = indexingInformationList_; - } else { - result.indexingInformationList_ = indexingInformationListBuilder_.build(); - } + result.symbolToAmount_ = internalGetSymbolToAmount(); + result.symbolToAmount_.makeImmutable(); + result.thresholdCheckType_ = thresholdCheckType_; onBuilt(); return result; } @@ -13540,41 +16077,20 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.SideChainIndexingInformationList) { - return mergeFrom((io.aelf.protobuf.generated.Client.SideChainIndexingInformationList)other); + if (other instanceof io.aelf.protobuf.generated.Client.MethodCallingThreshold) { + return mergeFrom((io.aelf.protobuf.generated.Client.MethodCallingThreshold)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.SideChainIndexingInformationList other) { - if (other == io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.getDefaultInstance()) return this; - if (indexingInformationListBuilder_ == null) { - if (!other.indexingInformationList_.isEmpty()) { - if (indexingInformationList_.isEmpty()) { - indexingInformationList_ = other.indexingInformationList_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureIndexingInformationListIsMutable(); - indexingInformationList_.addAll(other.indexingInformationList_); - } - onChanged(); - } - } else { - if (!other.indexingInformationList_.isEmpty()) { - if (indexingInformationListBuilder_.isEmpty()) { - indexingInformationListBuilder_.dispose(); - indexingInformationListBuilder_ = null; - indexingInformationList_ = other.indexingInformationList_; - bitField0_ = (bitField0_ & ~0x00000001); - indexingInformationListBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIndexingInformationListFieldBuilder() : null; - } else { - indexingInformationListBuilder_.addAllMessages(other.indexingInformationList_); - } - } + public Builder mergeFrom(io.aelf.protobuf.generated.Client.MethodCallingThreshold other) { + if (other == io.aelf.protobuf.generated.Client.MethodCallingThreshold.getDefaultInstance()) return this; + internalGetMutableSymbolToAmount().mergeFrom( + other.internalGetSymbolToAmount()); + if (other.thresholdCheckType_ != 0) { + setThresholdCheckTypeValue(other.getThresholdCheckTypeValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -13591,11 +16107,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parsedMessage = null; + io.aelf.protobuf.generated.Client.MethodCallingThreshold parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.SideChainIndexingInformationList) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.MethodCallingThreshold) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13606,244 +16122,227 @@ public Builder mergeFrom( } private int bitField0_; - private java.util.List indexingInformationList_ = - java.util.Collections.emptyList(); - private void ensureIndexingInformationListIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - indexingInformationList_ = new java.util.ArrayList(indexingInformationList_); - bitField0_ |= 0x00000001; - } + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> symbolToAmount_; + private com.google.protobuf.MapField + internalGetSymbolToAmount() { + if (symbolToAmount_ == null) { + return com.google.protobuf.MapField.emptyMapField( + SymbolToAmountDefaultEntryHolder.defaultEntry); + } + return symbolToAmount_; + } + private com.google.protobuf.MapField + internalGetMutableSymbolToAmount() { + onChanged();; + if (symbolToAmount_ == null) { + symbolToAmount_ = com.google.protobuf.MapField.newMapField( + SymbolToAmountDefaultEntryHolder.defaultEntry); + } + if (!symbolToAmount_.isMutable()) { + symbolToAmount_ = symbolToAmount_.copy(); + } + return symbolToAmount_; } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.SideChainIndexingInformation, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder, io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder> indexingInformationListBuilder_; - + public int getSymbolToAmountCount() { + return internalGetSymbolToAmount().getMap().size(); + } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The threshold for method calling, token symbol -> amount. 
+       * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public java.util.List getIndexingInformationListList() { - if (indexingInformationListBuilder_ == null) { - return java.util.Collections.unmodifiableList(indexingInformationList_); - } else { - return indexingInformationListBuilder_.getMessageList(); - } + + public boolean containsSymbolToAmount( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetSymbolToAmount().getMap().containsKey(key); } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + * Use {@link #getSymbolToAmountMap()} instead. */ - public int getIndexingInformationListCount() { - if (indexingInformationListBuilder_ == null) { - return indexingInformationList_.size(); - } else { - return indexingInformationListBuilder_.getCount(); - } + @java.lang.Deprecated + public java.util.Map getSymbolToAmount() { + return getSymbolToAmountMap(); } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The threshold for method calling, token symbol -> amount. 
+       * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public io.aelf.protobuf.generated.Client.SideChainIndexingInformation getIndexingInformationList(int index) { - if (indexingInformationListBuilder_ == null) { - return indexingInformationList_.get(index); - } else { - return indexingInformationListBuilder_.getMessage(index); - } + + public java.util.Map getSymbolToAmountMap() { + return internalGetSymbolToAmount().getMap(); } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The threshold for method calling, token symbol -> amount. 
+       * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public Builder setIndexingInformationList( - int index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation value) { - if (indexingInformationListBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIndexingInformationListIsMutable(); - indexingInformationList_.set(index, value); - onChanged(); - } else { - indexingInformationListBuilder_.setMessage(index, value); - } - return this; + + public long getSymbolToAmountOrDefault( + java.lang.String key, + long defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetSymbolToAmount().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The threshold for method calling, token symbol -> amount. 
+       * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public Builder setIndexingInformationList( - int index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder builderForValue) { - if (indexingInformationListBuilder_ == null) { - ensureIndexingInformationListIsMutable(); - indexingInformationList_.set(index, builderForValue.build()); - onChanged(); - } else { - indexingInformationListBuilder_.setMessage(index, builderForValue.build()); + + public long getSymbolToAmountOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetSymbolToAmount().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); } + return map.get(key); + } + + public Builder clearSymbolToAmount() { + internalGetMutableSymbolToAmount().getMutableMap() + .clear(); return this; } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The threshold for method calling, token symbol -> amount. 
+       * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public Builder addIndexingInformationList(io.aelf.protobuf.generated.Client.SideChainIndexingInformation value) { - if (indexingInformationListBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIndexingInformationListIsMutable(); - indexingInformationList_.add(value); - onChanged(); - } else { - indexingInformationListBuilder_.addMessage(value); - } + + public Builder removeSymbolToAmount( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableSymbolToAmount().getMutableMap() + .remove(key); return this; } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + * Use alternate mutation accessors instead. */ - public Builder addIndexingInformationList( - int index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation value) { - if (indexingInformationListBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIndexingInformationListIsMutable(); - indexingInformationList_.add(index, value); - onChanged(); - } else { - indexingInformationListBuilder_.addMessage(index, value); - } - return this; + @java.lang.Deprecated + public java.util.Map + getMutableSymbolToAmount() { + return internalGetMutableSymbolToAmount().getMutableMap(); } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The threshold for method calling, token symbol -> amount. 
+       * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public Builder addIndexingInformationList( - io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder builderForValue) { - if (indexingInformationListBuilder_ == null) { - ensureIndexingInformationListIsMutable(); - indexingInformationList_.add(builderForValue.build()); - onChanged(); - } else { - indexingInformationListBuilder_.addMessage(builderForValue.build()); - } + public Builder putSymbolToAmount( + java.lang.String key, + long value) { + if (key == null) { throw new java.lang.NullPointerException(); } + + internalGetMutableSymbolToAmount().getMutableMap() + .put(key, value); return this; } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The threshold for method calling, token symbol -> amount. 
+       * 
+ * + * map<string, int64> symbol_to_amount = 1; */ - public Builder addIndexingInformationList( - int index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder builderForValue) { - if (indexingInformationListBuilder_ == null) { - ensureIndexingInformationListIsMutable(); - indexingInformationList_.add(index, builderForValue.build()); - onChanged(); - } else { - indexingInformationListBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; - */ - public Builder addAllIndexingInformationList( - java.lang.Iterable values) { - if (indexingInformationListBuilder_ == null) { - ensureIndexingInformationListIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, indexingInformationList_); - onChanged(); - } else { - indexingInformationListBuilder_.addAllMessages(values); - } + + public Builder putAllSymbolToAmount( + java.util.Map values) { + internalGetMutableSymbolToAmount().getMutableMap() + .putAll(values); return this; } + + private int thresholdCheckType_ = 0; /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The type of threshold check.
+       * 
+ * + * .ThresholdCheckType threshold_check_type = 2; + * @return The enum numeric value on the wire for thresholdCheckType. */ - public Builder clearIndexingInformationList() { - if (indexingInformationListBuilder_ == null) { - indexingInformationList_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - indexingInformationListBuilder_.clear(); - } - return this; + public int getThresholdCheckTypeValue() { + return thresholdCheckType_; } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The type of threshold check.
+       * 
+ * + * .ThresholdCheckType threshold_check_type = 2; + * @param value The enum numeric value on the wire for thresholdCheckType to set. + * @return This builder for chaining. */ - public Builder removeIndexingInformationList(int index) { - if (indexingInformationListBuilder_ == null) { - ensureIndexingInformationListIsMutable(); - indexingInformationList_.remove(index); - onChanged(); - } else { - indexingInformationListBuilder_.remove(index); - } + public Builder setThresholdCheckTypeValue(int value) { + thresholdCheckType_ = value; + onChanged(); return this; } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder getIndexingInformationListBuilder( - int index) { - return getIndexingInformationListFieldBuilder().getBuilder(index); - } - /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The type of threshold check.
+       * 
+ * + * .ThresholdCheckType threshold_check_type = 2; + * @return The thresholdCheckType. */ - public io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder getIndexingInformationListOrBuilder( - int index) { - if (indexingInformationListBuilder_ == null) { - return indexingInformationList_.get(index); } else { - return indexingInformationListBuilder_.getMessageOrBuilder(index); - } + public io.aelf.protobuf.generated.Client.ThresholdCheckType getThresholdCheckType() { + @SuppressWarnings("deprecation") + io.aelf.protobuf.generated.Client.ThresholdCheckType result = io.aelf.protobuf.generated.Client.ThresholdCheckType.valueOf(thresholdCheckType_); + return result == null ? io.aelf.protobuf.generated.Client.ThresholdCheckType.UNRECOGNIZED : result; } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The type of threshold check.
+       * 
+ * + * .ThresholdCheckType threshold_check_type = 2; + * @param value The thresholdCheckType to set. + * @return This builder for chaining. */ - public java.util.List - getIndexingInformationListOrBuilderList() { - if (indexingInformationListBuilder_ != null) { - return indexingInformationListBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(indexingInformationList_); + public Builder setThresholdCheckType(io.aelf.protobuf.generated.Client.ThresholdCheckType value) { + if (value == null) { + throw new NullPointerException(); } + + thresholdCheckType_ = value.getNumber(); + onChanged(); + return this; } /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder addIndexingInformationListBuilder() { - return getIndexingInformationListFieldBuilder().addBuilder( - io.aelf.protobuf.generated.Client.SideChainIndexingInformation.getDefaultInstance()); - } - /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder addIndexingInformationListBuilder( - int index) { - return getIndexingInformationListFieldBuilder().addBuilder( - index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.getDefaultInstance()); - } - /** - * repeated .SideChainIndexingInformation indexing_information_list = 1; + *
+       * The type of threshold check.
+       * 
+ * + * .ThresholdCheckType threshold_check_type = 2; + * @return This builder for chaining. */ - public java.util.List - getIndexingInformationListBuilderList() { - return getIndexingInformationListFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.SideChainIndexingInformation, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder, io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder> - getIndexingInformationListFieldBuilder() { - if (indexingInformationListBuilder_ == null) { - indexingInformationListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.SideChainIndexingInformation, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder, io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder>( - indexingInformationList_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - indexingInformationList_ = null; - } - return indexingInformationListBuilder_; + public Builder clearThresholdCheckType() { + + thresholdCheckType_ = 0; + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -13858,88 +16357,119 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:SideChainIndexingInformationList) + // @@protoc_insertion_point(builder_scope:MethodCallingThreshold) } - // @@protoc_insertion_point(class_scope:SideChainIndexingInformationList) - private static final io.aelf.protobuf.generated.Client.SideChainIndexingInformationList DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:MethodCallingThreshold) + private static final io.aelf.protobuf.generated.Client.MethodCallingThreshold DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.SideChainIndexingInformationList(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.MethodCallingThreshold(); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.MethodCallingThreshold getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public SideChainIndexingInformationList parsePartialFrom( + public MethodCallingThreshold parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SideChainIndexingInformationList(input, extensionRegistry); + return new MethodCallingThreshold(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIndexingInformationList getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.MethodCallingThreshold getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface SideChainIndexingInformationOrBuilder extends - // @@protoc_insertion_point(interface_extends:SideChainIndexingInformation) + public interface SideChainIndexingInformationListOrBuilder extends + // @@protoc_insertion_point(interface_extends:SideChainIndexingInformationList) com.google.protobuf.MessageOrBuilder { /** - * int32 chain_id = 1; - * @return The chainId. + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - int getChainId(); - + java.util.List + getIndexingInformationListList(); /** - * int64 indexed_height = 2; - * @return The indexedHeight. + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - long getIndexedHeight(); - + io.aelf.protobuf.generated.Client.SideChainIndexingInformation getIndexingInformationList(int index); + /** + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + int getIndexingInformationListCount(); + /** + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + java.util.List + getIndexingInformationListOrBuilderList(); /** - * int64 to_be_indexed_count = 3; - * @return The toBeIndexedCount. + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - long getToBeIndexedCount(); + io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder getIndexingInformationListOrBuilder( + int index); } /** - * Protobuf type {@code SideChainIndexingInformation} + *
+   *acs7
+   * 
+ * + * Protobuf type {@code SideChainIndexingInformationList} */ - public static final class SideChainIndexingInformation extends + public static final class SideChainIndexingInformationList extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:SideChainIndexingInformation) - SideChainIndexingInformationOrBuilder { + // @@protoc_insertion_point(message_implements:SideChainIndexingInformationList) + SideChainIndexingInformationListOrBuilder { private static final long serialVersionUID = 0L; - // Use SideChainIndexingInformation.newBuilder() to construct. - private SideChainIndexingInformation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use SideChainIndexingInformationList.newBuilder() to construct. + private SideChainIndexingInformationList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SideChainIndexingInformation() { + private SideChainIndexingInformationList() { + indexingInformationList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new SideChainIndexingInformation(); + return new SideChainIndexingInformationList(); } @java.lang.Override @@ -13947,7 +16477,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private SideChainIndexingInformation( + private SideChainIndexingInformationList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13955,6 +16485,7 @@ private SideChainIndexingInformation( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -13965,19 +16496,13 @@ private SideChainIndexingInformation( case 0: done = true; break; - case 8: { - - chainId_ = input.readInt32(); - break; - } - case 16: { - - indexedHeight_ = input.readInt64(); - break; - } - case 24: { - - toBeIndexedCount_ = input.readInt64(); + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + indexingInformationList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + indexingInformationList_.add( + input.readMessage(io.aelf.protobuf.generated.Client.SideChainIndexingInformation.parser(), extensionRegistry)); break; } default: { @@ -13995,51 +16520,79 @@ private SideChainIndexingInformation( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + indexingInformationList_ = java.util.Collections.unmodifiableList(indexingInformationList_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.SideChainIndexingInformation.class, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder.class); + io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.class, io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.Builder.class); } - public static final int CHAIN_ID_FIELD_NUMBER = 1; - private int chainId_; + public static final int INDEXING_INFORMATION_LIST_FIELD_NUMBER = 1; + private java.util.List indexingInformationList_; /** - * int32 chain_id = 1; - * @return The chainId. + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public int getChainId() { - return chainId_; + public java.util.List getIndexingInformationListList() { + return indexingInformationList_; } - - public static final int INDEXED_HEIGHT_FIELD_NUMBER = 2; - private long indexedHeight_; /** - * int64 indexed_height = 2; - * @return The indexedHeight. + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public long getIndexedHeight() { - return indexedHeight_; + public java.util.List + getIndexingInformationListOrBuilderList() { + return indexingInformationList_; + } + /** + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public int getIndexingInformationListCount() { + return indexingInformationList_.size(); + } + /** + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainIndexingInformation getIndexingInformationList(int index) { + return indexingInformationList_.get(index); } - - public static final int TO_BE_INDEXED_COUNT_FIELD_NUMBER = 3; - private long toBeIndexedCount_; /** - * int64 to_be_indexed_count = 3; - * @return The toBeIndexedCount. + *
+     * A list contains indexing information of side chains.
+     * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public long getToBeIndexedCount() { - return toBeIndexedCount_; + public io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder getIndexingInformationListOrBuilder( + int index) { + return indexingInformationList_.get(index); } private byte memoizedIsInitialized = -1; @@ -14056,14 +16609,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (chainId_ != 0) { - output.writeInt32(1, chainId_); - } - if (indexedHeight_ != 0L) { - output.writeInt64(2, indexedHeight_); - } - if (toBeIndexedCount_ != 0L) { - output.writeInt64(3, toBeIndexedCount_); + for (int i = 0; i < indexingInformationList_.size(); i++) { + output.writeMessage(1, indexingInformationList_.get(i)); } unknownFields.writeTo(output); } @@ -14074,17 +16621,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (chainId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, chainId_); - } - if (indexedHeight_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, indexedHeight_); - } - if (toBeIndexedCount_ != 0L) { + for (int i = 0; i < indexingInformationList_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, toBeIndexedCount_); + .computeMessageSize(1, indexingInformationList_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14096,17 +16635,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.SideChainIndexingInformation)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.SideChainIndexingInformationList)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.SideChainIndexingInformation other = (io.aelf.protobuf.generated.Client.SideChainIndexingInformation) obj; + io.aelf.protobuf.generated.Client.SideChainIndexingInformationList other = (io.aelf.protobuf.generated.Client.SideChainIndexingInformationList) obj; - if (getChainId() - != other.getChainId()) return false; - if (getIndexedHeight() - != other.getIndexedHeight()) return false; - if (getToBeIndexedCount() - != other.getToBeIndexedCount()) return false; + if (!getIndexingInformationListList() + .equals(other.getIndexingInformationListList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14118,82 +16653,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CHAIN_ID_FIELD_NUMBER; - hash = (53 * hash) + getChainId(); - hash = (37 * hash) + INDEXED_HEIGHT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getIndexedHeight()); - hash = (37 * hash) + TO_BE_INDEXED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getToBeIndexedCount()); + if (getIndexingInformationListCount() > 0) { + hash = (37 * hash) + INDEXING_INFORMATION_LIST_FIELD_NUMBER; + hash = (53 * hash) + getIndexingInformationListList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList 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 io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList 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 io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -14206,7 +16737,7 @@ public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation par public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.SideChainIndexingInformation prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.SideChainIndexingInformationList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -14222,26 +16753,30 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code SideChainIndexingInformation} + *
+     *acs7
+     * 
+ * + * Protobuf type {@code SideChainIndexingInformationList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:SideChainIndexingInformation) - io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder { + // @@protoc_insertion_point(builder_implements:SideChainIndexingInformationList) + io.aelf.protobuf.generated.Client.SideChainIndexingInformationListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.SideChainIndexingInformation.class, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder.class); + io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.class, io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.SideChainIndexingInformation.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -14254,34 +16789,35 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getIndexingInformationListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - chainId_ = 0; - - indexedHeight_ = 0L; - - toBeIndexedCount_ = 0L; - + if (indexingInformationListBuilder_ == null) { + indexingInformationList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + indexingInformationListBuilder_.clear(); + } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformationList_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIndexingInformation getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.SideChainIndexingInformation.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.SideChainIndexingInformationList getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIndexingInformation build() { - io.aelf.protobuf.generated.Client.SideChainIndexingInformation result = buildPartial(); + public io.aelf.protobuf.generated.Client.SideChainIndexingInformationList build() { + io.aelf.protobuf.generated.Client.SideChainIndexingInformationList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14289,11 +16825,18 @@ public io.aelf.protobuf.generated.Client.SideChainIndexingInformation build() { } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIndexingInformation buildPartial() { - io.aelf.protobuf.generated.Client.SideChainIndexingInformation result = new io.aelf.protobuf.generated.Client.SideChainIndexingInformation(this); - result.chainId_ = chainId_; - result.indexedHeight_ = indexedHeight_; - result.toBeIndexedCount_ = toBeIndexedCount_; + public io.aelf.protobuf.generated.Client.SideChainIndexingInformationList buildPartial() { + io.aelf.protobuf.generated.Client.SideChainIndexingInformationList result = new io.aelf.protobuf.generated.Client.SideChainIndexingInformationList(this); + int from_bitField0_ = bitField0_; + if (indexingInformationListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + indexingInformationList_ = java.util.Collections.unmodifiableList(indexingInformationList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.indexingInformationList_ = indexingInformationList_; + } else { + result.indexingInformationList_ = indexingInformationListBuilder_.build(); + } onBuilt(); return result; } @@ -14332,24 +16875,41 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.SideChainIndexingInformation) { - return mergeFrom((io.aelf.protobuf.generated.Client.SideChainIndexingInformation)other); + if (other instanceof io.aelf.protobuf.generated.Client.SideChainIndexingInformationList) { + return mergeFrom((io.aelf.protobuf.generated.Client.SideChainIndexingInformationList)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.SideChainIndexingInformation other) { - if (other == io.aelf.protobuf.generated.Client.SideChainIndexingInformation.getDefaultInstance()) return this; - if (other.getChainId() != 0) { - setChainId(other.getChainId()); - } - if (other.getIndexedHeight() != 0L) { - setIndexedHeight(other.getIndexedHeight()); - } - if (other.getToBeIndexedCount() != 0L) { - setToBeIndexedCount(other.getToBeIndexedCount()); + public Builder mergeFrom(io.aelf.protobuf.generated.Client.SideChainIndexingInformationList other) { + if (other == io.aelf.protobuf.generated.Client.SideChainIndexingInformationList.getDefaultInstance()) return this; + if (indexingInformationListBuilder_ == null) { + if (!other.indexingInformationList_.isEmpty()) { + if (indexingInformationList_.isEmpty()) { + indexingInformationList_ = other.indexingInformationList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureIndexingInformationListIsMutable(); + indexingInformationList_.addAll(other.indexingInformationList_); + } + onChanged(); + } + } else { + if (!other.indexingInformationList_.isEmpty()) { + if (indexingInformationListBuilder_.isEmpty()) { + indexingInformationListBuilder_.dispose(); + indexingInformationListBuilder_ = null; + indexingInformationList_ = other.indexingInformationList_; + bitField0_ = (bitField0_ & ~0x00000001); + indexingInformationListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIndexingInformationListFieldBuilder() : null; + } else { + indexingInformationListBuilder_.addAllMessages(other.indexingInformationList_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -14366,11 +16926,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.SideChainIndexingInformation parsedMessage = null; + io.aelf.protobuf.generated.Client.SideChainIndexingInformationList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.SideChainIndexingInformation) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.SideChainIndexingInformationList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14379,229 +16939,416 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private int chainId_ ; - /** - * int32 chain_id = 1; - * @return The chainId. - */ - public int getChainId() { - return chainId_; + private java.util.List indexingInformationList_ = + java.util.Collections.emptyList(); + private void ensureIndexingInformationListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + indexingInformationList_ = new java.util.ArrayList(indexingInformationList_); + bitField0_ |= 0x00000001; + } } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.SideChainIndexingInformation, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder, io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder> indexingInformationListBuilder_; + /** - * int32 chain_id = 1; - * @param value The chainId to set. - * @return This builder for chaining. - */ - public Builder setChainId(int value) { - - chainId_ = value; - onChanged(); - return this; + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public java.util.List getIndexingInformationListList() { + if (indexingInformationListBuilder_ == null) { + return java.util.Collections.unmodifiableList(indexingInformationList_); + } else { + return indexingInformationListBuilder_.getMessageList(); + } } /** - * int32 chain_id = 1; - * @return This builder for chaining. + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public Builder clearChainId() { - - chainId_ = 0; - onChanged(); + public int getIndexingInformationListCount() { + if (indexingInformationListBuilder_ == null) { + return indexingInformationList_.size(); + } else { + return indexingInformationListBuilder_.getCount(); + } + } + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainIndexingInformation getIndexingInformationList(int index) { + if (indexingInformationListBuilder_ == null) { + return indexingInformationList_.get(index); + } else { + return indexingInformationListBuilder_.getMessage(index); + } + } + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public Builder setIndexingInformationList( + int index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation value) { + if (indexingInformationListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIndexingInformationListIsMutable(); + indexingInformationList_.set(index, value); + onChanged(); + } else { + indexingInformationListBuilder_.setMessage(index, value); + } return this; } - - private long indexedHeight_ ; /** - * int64 indexed_height = 2; - * @return The indexedHeight. + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public long getIndexedHeight() { - return indexedHeight_; + public Builder setIndexingInformationList( + int index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder builderForValue) { + if (indexingInformationListBuilder_ == null) { + ensureIndexingInformationListIsMutable(); + indexingInformationList_.set(index, builderForValue.build()); + onChanged(); + } else { + indexingInformationListBuilder_.setMessage(index, builderForValue.build()); + } + return this; } /** - * int64 indexed_height = 2; - * @param value The indexedHeight to set. - * @return This builder for chaining. + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public Builder setIndexedHeight(long value) { - - indexedHeight_ = value; - onChanged(); + public Builder addIndexingInformationList(io.aelf.protobuf.generated.Client.SideChainIndexingInformation value) { + if (indexingInformationListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIndexingInformationListIsMutable(); + indexingInformationList_.add(value); + onChanged(); + } else { + indexingInformationListBuilder_.addMessage(value); + } return this; } /** - * int64 indexed_height = 2; - * @return This builder for chaining. + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public Builder clearIndexedHeight() { - - indexedHeight_ = 0L; - onChanged(); + public Builder addIndexingInformationList( + int index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation value) { + if (indexingInformationListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIndexingInformationListIsMutable(); + indexingInformationList_.add(index, value); + onChanged(); + } else { + indexingInformationListBuilder_.addMessage(index, value); + } return this; } - - private long toBeIndexedCount_ ; /** - * int64 to_be_indexed_count = 3; - * @return The toBeIndexedCount. + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public long getToBeIndexedCount() { - return toBeIndexedCount_; + public Builder addIndexingInformationList( + io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder builderForValue) { + if (indexingInformationListBuilder_ == null) { + ensureIndexingInformationListIsMutable(); + indexingInformationList_.add(builderForValue.build()); + onChanged(); + } else { + indexingInformationListBuilder_.addMessage(builderForValue.build()); + } + return this; } /** - * int64 to_be_indexed_count = 3; - * @param value The toBeIndexedCount to set. - * @return This builder for chaining. + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public Builder setToBeIndexedCount(long value) { - - toBeIndexedCount_ = value; - onChanged(); + public Builder addIndexingInformationList( + int index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder builderForValue) { + if (indexingInformationListBuilder_ == null) { + ensureIndexingInformationListIsMutable(); + indexingInformationList_.add(index, builderForValue.build()); + onChanged(); + } else { + indexingInformationListBuilder_.addMessage(index, builderForValue.build()); + } return this; } /** - * int64 to_be_indexed_count = 3; - * @return This builder for chaining. + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; */ - public Builder clearToBeIndexedCount() { - - toBeIndexedCount_ = 0L; - onChanged(); + public Builder addAllIndexingInformationList( + java.lang.Iterable values) { + if (indexingInformationListBuilder_ == null) { + ensureIndexingInformationListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, indexingInformationList_); + onChanged(); + } else { + indexingInformationListBuilder_.addAllMessages(values); + } return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public Builder clearIndexingInformationList() { + if (indexingInformationListBuilder_ == null) { + indexingInformationList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + indexingInformationListBuilder_.clear(); + } + return this; } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public Builder removeIndexingInformationList(int index) { + if (indexingInformationListBuilder_ == null) { + ensureIndexingInformationListIsMutable(); + indexingInformationList_.remove(index); + onChanged(); + } else { + indexingInformationListBuilder_.remove(index); + } + return this; } - - - // @@protoc_insertion_point(builder_scope:SideChainIndexingInformation) - } - - // @@protoc_insertion_point(class_scope:SideChainIndexingInformation) - private static final io.aelf.protobuf.generated.Client.SideChainIndexingInformation DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.SideChainIndexingInformation(); - } - - public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SideChainIndexingInformation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SideChainIndexingInformation(input, extensionRegistry); + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder getIndexingInformationListBuilder( + int index) { + return getIndexingInformationListFieldBuilder().getBuilder(index); } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder getIndexingInformationListOrBuilder( + int index) { + if (indexingInformationListBuilder_ == null) { + return indexingInformationList_.get(index); } else { + return indexingInformationListBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public java.util.List + getIndexingInformationListOrBuilderList() { + if (indexingInformationListBuilder_ != null) { + return indexingInformationListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(indexingInformationList_); + } + } + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder addIndexingInformationListBuilder() { + return getIndexingInformationListFieldBuilder().addBuilder( + io.aelf.protobuf.generated.Client.SideChainIndexingInformation.getDefaultInstance()); + } + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder addIndexingInformationListBuilder( + int index) { + return getIndexingInformationListFieldBuilder().addBuilder( + index, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.getDefaultInstance()); + } + /** + *
+       * A list contains indexing information of side chains.
+       * 
+ * + * repeated .SideChainIndexingInformation indexing_information_list = 1; + */ + public java.util.List + getIndexingInformationListBuilderList() { + return getIndexingInformationListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.SideChainIndexingInformation, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder, io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder> + getIndexingInformationListFieldBuilder() { + if (indexingInformationListBuilder_ == null) { + indexingInformationListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.SideChainIndexingInformation, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder, io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder>( + indexingInformationList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + indexingInformationList_ = null; + } + return indexingInformationListBuilder_; + } + @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:SideChainIndexingInformationList) + } + + // @@protoc_insertion_point(class_scope:SideChainIndexingInformationList) + private static final io.aelf.protobuf.generated.Client.SideChainIndexingInformationList DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.SideChainIndexingInformationList(); + } + + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformationList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SideChainIndexingInformationList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SideChainIndexingInformationList(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainIndexingInformation getDefaultInstanceForType() { + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.SideChainIndexingInformationList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface CrossChainBlockDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:CrossChainBlockData) + public interface SideChainIndexingInformationOrBuilder extends + // @@protoc_insertion_point(interface_extends:SideChainIndexingInformation) com.google.protobuf.MessageOrBuilder { /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - java.util.List - getSideChainBlockDataList(); - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index); - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - int getSideChainBlockDataCount(); - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - java.util.List - getSideChainBlockDataOrBuilderList(); - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder( - int index); - - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - java.util.List - getParentChainBlockDataList(); - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - io.aelf.protobuf.generated.Client.ParentChainBlockData getParentChainBlockData(int index); - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - int getParentChainBlockDataCount(); - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - java.util.List - getParentChainBlockDataOrBuilderList(); - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; + *
+     * The side chain id.
+     * 
+ * + * int32 chain_id = 1; + * @return The chainId. */ - io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder getParentChainBlockDataOrBuilder( - int index); + int getChainId(); /** - * int64 previous_block_height = 3; - * @return The previousBlockHeight. + *
+     * The indexed height.
+     * 
+ * + * int64 indexed_height = 2; + * @return The indexedHeight. */ - long getPreviousBlockHeight(); + long getIndexedHeight(); } /** - * Protobuf type {@code CrossChainBlockData} + * Protobuf type {@code SideChainIndexingInformation} */ - public static final class CrossChainBlockData extends + public static final class SideChainIndexingInformation extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CrossChainBlockData) - CrossChainBlockDataOrBuilder { + // @@protoc_insertion_point(message_implements:SideChainIndexingInformation) + SideChainIndexingInformationOrBuilder { private static final long serialVersionUID = 0L; - // Use CrossChainBlockData.newBuilder() to construct. - private CrossChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use SideChainIndexingInformation.newBuilder() to construct. + private SideChainIndexingInformation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CrossChainBlockData() { - sideChainBlockData_ = java.util.Collections.emptyList(); - parentChainBlockData_ = java.util.Collections.emptyList(); + private SideChainIndexingInformation() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new CrossChainBlockData(); + return new SideChainIndexingInformation(); } @java.lang.Override @@ -14609,7 +17356,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private CrossChainBlockData( + private SideChainIndexingInformation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14617,7 +17364,6 @@ private CrossChainBlockData( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -14628,27 +17374,14 @@ private CrossChainBlockData( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - sideChainBlockData_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - sideChainBlockData_.add( - input.readMessage(io.aelf.protobuf.generated.Client.SideChainBlockData.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - parentChainBlockData_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - parentChainBlockData_.add( - input.readMessage(io.aelf.protobuf.generated.Client.ParentChainBlockData.parser(), extensionRegistry)); + case 8: { + + chainId_ = input.readInt32(); break; } - case 24: { + case 16: { - previousBlockHeight_ = input.readInt64(); + indexedHeight_ = input.readInt64(); break; } default: { @@ -14666,133 +17399,72 @@ private CrossChainBlockData( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - sideChainBlockData_ = java.util.Collections.unmodifiableList(sideChainBlockData_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - parentChainBlockData_ = java.util.Collections.unmodifiableList(parentChainBlockData_); - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.CrossChainBlockData.class, io.aelf.protobuf.generated.Client.CrossChainBlockData.Builder.class); + io.aelf.protobuf.generated.Client.SideChainIndexingInformation.class, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder.class); } - public static final int SIDE_CHAIN_BLOCK_DATA_FIELD_NUMBER = 1; - private java.util.List sideChainBlockData_; - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public java.util.List getSideChainBlockDataList() { - return sideChainBlockData_; - } + public static final int CHAIN_ID_FIELD_NUMBER = 1; + private int chainId_; /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+     * The side chain id.
+     * 
+ * + * int32 chain_id = 1; + * @return The chainId. */ - public java.util.List - getSideChainBlockDataOrBuilderList() { - return sideChainBlockData_; + public int getChainId() { + return chainId_; } + + public static final int INDEXED_HEIGHT_FIELD_NUMBER = 2; + private long indexedHeight_; /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+     * The indexed height.
+     * 
+ * + * int64 indexed_height = 2; + * @return The indexedHeight. */ - public int getSideChainBlockDataCount() { - return sideChainBlockData_.size(); + public long getIndexedHeight() { + return indexedHeight_; } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index) { - return sideChainBlockData_.get(index); + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder( - int index) { - return sideChainBlockData_.get(index); - } - - public static final int PARENT_CHAIN_BLOCK_DATA_FIELD_NUMBER = 2; - private java.util.List parentChainBlockData_; - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public java.util.List getParentChainBlockDataList() { - return parentChainBlockData_; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public java.util.List - getParentChainBlockDataOrBuilderList() { - return parentChainBlockData_; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public int getParentChainBlockDataCount() { - return parentChainBlockData_.size(); - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public io.aelf.protobuf.generated.Client.ParentChainBlockData getParentChainBlockData(int index) { - return parentChainBlockData_.get(index); - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder getParentChainBlockDataOrBuilder( - int index) { - return parentChainBlockData_.get(index); - } - - public static final int PREVIOUS_BLOCK_HEIGHT_FIELD_NUMBER = 3; - private long previousBlockHeight_; - /** - * int64 previous_block_height = 3; - * @return The previousBlockHeight. - */ - public long getPreviousBlockHeight() { - return previousBlockHeight_; - } - - 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 < sideChainBlockData_.size(); i++) { - output.writeMessage(1, sideChainBlockData_.get(i)); - } - for (int i = 0; i < parentChainBlockData_.size(); i++) { - output.writeMessage(2, parentChainBlockData_.get(i)); - } - if (previousBlockHeight_ != 0L) { - output.writeInt64(3, previousBlockHeight_); - } - unknownFields.writeTo(output); + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (chainId_ != 0) { + output.writeInt32(1, chainId_); + } + if (indexedHeight_ != 0L) { + output.writeInt64(2, indexedHeight_); + } + unknownFields.writeTo(output); } @java.lang.Override @@ -14801,17 +17473,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < sideChainBlockData_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, sideChainBlockData_.get(i)); - } - for (int i = 0; i < parentChainBlockData_.size(); i++) { + if (chainId_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, parentChainBlockData_.get(i)); + .computeInt32Size(1, chainId_); } - if (previousBlockHeight_ != 0L) { + if (indexedHeight_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, previousBlockHeight_); + .computeInt64Size(2, indexedHeight_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14823,17 +17491,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.CrossChainBlockData)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.SideChainIndexingInformation)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.CrossChainBlockData other = (io.aelf.protobuf.generated.Client.CrossChainBlockData) obj; + io.aelf.protobuf.generated.Client.SideChainIndexingInformation other = (io.aelf.protobuf.generated.Client.SideChainIndexingInformation) obj; - if (!getSideChainBlockDataList() - .equals(other.getSideChainBlockDataList())) return false; - if (!getParentChainBlockDataList() - .equals(other.getParentChainBlockDataList())) return false; - if (getPreviousBlockHeight() - != other.getPreviousBlockHeight()) return false; + if (getChainId() + != other.getChainId()) return false; + if (getIndexedHeight() + != other.getIndexedHeight()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14845,85 +17511,79 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getSideChainBlockDataCount() > 0) { - hash = (37 * hash) + SIDE_CHAIN_BLOCK_DATA_FIELD_NUMBER; - hash = (53 * hash) + getSideChainBlockDataList().hashCode(); - } - if (getParentChainBlockDataCount() > 0) { - hash = (37 * hash) + PARENT_CHAIN_BLOCK_DATA_FIELD_NUMBER; - hash = (53 * hash) + getParentChainBlockDataList().hashCode(); - } - hash = (37 * hash) + PREVIOUS_BLOCK_HEIGHT_FIELD_NUMBER; + hash = (37 * hash) + CHAIN_ID_FIELD_NUMBER; + hash = (53 * hash) + getChainId(); + hash = (37 * hash) + INDEXED_HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPreviousBlockHeight()); + getIndexedHeight()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation 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 io.aelf.protobuf.generated.Client.CrossChainBlockData parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation 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 io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -14936,7 +17596,7 @@ public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.CrossChainBlockData prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.SideChainIndexingInformation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -14952,26 +17612,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code CrossChainBlockData} + * Protobuf type {@code SideChainIndexingInformation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CrossChainBlockData) - io.aelf.protobuf.generated.Client.CrossChainBlockDataOrBuilder { + // @@protoc_insertion_point(builder_implements:SideChainIndexingInformation) + io.aelf.protobuf.generated.Client.SideChainIndexingInformationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.CrossChainBlockData.class, io.aelf.protobuf.generated.Client.CrossChainBlockData.Builder.class); + io.aelf.protobuf.generated.Client.SideChainIndexingInformation.class, io.aelf.protobuf.generated.Client.SideChainIndexingInformation.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.CrossChainBlockData.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.SideChainIndexingInformation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -14984,26 +17644,14 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getSideChainBlockDataFieldBuilder(); - getParentChainBlockDataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (sideChainBlockDataBuilder_ == null) { - sideChainBlockData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - sideChainBlockDataBuilder_.clear(); - } - if (parentChainBlockDataBuilder_ == null) { - parentChainBlockData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - parentChainBlockDataBuilder_.clear(); - } - previousBlockHeight_ = 0L; + chainId_ = 0; + + indexedHeight_ = 0L; return this; } @@ -15011,17 +17659,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_SideChainIndexingInformation_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainBlockData getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.CrossChainBlockData.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.SideChainIndexingInformation getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.SideChainIndexingInformation.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainBlockData build() { - io.aelf.protobuf.generated.Client.CrossChainBlockData result = buildPartial(); + public io.aelf.protobuf.generated.Client.SideChainIndexingInformation build() { + io.aelf.protobuf.generated.Client.SideChainIndexingInformation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15029,28 +17677,10 @@ public io.aelf.protobuf.generated.Client.CrossChainBlockData build() { } @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainBlockData buildPartial() { - io.aelf.protobuf.generated.Client.CrossChainBlockData result = new io.aelf.protobuf.generated.Client.CrossChainBlockData(this); - int from_bitField0_ = bitField0_; - if (sideChainBlockDataBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - sideChainBlockData_ = java.util.Collections.unmodifiableList(sideChainBlockData_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.sideChainBlockData_ = sideChainBlockData_; - } else { - result.sideChainBlockData_ = sideChainBlockDataBuilder_.build(); - } - if (parentChainBlockDataBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - parentChainBlockData_ = java.util.Collections.unmodifiableList(parentChainBlockData_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.parentChainBlockData_ = parentChainBlockData_; - } else { - result.parentChainBlockData_ = parentChainBlockDataBuilder_.build(); - } - result.previousBlockHeight_ = previousBlockHeight_; + public io.aelf.protobuf.generated.Client.SideChainIndexingInformation buildPartial() { + io.aelf.protobuf.generated.Client.SideChainIndexingInformation result = new io.aelf.protobuf.generated.Client.SideChainIndexingInformation(this); + result.chainId_ = chainId_; + result.indexedHeight_ = indexedHeight_; onBuilt(); return result; } @@ -15089,70 +17719,21 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.CrossChainBlockData) { - return mergeFrom((io.aelf.protobuf.generated.Client.CrossChainBlockData)other); + if (other instanceof io.aelf.protobuf.generated.Client.SideChainIndexingInformation) { + return mergeFrom((io.aelf.protobuf.generated.Client.SideChainIndexingInformation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.CrossChainBlockData other) { - if (other == io.aelf.protobuf.generated.Client.CrossChainBlockData.getDefaultInstance()) return this; - if (sideChainBlockDataBuilder_ == null) { - if (!other.sideChainBlockData_.isEmpty()) { - if (sideChainBlockData_.isEmpty()) { - sideChainBlockData_ = other.sideChainBlockData_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.addAll(other.sideChainBlockData_); - } - onChanged(); - } - } else { - if (!other.sideChainBlockData_.isEmpty()) { - if (sideChainBlockDataBuilder_.isEmpty()) { - sideChainBlockDataBuilder_.dispose(); - sideChainBlockDataBuilder_ = null; - sideChainBlockData_ = other.sideChainBlockData_; - bitField0_ = (bitField0_ & ~0x00000001); - sideChainBlockDataBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSideChainBlockDataFieldBuilder() : null; - } else { - sideChainBlockDataBuilder_.addAllMessages(other.sideChainBlockData_); - } - } - } - if (parentChainBlockDataBuilder_ == null) { - if (!other.parentChainBlockData_.isEmpty()) { - if (parentChainBlockData_.isEmpty()) { - parentChainBlockData_ = other.parentChainBlockData_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureParentChainBlockDataIsMutable(); - parentChainBlockData_.addAll(other.parentChainBlockData_); - } - onChanged(); - } - } else { - if (!other.parentChainBlockData_.isEmpty()) { - if (parentChainBlockDataBuilder_.isEmpty()) { - parentChainBlockDataBuilder_.dispose(); - parentChainBlockDataBuilder_ = null; - parentChainBlockData_ = other.parentChainBlockData_; - bitField0_ = (bitField0_ & ~0x00000002); - parentChainBlockDataBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getParentChainBlockDataFieldBuilder() : null; - } else { - parentChainBlockDataBuilder_.addAllMessages(other.parentChainBlockData_); - } - } + public Builder mergeFrom(io.aelf.protobuf.generated.Client.SideChainIndexingInformation other) { + if (other == io.aelf.protobuf.generated.Client.SideChainIndexingInformation.getDefaultInstance()) return this; + if (other.getChainId() != 0) { + setChainId(other.getChainId()); } - if (other.getPreviousBlockHeight() != 0L) { - setPreviousBlockHeight(other.getPreviousBlockHeight()); + if (other.getIndexedHeight() != 0L) { + setIndexedHeight(other.getIndexedHeight()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -15169,11 +17750,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.CrossChainBlockData parsedMessage = null; + io.aelf.protobuf.generated.Client.SideChainIndexingInformation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.CrossChainBlockData) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.SideChainIndexingInformation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15182,514 +17763,87 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - - private java.util.List sideChainBlockData_ = - java.util.Collections.emptyList(); - private void ensureSideChainBlockDataIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - sideChainBlockData_ = new java.util.ArrayList(sideChainBlockData_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.SideChainBlockData, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder, io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> sideChainBlockDataBuilder_; + private int chainId_ ; /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+       * The side chain id.
+       * 
+ * + * int32 chain_id = 1; + * @return The chainId. */ - public java.util.List getSideChainBlockDataList() { - if (sideChainBlockDataBuilder_ == null) { - return java.util.Collections.unmodifiableList(sideChainBlockData_); - } else { - return sideChainBlockDataBuilder_.getMessageList(); - } + public int getChainId() { + return chainId_; } /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+       * The side chain id.
+       * 
+ * + * int32 chain_id = 1; + * @param value The chainId to set. + * @return This builder for chaining. */ - public int getSideChainBlockDataCount() { - if (sideChainBlockDataBuilder_ == null) { - return sideChainBlockData_.size(); - } else { - return sideChainBlockDataBuilder_.getCount(); - } + public Builder setChainId(int value) { + + chainId_ = value; + onChanged(); + return this; } /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+       * The side chain id.
+       * 
+ * + * int32 chain_id = 1; + * @return This builder for chaining. */ - public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index) { - if (sideChainBlockDataBuilder_ == null) { - return sideChainBlockData_.get(index); - } else { - return sideChainBlockDataBuilder_.getMessage(index); - } + public Builder clearChainId() { + + chainId_ = 0; + onChanged(); + return this; } + + private long indexedHeight_ ; /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+       * The indexed height.
+       * 
+ * + * int64 indexed_height = 2; + * @return The indexedHeight. */ - public Builder setSideChainBlockData( - int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) { - if (sideChainBlockDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.set(index, value); - onChanged(); - } else { - sideChainBlockDataBuilder_.setMessage(index, value); - } - return this; + public long getIndexedHeight() { + return indexedHeight_; } /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+       * The indexed height.
+       * 
+ * + * int64 indexed_height = 2; + * @param value The indexedHeight to set. + * @return This builder for chaining. */ - public Builder setSideChainBlockData( - int index, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder builderForValue) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.set(index, builderForValue.build()); - onChanged(); - } else { - sideChainBlockDataBuilder_.setMessage(index, builderForValue.build()); - } + public Builder setIndexedHeight(long value) { + + indexedHeight_ = value; + onChanged(); return this; } /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addSideChainBlockData(io.aelf.protobuf.generated.Client.SideChainBlockData value) { - if (sideChainBlockDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.add(value); - onChanged(); - } else { - sideChainBlockDataBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addSideChainBlockData( - int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) { - if (sideChainBlockDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.add(index, value); - onChanged(); - } else { - sideChainBlockDataBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addSideChainBlockData( - io.aelf.protobuf.generated.Client.SideChainBlockData.Builder builderForValue) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.add(builderForValue.build()); - onChanged(); - } else { - sideChainBlockDataBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addSideChainBlockData( - int index, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder builderForValue) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.add(index, builderForValue.build()); - onChanged(); - } else { - sideChainBlockDataBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addAllSideChainBlockData( - java.lang.Iterable values) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sideChainBlockData_); - onChanged(); - } else { - sideChainBlockDataBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder clearSideChainBlockData() { - if (sideChainBlockDataBuilder_ == null) { - sideChainBlockData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - sideChainBlockDataBuilder_.clear(); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder removeSideChainBlockData(int index) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.remove(index); - onChanged(); - } else { - sideChainBlockDataBuilder_.remove(index); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder getSideChainBlockDataBuilder( - int index) { - return getSideChainBlockDataFieldBuilder().getBuilder(index); - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder( - int index) { - if (sideChainBlockDataBuilder_ == null) { - return sideChainBlockData_.get(index); } else { - return sideChainBlockDataBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public java.util.List - getSideChainBlockDataOrBuilderList() { - if (sideChainBlockDataBuilder_ != null) { - return sideChainBlockDataBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(sideChainBlockData_); - } - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataBuilder() { - return getSideChainBlockDataFieldBuilder().addBuilder( - io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance()); - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataBuilder( - int index) { - return getSideChainBlockDataFieldBuilder().addBuilder( - index, io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance()); - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public java.util.List - getSideChainBlockDataBuilderList() { - return getSideChainBlockDataFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.SideChainBlockData, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder, io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> - getSideChainBlockDataFieldBuilder() { - if (sideChainBlockDataBuilder_ == null) { - sideChainBlockDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.SideChainBlockData, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder, io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder>( - sideChainBlockData_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - sideChainBlockData_ = null; - } - return sideChainBlockDataBuilder_; - } - - private java.util.List parentChainBlockData_ = - java.util.Collections.emptyList(); - private void ensureParentChainBlockDataIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - parentChainBlockData_ = new java.util.ArrayList(parentChainBlockData_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.ParentChainBlockData, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder, io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder> parentChainBlockDataBuilder_; - - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public java.util.List getParentChainBlockDataList() { - if (parentChainBlockDataBuilder_ == null) { - return java.util.Collections.unmodifiableList(parentChainBlockData_); - } else { - return parentChainBlockDataBuilder_.getMessageList(); - } - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public int getParentChainBlockDataCount() { - if (parentChainBlockDataBuilder_ == null) { - return parentChainBlockData_.size(); - } else { - return parentChainBlockDataBuilder_.getCount(); - } - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public io.aelf.protobuf.generated.Client.ParentChainBlockData getParentChainBlockData(int index) { - if (parentChainBlockDataBuilder_ == null) { - return parentChainBlockData_.get(index); - } else { - return parentChainBlockDataBuilder_.getMessage(index); - } - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public Builder setParentChainBlockData( - int index, io.aelf.protobuf.generated.Client.ParentChainBlockData value) { - if (parentChainBlockDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParentChainBlockDataIsMutable(); - parentChainBlockData_.set(index, value); - onChanged(); - } else { - parentChainBlockDataBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public Builder setParentChainBlockData( - int index, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder builderForValue) { - if (parentChainBlockDataBuilder_ == null) { - ensureParentChainBlockDataIsMutable(); - parentChainBlockData_.set(index, builderForValue.build()); - onChanged(); - } else { - parentChainBlockDataBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public Builder addParentChainBlockData(io.aelf.protobuf.generated.Client.ParentChainBlockData value) { - if (parentChainBlockDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParentChainBlockDataIsMutable(); - parentChainBlockData_.add(value); - onChanged(); - } else { - parentChainBlockDataBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public Builder addParentChainBlockData( - int index, io.aelf.protobuf.generated.Client.ParentChainBlockData value) { - if (parentChainBlockDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParentChainBlockDataIsMutable(); - parentChainBlockData_.add(index, value); - onChanged(); - } else { - parentChainBlockDataBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public Builder addParentChainBlockData( - io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder builderForValue) { - if (parentChainBlockDataBuilder_ == null) { - ensureParentChainBlockDataIsMutable(); - parentChainBlockData_.add(builderForValue.build()); - onChanged(); - } else { - parentChainBlockDataBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public Builder addParentChainBlockData( - int index, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder builderForValue) { - if (parentChainBlockDataBuilder_ == null) { - ensureParentChainBlockDataIsMutable(); - parentChainBlockData_.add(index, builderForValue.build()); - onChanged(); - } else { - parentChainBlockDataBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public Builder addAllParentChainBlockData( - java.lang.Iterable values) { - if (parentChainBlockDataBuilder_ == null) { - ensureParentChainBlockDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, parentChainBlockData_); - onChanged(); - } else { - parentChainBlockDataBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public Builder clearParentChainBlockData() { - if (parentChainBlockDataBuilder_ == null) { - parentChainBlockData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - parentChainBlockDataBuilder_.clear(); - } - return this; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public Builder removeParentChainBlockData(int index) { - if (parentChainBlockDataBuilder_ == null) { - ensureParentChainBlockDataIsMutable(); - parentChainBlockData_.remove(index); - onChanged(); - } else { - parentChainBlockDataBuilder_.remove(index); - } - return this; - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder getParentChainBlockDataBuilder( - int index) { - return getParentChainBlockDataFieldBuilder().getBuilder(index); - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder getParentChainBlockDataOrBuilder( - int index) { - if (parentChainBlockDataBuilder_ == null) { - return parentChainBlockData_.get(index); } else { - return parentChainBlockDataBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public java.util.List - getParentChainBlockDataOrBuilderList() { - if (parentChainBlockDataBuilder_ != null) { - return parentChainBlockDataBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(parentChainBlockData_); - } - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder addParentChainBlockDataBuilder() { - return getParentChainBlockDataFieldBuilder().addBuilder( - io.aelf.protobuf.generated.Client.ParentChainBlockData.getDefaultInstance()); - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder addParentChainBlockDataBuilder( - int index) { - return getParentChainBlockDataFieldBuilder().addBuilder( - index, io.aelf.protobuf.generated.Client.ParentChainBlockData.getDefaultInstance()); - } - /** - * repeated .ParentChainBlockData parent_chain_block_data = 2; - */ - public java.util.List - getParentChainBlockDataBuilderList() { - return getParentChainBlockDataFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.ParentChainBlockData, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder, io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder> - getParentChainBlockDataFieldBuilder() { - if (parentChainBlockDataBuilder_ == null) { - parentChainBlockDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.ParentChainBlockData, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder, io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder>( - parentChainBlockData_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - parentChainBlockData_ = null; - } - return parentChainBlockDataBuilder_; - } - - private long previousBlockHeight_ ; - /** - * int64 previous_block_height = 3; - * @return The previousBlockHeight. - */ - public long getPreviousBlockHeight() { - return previousBlockHeight_; - } - /** - * int64 previous_block_height = 3; - * @param value The previousBlockHeight to set. - * @return This builder for chaining. - */ - public Builder setPreviousBlockHeight(long value) { - - previousBlockHeight_ = value; - onChanged(); - return this; - } - /** - * int64 previous_block_height = 3; + *
+       * The indexed height.
+       * 
+ * + * int64 indexed_height = 2; * @return This builder for chaining. */ - public Builder clearPreviousBlockHeight() { + public Builder clearIndexedHeight() { - previousBlockHeight_ = 0L; + indexedHeight_ = 0L; onChanged(); return this; } @@ -15706,112 +17860,160 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:CrossChainBlockData) + // @@protoc_insertion_point(builder_scope:SideChainIndexingInformation) } - // @@protoc_insertion_point(class_scope:CrossChainBlockData) - private static final io.aelf.protobuf.generated.Client.CrossChainBlockData DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:SideChainIndexingInformation) + private static final io.aelf.protobuf.generated.Client.SideChainIndexingInformation DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.CrossChainBlockData(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.SideChainIndexingInformation(); } - public static io.aelf.protobuf.generated.Client.CrossChainBlockData getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.SideChainIndexingInformation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public CrossChainBlockData parsePartialFrom( + public SideChainIndexingInformation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CrossChainBlockData(input, extensionRegistry); + return new SideChainIndexingInformation(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainBlockData getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.SideChainIndexingInformation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface SideChainBlockDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:SideChainBlockData) + public interface CrossChainBlockDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:CrossChainBlockData) com.google.protobuf.MessageOrBuilder { /** - * int64 height = 1; - * @return The height. + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - long getHeight(); - + java.util.List + getSideChainBlockDataListList(); /** - * .Hash block_header_hash = 2; - * @return Whether the blockHeaderHash field is set. + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - boolean hasBlockHeaderHash(); + io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockDataList(int index); /** - * .Hash block_header_hash = 2; - * @return The blockHeaderHash. + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - io.aelf.protobuf.generated.Client.Hash getBlockHeaderHash(); + int getSideChainBlockDataListCount(); /** - * .Hash block_header_hash = 2; + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHeaderHashOrBuilder(); + java.util.List + getSideChainBlockDataListOrBuilderList(); + /** + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataListOrBuilder( + int index); /** - * .Hash transaction_status_merkle_tree_root = 3; - * @return Whether the transactionStatusMerkleTreeRoot field is set. + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - boolean hasTransactionStatusMerkleTreeRoot(); + java.util.List + getParentChainBlockDataListList(); /** - * .Hash transaction_status_merkle_tree_root = 3; - * @return The transactionStatusMerkleTreeRoot. + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot(); + io.aelf.protobuf.generated.Client.ParentChainBlockData getParentChainBlockDataList(int index); /** - * .Hash transaction_status_merkle_tree_root = 3; + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder(); - + int getParentChainBlockDataListCount(); /** - * int32 chain_id = 4; - * @return The chainId. + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - int getChainId(); + java.util.List + getParentChainBlockDataListOrBuilderList(); + /** + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; + */ + io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder getParentChainBlockDataListOrBuilder( + int index); } /** - * Protobuf type {@code SideChainBlockData} + * Protobuf type {@code CrossChainBlockData} */ - public static final class SideChainBlockData extends + public static final class CrossChainBlockData extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:SideChainBlockData) - SideChainBlockDataOrBuilder { + // @@protoc_insertion_point(message_implements:CrossChainBlockData) + CrossChainBlockDataOrBuilder { private static final long serialVersionUID = 0L; - // Use SideChainBlockData.newBuilder() to construct. - private SideChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use CrossChainBlockData.newBuilder() to construct. + private CrossChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SideChainBlockData() { + private CrossChainBlockData() { + sideChainBlockDataList_ = java.util.Collections.emptyList(); + parentChainBlockDataList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new SideChainBlockData(); + return new CrossChainBlockData(); } @java.lang.Override @@ -15819,7 +18021,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private SideChainBlockData( + private CrossChainBlockData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -15827,6 +18029,7 @@ private SideChainBlockData( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -15837,40 +18040,22 @@ private SideChainBlockData( case 0: done = true; break; - case 8: { - - height_ = input.readInt64(); - break; - } - case 18: { - io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; - if (blockHeaderHash_ != null) { - subBuilder = blockHeaderHash_.toBuilder(); - } - blockHeaderHash_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(blockHeaderHash_); - blockHeaderHash_ = subBuilder.buildPartial(); + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + sideChainBlockDataList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - + sideChainBlockDataList_.add( + input.readMessage(io.aelf.protobuf.generated.Client.SideChainBlockData.parser(), extensionRegistry)); break; } - case 26: { - io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; - if (transactionStatusMerkleTreeRoot_ != null) { - subBuilder = transactionStatusMerkleTreeRoot_.toBuilder(); - } - transactionStatusMerkleTreeRoot_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transactionStatusMerkleTreeRoot_); - transactionStatusMerkleTreeRoot_ = subBuilder.buildPartial(); + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + parentChainBlockDataList_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - - break; - } - case 32: { - - chainId_ = input.readInt32(); + parentChainBlockDataList_.add( + input.readMessage(io.aelf.protobuf.generated.Client.ParentChainBlockData.parser(), extensionRegistry)); break; } default: { @@ -15888,87 +18073,137 @@ private SideChainBlockData( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + sideChainBlockDataList_ = java.util.Collections.unmodifiableList(sideChainBlockDataList_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + parentChainBlockDataList_ = java.util.Collections.unmodifiableList(parentChainBlockDataList_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.SideChainBlockData.class, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder.class); + io.aelf.protobuf.generated.Client.CrossChainBlockData.class, io.aelf.protobuf.generated.Client.CrossChainBlockData.Builder.class); } - public static final int HEIGHT_FIELD_NUMBER = 1; - private long height_; + public static final int SIDE_CHAIN_BLOCK_DATA_LIST_FIELD_NUMBER = 1; + private java.util.List sideChainBlockDataList_; /** - * int64 height = 1; - * @return The height. + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public long getHeight() { - return height_; + public java.util.List getSideChainBlockDataListList() { + return sideChainBlockDataList_; } - - public static final int BLOCK_HEADER_HASH_FIELD_NUMBER = 2; - private io.aelf.protobuf.generated.Client.Hash blockHeaderHash_; /** - * .Hash block_header_hash = 2; - * @return Whether the blockHeaderHash field is set. + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public boolean hasBlockHeaderHash() { - return blockHeaderHash_ != null; + public java.util.List + getSideChainBlockDataListOrBuilderList() { + return sideChainBlockDataList_; } /** - * .Hash block_header_hash = 2; - * @return The blockHeaderHash. + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public io.aelf.protobuf.generated.Client.Hash getBlockHeaderHash() { - return blockHeaderHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHeaderHash_; + public int getSideChainBlockDataListCount() { + return sideChainBlockDataList_.size(); } /** - * .Hash block_header_hash = 2; + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHeaderHashOrBuilder() { - return getBlockHeaderHash(); + public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockDataList(int index) { + return sideChainBlockDataList_.get(index); + } + /** + *
+     * The side chain block data list to index.
+     * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataListOrBuilder( + int index) { + return sideChainBlockDataList_.get(index); } - public static final int TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER = 3; - private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; + public static final int PARENT_CHAIN_BLOCK_DATA_LIST_FIELD_NUMBER = 2; + private java.util.List parentChainBlockDataList_; /** - * .Hash transaction_status_merkle_tree_root = 3; - * @return Whether the transactionStatusMerkleTreeRoot field is set. + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public boolean hasTransactionStatusMerkleTreeRoot() { - return transactionStatusMerkleTreeRoot_ != null; + public java.util.List getParentChainBlockDataListList() { + return parentChainBlockDataList_; } /** - * .Hash transaction_status_merkle_tree_root = 3; - * @return The transactionStatusMerkleTreeRoot. + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { - return transactionStatusMerkleTreeRoot_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + public java.util.List + getParentChainBlockDataListOrBuilderList() { + return parentChainBlockDataList_; } /** - * .Hash transaction_status_merkle_tree_root = 3; + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { - return getTransactionStatusMerkleTreeRoot(); + public int getParentChainBlockDataListCount() { + return parentChainBlockDataList_.size(); } - - public static final int CHAIN_ID_FIELD_NUMBER = 4; - private int chainId_; /** - * int32 chain_id = 4; - * @return The chainId. + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public int getChainId() { - return chainId_; + public io.aelf.protobuf.generated.Client.ParentChainBlockData getParentChainBlockDataList(int index) { + return parentChainBlockDataList_.get(index); + } + /** + *
+     * The parent chain block data list to index.
+     * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; + */ + public io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder getParentChainBlockDataListOrBuilder( + int index) { + return parentChainBlockDataList_.get(index); } private byte memoizedIsInitialized = -1; @@ -15985,17 +18220,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (height_ != 0L) { - output.writeInt64(1, height_); - } - if (blockHeaderHash_ != null) { - output.writeMessage(2, getBlockHeaderHash()); - } - if (transactionStatusMerkleTreeRoot_ != null) { - output.writeMessage(3, getTransactionStatusMerkleTreeRoot()); + for (int i = 0; i < sideChainBlockDataList_.size(); i++) { + output.writeMessage(1, sideChainBlockDataList_.get(i)); } - if (chainId_ != 0) { - output.writeInt32(4, chainId_); + for (int i = 0; i < parentChainBlockDataList_.size(); i++) { + output.writeMessage(2, parentChainBlockDataList_.get(i)); } unknownFields.writeTo(output); } @@ -16006,21 +18235,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (height_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, height_); - } - if (blockHeaderHash_ != null) { + for (int i = 0; i < sideChainBlockDataList_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getBlockHeaderHash()); - } - if (transactionStatusMerkleTreeRoot_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTransactionStatusMerkleTreeRoot()); + .computeMessageSize(1, sideChainBlockDataList_.get(i)); } - if (chainId_ != 0) { + for (int i = 0; i < parentChainBlockDataList_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, chainId_); + .computeMessageSize(2, parentChainBlockDataList_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16032,25 +18253,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.SideChainBlockData)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.CrossChainBlockData)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.SideChainBlockData other = (io.aelf.protobuf.generated.Client.SideChainBlockData) obj; + io.aelf.protobuf.generated.Client.CrossChainBlockData other = (io.aelf.protobuf.generated.Client.CrossChainBlockData) obj; - if (getHeight() - != other.getHeight()) return false; - if (hasBlockHeaderHash() != other.hasBlockHeaderHash()) return false; - if (hasBlockHeaderHash()) { - if (!getBlockHeaderHash() - .equals(other.getBlockHeaderHash())) return false; - } - if (hasTransactionStatusMerkleTreeRoot() != other.hasTransactionStatusMerkleTreeRoot()) return false; - if (hasTransactionStatusMerkleTreeRoot()) { - if (!getTransactionStatusMerkleTreeRoot() - .equals(other.getTransactionStatusMerkleTreeRoot())) return false; - } - if (getChainId() - != other.getChainId()) return false; + if (!getSideChainBlockDataListList() + .equals(other.getSideChainBlockDataListList())) return false; + if (!getParentChainBlockDataListList() + .equals(other.getParentChainBlockDataListList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16062,87 +18273,82 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + HEIGHT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getHeight()); - if (hasBlockHeaderHash()) { - hash = (37 * hash) + BLOCK_HEADER_HASH_FIELD_NUMBER; - hash = (53 * hash) + getBlockHeaderHash().hashCode(); + if (getSideChainBlockDataListCount() > 0) { + hash = (37 * hash) + SIDE_CHAIN_BLOCK_DATA_LIST_FIELD_NUMBER; + hash = (53 * hash) + getSideChainBlockDataListList().hashCode(); } - if (hasTransactionStatusMerkleTreeRoot()) { - hash = (37 * hash) + TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER; - hash = (53 * hash) + getTransactionStatusMerkleTreeRoot().hashCode(); + if (getParentChainBlockDataListCount() > 0) { + hash = (37 * hash) + PARENT_CHAIN_BLOCK_DATA_LIST_FIELD_NUMBER; + hash = (53 * hash) + getParentChainBlockDataListList().hashCode(); } - hash = (37 * hash) + CHAIN_ID_FIELD_NUMBER; - hash = (53 * hash) + getChainId(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.CrossChainBlockData 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 io.aelf.protobuf.generated.Client.SideChainBlockData parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.CrossChainBlockData 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 io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.CrossChainBlockData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -16155,7 +18361,7 @@ public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.SideChainBlockData prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.CrossChainBlockData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -16171,26 +18377,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code SideChainBlockData} + * Protobuf type {@code CrossChainBlockData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:SideChainBlockData) - io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder { + // @@protoc_insertion_point(builder_implements:CrossChainBlockData) + io.aelf.protobuf.generated.Client.CrossChainBlockDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.SideChainBlockData.class, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder.class); + io.aelf.protobuf.generated.Client.CrossChainBlockData.class, io.aelf.protobuf.generated.Client.CrossChainBlockData.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.SideChainBlockData.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.CrossChainBlockData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -16203,44 +18409,42 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getSideChainBlockDataListFieldBuilder(); + getParentChainBlockDataListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - height_ = 0L; - - if (blockHeaderHashBuilder_ == null) { - blockHeaderHash_ = null; + if (sideChainBlockDataListBuilder_ == null) { + sideChainBlockDataList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); } else { - blockHeaderHash_ = null; - blockHeaderHashBuilder_ = null; + sideChainBlockDataListBuilder_.clear(); } - if (transactionStatusMerkleTreeRootBuilder_ == null) { - transactionStatusMerkleTreeRoot_ = null; + if (parentChainBlockDataListBuilder_ == null) { + parentChainBlockDataList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); } else { - transactionStatusMerkleTreeRoot_ = null; - transactionStatusMerkleTreeRootBuilder_ = null; + parentChainBlockDataListBuilder_.clear(); } - chainId_ = 0; - return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_CrossChainBlockData_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainBlockData getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.CrossChainBlockData getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.CrossChainBlockData.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainBlockData build() { - io.aelf.protobuf.generated.Client.SideChainBlockData result = buildPartial(); + public io.aelf.protobuf.generated.Client.CrossChainBlockData build() { + io.aelf.protobuf.generated.Client.CrossChainBlockData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16248,20 +18452,27 @@ public io.aelf.protobuf.generated.Client.SideChainBlockData build() { } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainBlockData buildPartial() { - io.aelf.protobuf.generated.Client.SideChainBlockData result = new io.aelf.protobuf.generated.Client.SideChainBlockData(this); - result.height_ = height_; - if (blockHeaderHashBuilder_ == null) { - result.blockHeaderHash_ = blockHeaderHash_; + public io.aelf.protobuf.generated.Client.CrossChainBlockData buildPartial() { + io.aelf.protobuf.generated.Client.CrossChainBlockData result = new io.aelf.protobuf.generated.Client.CrossChainBlockData(this); + int from_bitField0_ = bitField0_; + if (sideChainBlockDataListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + sideChainBlockDataList_ = java.util.Collections.unmodifiableList(sideChainBlockDataList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.sideChainBlockDataList_ = sideChainBlockDataList_; } else { - result.blockHeaderHash_ = blockHeaderHashBuilder_.build(); + result.sideChainBlockDataList_ = sideChainBlockDataListBuilder_.build(); } - if (transactionStatusMerkleTreeRootBuilder_ == null) { - result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRoot_; + if (parentChainBlockDataListBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + parentChainBlockDataList_ = java.util.Collections.unmodifiableList(parentChainBlockDataList_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.parentChainBlockDataList_ = parentChainBlockDataList_; } else { - result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRootBuilder_.build(); + result.parentChainBlockDataList_ = parentChainBlockDataListBuilder_.build(); } - result.chainId_ = chainId_; onBuilt(); return result; } @@ -16300,27 +18511,67 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.SideChainBlockData) { - return mergeFrom((io.aelf.protobuf.generated.Client.SideChainBlockData)other); + if (other instanceof io.aelf.protobuf.generated.Client.CrossChainBlockData) { + return mergeFrom((io.aelf.protobuf.generated.Client.CrossChainBlockData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.SideChainBlockData other) { - if (other == io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance()) return this; - if (other.getHeight() != 0L) { - setHeight(other.getHeight()); - } - if (other.hasBlockHeaderHash()) { - mergeBlockHeaderHash(other.getBlockHeaderHash()); - } - if (other.hasTransactionStatusMerkleTreeRoot()) { - mergeTransactionStatusMerkleTreeRoot(other.getTransactionStatusMerkleTreeRoot()); + public Builder mergeFrom(io.aelf.protobuf.generated.Client.CrossChainBlockData other) { + if (other == io.aelf.protobuf.generated.Client.CrossChainBlockData.getDefaultInstance()) return this; + if (sideChainBlockDataListBuilder_ == null) { + if (!other.sideChainBlockDataList_.isEmpty()) { + if (sideChainBlockDataList_.isEmpty()) { + sideChainBlockDataList_ = other.sideChainBlockDataList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSideChainBlockDataListIsMutable(); + sideChainBlockDataList_.addAll(other.sideChainBlockDataList_); + } + onChanged(); + } + } else { + if (!other.sideChainBlockDataList_.isEmpty()) { + if (sideChainBlockDataListBuilder_.isEmpty()) { + sideChainBlockDataListBuilder_.dispose(); + sideChainBlockDataListBuilder_ = null; + sideChainBlockDataList_ = other.sideChainBlockDataList_; + bitField0_ = (bitField0_ & ~0x00000001); + sideChainBlockDataListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSideChainBlockDataListFieldBuilder() : null; + } else { + sideChainBlockDataListBuilder_.addAllMessages(other.sideChainBlockDataList_); + } + } } - if (other.getChainId() != 0) { - setChainId(other.getChainId()); + if (parentChainBlockDataListBuilder_ == null) { + if (!other.parentChainBlockDataList_.isEmpty()) { + if (parentChainBlockDataList_.isEmpty()) { + parentChainBlockDataList_ = other.parentChainBlockDataList_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureParentChainBlockDataListIsMutable(); + parentChainBlockDataList_.addAll(other.parentChainBlockDataList_); + } + onChanged(); + } + } else { + if (!other.parentChainBlockDataList_.isEmpty()) { + if (parentChainBlockDataListBuilder_.isEmpty()) { + parentChainBlockDataListBuilder_.dispose(); + parentChainBlockDataListBuilder_ = null; + parentChainBlockDataList_ = other.parentChainBlockDataList_; + bitField0_ = (bitField0_ & ~0x00000002); + parentChainBlockDataListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getParentChainBlockDataListFieldBuilder() : null; + } else { + parentChainBlockDataListBuilder_.addAllMessages(other.parentChainBlockDataList_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -16337,11 +18588,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.SideChainBlockData parsedMessage = null; + io.aelf.protobuf.generated.Client.CrossChainBlockData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.SideChainBlockData) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.CrossChainBlockData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16350,303 +18601,630 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private long height_ ; - /** - * int64 height = 1; - * @return The height. - */ - public long getHeight() { - return height_; - } - /** - * int64 height = 1; - * @param value The height to set. - * @return This builder for chaining. - */ - public Builder setHeight(long value) { - - height_ = value; - onChanged(); - return this; + private java.util.List sideChainBlockDataList_ = + java.util.Collections.emptyList(); + private void ensureSideChainBlockDataListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + sideChainBlockDataList_ = new java.util.ArrayList(sideChainBlockDataList_); + bitField0_ |= 0x00000001; + } } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.SideChainBlockData, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder, io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> sideChainBlockDataListBuilder_; + /** - * int64 height = 1; - * @return This builder for chaining. + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public Builder clearHeight() { - - height_ = 0L; - onChanged(); - return this; + public java.util.List getSideChainBlockDataListList() { + if (sideChainBlockDataListBuilder_ == null) { + return java.util.Collections.unmodifiableList(sideChainBlockDataList_); + } else { + return sideChainBlockDataListBuilder_.getMessageList(); + } } - - private io.aelf.protobuf.generated.Client.Hash blockHeaderHash_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> blockHeaderHashBuilder_; /** - * .Hash block_header_hash = 2; - * @return Whether the blockHeaderHash field is set. + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public boolean hasBlockHeaderHash() { - return blockHeaderHashBuilder_ != null || blockHeaderHash_ != null; + public int getSideChainBlockDataListCount() { + if (sideChainBlockDataListBuilder_ == null) { + return sideChainBlockDataList_.size(); + } else { + return sideChainBlockDataListBuilder_.getCount(); + } } /** - * .Hash block_header_hash = 2; - * @return The blockHeaderHash. + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public io.aelf.protobuf.generated.Client.Hash getBlockHeaderHash() { - if (blockHeaderHashBuilder_ == null) { - return blockHeaderHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHeaderHash_; + public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockDataList(int index) { + if (sideChainBlockDataListBuilder_ == null) { + return sideChainBlockDataList_.get(index); } else { - return blockHeaderHashBuilder_.getMessage(); + return sideChainBlockDataListBuilder_.getMessage(index); } } /** - * .Hash block_header_hash = 2; + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public Builder setBlockHeaderHash(io.aelf.protobuf.generated.Client.Hash value) { - if (blockHeaderHashBuilder_ == null) { + public Builder setSideChainBlockDataList( + int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) { + if (sideChainBlockDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - blockHeaderHash_ = value; + ensureSideChainBlockDataListIsMutable(); + sideChainBlockDataList_.set(index, value); onChanged(); } else { - blockHeaderHashBuilder_.setMessage(value); + sideChainBlockDataListBuilder_.setMessage(index, value); } - return this; } /** - * .Hash block_header_hash = 2; + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public Builder setBlockHeaderHash( - io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { - if (blockHeaderHashBuilder_ == null) { - blockHeaderHash_ = builderForValue.build(); + public Builder setSideChainBlockDataList( + int index, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder builderForValue) { + if (sideChainBlockDataListBuilder_ == null) { + ensureSideChainBlockDataListIsMutable(); + sideChainBlockDataList_.set(index, builderForValue.build()); onChanged(); } else { - blockHeaderHashBuilder_.setMessage(builderForValue.build()); + sideChainBlockDataListBuilder_.setMessage(index, builderForValue.build()); } - return this; } /** - * .Hash block_header_hash = 2; + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public Builder mergeBlockHeaderHash(io.aelf.protobuf.generated.Client.Hash value) { - if (blockHeaderHashBuilder_ == null) { - if (blockHeaderHash_ != null) { - blockHeaderHash_ = - io.aelf.protobuf.generated.Client.Hash.newBuilder(blockHeaderHash_).mergeFrom(value).buildPartial(); - } else { - blockHeaderHash_ = value; + public Builder addSideChainBlockDataList(io.aelf.protobuf.generated.Client.SideChainBlockData value) { + if (sideChainBlockDataListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureSideChainBlockDataListIsMutable(); + sideChainBlockDataList_.add(value); onChanged(); } else { - blockHeaderHashBuilder_.mergeFrom(value); + sideChainBlockDataListBuilder_.addMessage(value); } - return this; } /** - * .Hash block_header_hash = 2; + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public Builder clearBlockHeaderHash() { - if (blockHeaderHashBuilder_ == null) { - blockHeaderHash_ = null; + public Builder addSideChainBlockDataList( + int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) { + if (sideChainBlockDataListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSideChainBlockDataListIsMutable(); + sideChainBlockDataList_.add(index, value); onChanged(); } else { - blockHeaderHash_ = null; - blockHeaderHashBuilder_ = null; + sideChainBlockDataListBuilder_.addMessage(index, value); } - return this; } /** - * .Hash block_header_hash = 2; + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public io.aelf.protobuf.generated.Client.Hash.Builder getBlockHeaderHashBuilder() { - - onChanged(); - return getBlockHeaderHashFieldBuilder().getBuilder(); + public Builder addSideChainBlockDataList( + io.aelf.protobuf.generated.Client.SideChainBlockData.Builder builderForValue) { + if (sideChainBlockDataListBuilder_ == null) { + ensureSideChainBlockDataListIsMutable(); + sideChainBlockDataList_.add(builderForValue.build()); + onChanged(); + } else { + sideChainBlockDataListBuilder_.addMessage(builderForValue.build()); + } + return this; } /** - * .Hash block_header_hash = 2; + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - public io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHeaderHashOrBuilder() { - if (blockHeaderHashBuilder_ != null) { - return blockHeaderHashBuilder_.getMessageOrBuilder(); + public Builder addSideChainBlockDataList( + int index, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder builderForValue) { + if (sideChainBlockDataListBuilder_ == null) { + ensureSideChainBlockDataListIsMutable(); + sideChainBlockDataList_.add(index, builderForValue.build()); + onChanged(); } else { - return blockHeaderHash_ == null ? - io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHeaderHash_; + sideChainBlockDataListBuilder_.addMessage(index, builderForValue.build()); } + return this; } /** - * .Hash block_header_hash = 2; + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> - getBlockHeaderHashFieldBuilder() { - if (blockHeaderHashBuilder_ == null) { - blockHeaderHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( - getBlockHeaderHash(), + public Builder addAllSideChainBlockDataList( + java.lang.Iterable values) { + if (sideChainBlockDataListBuilder_ == null) { + ensureSideChainBlockDataListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sideChainBlockDataList_); + onChanged(); + } else { + sideChainBlockDataListBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + public Builder clearSideChainBlockDataList() { + if (sideChainBlockDataListBuilder_ == null) { + sideChainBlockDataList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + sideChainBlockDataListBuilder_.clear(); + } + return this; + } + /** + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + public Builder removeSideChainBlockDataList(int index) { + if (sideChainBlockDataListBuilder_ == null) { + ensureSideChainBlockDataListIsMutable(); + sideChainBlockDataList_.remove(index); + onChanged(); + } else { + sideChainBlockDataListBuilder_.remove(index); + } + return this; + } + /** + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder getSideChainBlockDataListBuilder( + int index) { + return getSideChainBlockDataListFieldBuilder().getBuilder(index); + } + /** + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataListOrBuilder( + int index) { + if (sideChainBlockDataListBuilder_ == null) { + return sideChainBlockDataList_.get(index); } else { + return sideChainBlockDataListBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + public java.util.List + getSideChainBlockDataListOrBuilderList() { + if (sideChainBlockDataListBuilder_ != null) { + return sideChainBlockDataListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(sideChainBlockDataList_); + } + } + /** + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataListBuilder() { + return getSideChainBlockDataListFieldBuilder().addBuilder( + io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance()); + } + /** + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataListBuilder( + int index) { + return getSideChainBlockDataListFieldBuilder().addBuilder( + index, io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance()); + } + /** + *
+       * The side chain block data list to index.
+       * 
+ * + * repeated .SideChainBlockData side_chain_block_data_list = 1; + */ + public java.util.List + getSideChainBlockDataListBuilderList() { + return getSideChainBlockDataListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.SideChainBlockData, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder, io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> + getSideChainBlockDataListFieldBuilder() { + if (sideChainBlockDataListBuilder_ == null) { + sideChainBlockDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.SideChainBlockData, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder, io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder>( + sideChainBlockDataList_, + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - blockHeaderHash_ = null; + sideChainBlockDataList_ = null; } - return blockHeaderHashBuilder_; + return sideChainBlockDataListBuilder_; } - private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> transactionStatusMerkleTreeRootBuilder_; + private java.util.List parentChainBlockDataList_ = + java.util.Collections.emptyList(); + private void ensureParentChainBlockDataListIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + parentChainBlockDataList_ = new java.util.ArrayList(parentChainBlockDataList_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.ParentChainBlockData, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder, io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder> parentChainBlockDataListBuilder_; + /** - * .Hash transaction_status_merkle_tree_root = 3; - * @return Whether the transactionStatusMerkleTreeRoot field is set. + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public boolean hasTransactionStatusMerkleTreeRoot() { - return transactionStatusMerkleTreeRootBuilder_ != null || transactionStatusMerkleTreeRoot_ != null; + public java.util.List getParentChainBlockDataListList() { + if (parentChainBlockDataListBuilder_ == null) { + return java.util.Collections.unmodifiableList(parentChainBlockDataList_); + } else { + return parentChainBlockDataListBuilder_.getMessageList(); + } } /** - * .Hash transaction_status_merkle_tree_root = 3; - * @return The transactionStatusMerkleTreeRoot. + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - return transactionStatusMerkleTreeRoot_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + public int getParentChainBlockDataListCount() { + if (parentChainBlockDataListBuilder_ == null) { + return parentChainBlockDataList_.size(); } else { - return transactionStatusMerkleTreeRootBuilder_.getMessage(); + return parentChainBlockDataListBuilder_.getCount(); } } /** - * .Hash transaction_status_merkle_tree_root = 3; + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public Builder setTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { - if (transactionStatusMerkleTreeRootBuilder_ == null) { + public io.aelf.protobuf.generated.Client.ParentChainBlockData getParentChainBlockDataList(int index) { + if (parentChainBlockDataListBuilder_ == null) { + return parentChainBlockDataList_.get(index); + } else { + return parentChainBlockDataListBuilder_.getMessage(index); + } + } + /** + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; + */ + public Builder setParentChainBlockDataList( + int index, io.aelf.protobuf.generated.Client.ParentChainBlockData value) { + if (parentChainBlockDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - transactionStatusMerkleTreeRoot_ = value; + ensureParentChainBlockDataListIsMutable(); + parentChainBlockDataList_.set(index, value); onChanged(); } else { - transactionStatusMerkleTreeRootBuilder_.setMessage(value); + parentChainBlockDataListBuilder_.setMessage(index, value); } - return this; } /** - * .Hash transaction_status_merkle_tree_root = 3; + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public Builder setTransactionStatusMerkleTreeRoot( - io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - transactionStatusMerkleTreeRoot_ = builderForValue.build(); + public Builder setParentChainBlockDataList( + int index, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder builderForValue) { + if (parentChainBlockDataListBuilder_ == null) { + ensureParentChainBlockDataListIsMutable(); + parentChainBlockDataList_.set(index, builderForValue.build()); onChanged(); } else { - transactionStatusMerkleTreeRootBuilder_.setMessage(builderForValue.build()); + parentChainBlockDataListBuilder_.setMessage(index, builderForValue.build()); } - return this; } /** - * .Hash transaction_status_merkle_tree_root = 3; + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public Builder mergeTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - if (transactionStatusMerkleTreeRoot_ != null) { - transactionStatusMerkleTreeRoot_ = - io.aelf.protobuf.generated.Client.Hash.newBuilder(transactionStatusMerkleTreeRoot_).mergeFrom(value).buildPartial(); - } else { - transactionStatusMerkleTreeRoot_ = value; + public Builder addParentChainBlockDataList(io.aelf.protobuf.generated.Client.ParentChainBlockData value) { + if (parentChainBlockDataListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureParentChainBlockDataListIsMutable(); + parentChainBlockDataList_.add(value); onChanged(); } else { - transactionStatusMerkleTreeRootBuilder_.mergeFrom(value); + parentChainBlockDataListBuilder_.addMessage(value); } - return this; } /** - * .Hash transaction_status_merkle_tree_root = 3; + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public Builder clearTransactionStatusMerkleTreeRoot() { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - transactionStatusMerkleTreeRoot_ = null; + public Builder addParentChainBlockDataList( + int index, io.aelf.protobuf.generated.Client.ParentChainBlockData value) { + if (parentChainBlockDataListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParentChainBlockDataListIsMutable(); + parentChainBlockDataList_.add(index, value); onChanged(); } else { - transactionStatusMerkleTreeRoot_ = null; - transactionStatusMerkleTreeRootBuilder_ = null; + parentChainBlockDataListBuilder_.addMessage(index, value); } - return this; } /** - * .Hash transaction_status_merkle_tree_root = 3; + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public io.aelf.protobuf.generated.Client.Hash.Builder getTransactionStatusMerkleTreeRootBuilder() { - - onChanged(); - return getTransactionStatusMerkleTreeRootFieldBuilder().getBuilder(); + public Builder addParentChainBlockDataList( + io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder builderForValue) { + if (parentChainBlockDataListBuilder_ == null) { + ensureParentChainBlockDataListIsMutable(); + parentChainBlockDataList_.add(builderForValue.build()); + onChanged(); + } else { + parentChainBlockDataListBuilder_.addMessage(builderForValue.build()); + } + return this; } /** - * .Hash transaction_status_merkle_tree_root = 3; + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { - if (transactionStatusMerkleTreeRootBuilder_ != null) { - return transactionStatusMerkleTreeRootBuilder_.getMessageOrBuilder(); + public Builder addParentChainBlockDataList( + int index, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder builderForValue) { + if (parentChainBlockDataListBuilder_ == null) { + ensureParentChainBlockDataListIsMutable(); + parentChainBlockDataList_.add(index, builderForValue.build()); + onChanged(); } else { - return transactionStatusMerkleTreeRoot_ == null ? - io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + parentChainBlockDataListBuilder_.addMessage(index, builderForValue.build()); } + return this; } /** - * .Hash transaction_status_merkle_tree_root = 3; + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> - getTransactionStatusMerkleTreeRootFieldBuilder() { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - transactionStatusMerkleTreeRootBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( - getTransactionStatusMerkleTreeRoot(), - getParentForChildren(), - isClean()); - transactionStatusMerkleTreeRoot_ = null; + public Builder addAllParentChainBlockDataList( + java.lang.Iterable values) { + if (parentChainBlockDataListBuilder_ == null) { + ensureParentChainBlockDataListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, parentChainBlockDataList_); + onChanged(); + } else { + parentChainBlockDataListBuilder_.addAllMessages(values); } - return transactionStatusMerkleTreeRootBuilder_; + return this; } - - private int chainId_ ; /** - * int32 chain_id = 4; - * @return The chainId. + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public int getChainId() { - return chainId_; + public Builder clearParentChainBlockDataList() { + if (parentChainBlockDataListBuilder_ == null) { + parentChainBlockDataList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + parentChainBlockDataListBuilder_.clear(); + } + return this; } /** - * int32 chain_id = 4; - * @param value The chainId to set. - * @return This builder for chaining. + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public Builder setChainId(int value) { - - chainId_ = value; - onChanged(); + public Builder removeParentChainBlockDataList(int index) { + if (parentChainBlockDataListBuilder_ == null) { + ensureParentChainBlockDataListIsMutable(); + parentChainBlockDataList_.remove(index); + onChanged(); + } else { + parentChainBlockDataListBuilder_.remove(index); + } return this; } /** - * int32 chain_id = 4; - * @return This builder for chaining. + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; */ - public Builder clearChainId() { - - chainId_ = 0; - onChanged(); - return this; + public io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder getParentChainBlockDataListBuilder( + int index) { + return getParentChainBlockDataListFieldBuilder().getBuilder(index); + } + /** + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; + */ + public io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder getParentChainBlockDataListOrBuilder( + int index) { + if (parentChainBlockDataListBuilder_ == null) { + return parentChainBlockDataList_.get(index); } else { + return parentChainBlockDataListBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; + */ + public java.util.List + getParentChainBlockDataListOrBuilderList() { + if (parentChainBlockDataListBuilder_ != null) { + return parentChainBlockDataListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(parentChainBlockDataList_); + } + } + /** + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; + */ + public io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder addParentChainBlockDataListBuilder() { + return getParentChainBlockDataListFieldBuilder().addBuilder( + io.aelf.protobuf.generated.Client.ParentChainBlockData.getDefaultInstance()); + } + /** + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; + */ + public io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder addParentChainBlockDataListBuilder( + int index) { + return getParentChainBlockDataListFieldBuilder().addBuilder( + index, io.aelf.protobuf.generated.Client.ParentChainBlockData.getDefaultInstance()); + } + /** + *
+       * The parent chain block data list to index.
+       * 
+ * + * repeated .ParentChainBlockData parent_chain_block_data_list = 2; + */ + public java.util.List + getParentChainBlockDataListBuilderList() { + return getParentChainBlockDataListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.ParentChainBlockData, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder, io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder> + getParentChainBlockDataListFieldBuilder() { + if (parentChainBlockDataListBuilder_ == null) { + parentChainBlockDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.ParentChainBlockData, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder, io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder>( + parentChainBlockDataList_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + parentChainBlockDataList_ = null; + } + return parentChainBlockDataListBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -16661,200 +19239,144 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:SideChainBlockData) + // @@protoc_insertion_point(builder_scope:CrossChainBlockData) } - // @@protoc_insertion_point(class_scope:SideChainBlockData) - private static final io.aelf.protobuf.generated.Client.SideChainBlockData DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:CrossChainBlockData) + private static final io.aelf.protobuf.generated.Client.CrossChainBlockData DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.SideChainBlockData(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.CrossChainBlockData(); } - public static io.aelf.protobuf.generated.Client.SideChainBlockData getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.CrossChainBlockData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public SideChainBlockData parsePartialFrom( + public CrossChainBlockData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SideChainBlockData(input, extensionRegistry); + return new CrossChainBlockData(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.SideChainBlockData getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.CrossChainBlockData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ParentChainBlockDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:ParentChainBlockData) + public interface SideChainBlockDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:SideChainBlockData) com.google.protobuf.MessageOrBuilder { /** + *
+     * The height of side chain block.
+     * 
+ * * int64 height = 1; * @return The height. */ long getHeight(); - /** - * .CrossChainExtraData cross_chain_extra_data = 2; - * @return Whether the crossChainExtraData field is set. - */ - boolean hasCrossChainExtraData(); - /** - * .CrossChainExtraData cross_chain_extra_data = 2; - * @return The crossChainExtraData. - */ - io.aelf.protobuf.generated.Client.CrossChainExtraData getCrossChainExtraData(); - /** - * .CrossChainExtraData cross_chain_extra_data = 2; - */ - io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder getCrossChainExtraDataOrBuilder(); - - /** - * int32 chain_id = 3; - * @return The chainId. - */ - int getChainId(); - - /** - * .Hash transaction_status_merkle_tree_root = 4; - * @return Whether the transactionStatusMerkleTreeRoot field is set. - */ - boolean hasTransactionStatusMerkleTreeRoot(); - /** - * .Hash transaction_status_merkle_tree_root = 4; - * @return The transactionStatusMerkleTreeRoot. - */ - io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot(); - /** - * .Hash transaction_status_merkle_tree_root = 4; - */ - io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder(); - /** *
-     * Indexed block height from side chain and merkle path for this side chain block
+     * The hash of side chain block.
      * 
* - * map<int64, .MerklePath> indexed_merkle_path = 5; + * .Hash block_header_hash = 2; + * @return Whether the blockHeaderHash field is set. */ - int getIndexedMerklePathCount(); + boolean hasBlockHeaderHash(); /** *
-     * Indexed block height from side chain and merkle path for this side chain block
+     * The hash of side chain block.
      * 
* - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ - boolean containsIndexedMerklePath( - long key); - /** - * Use {@link #getIndexedMerklePathMap()} instead. + * .Hash block_header_hash = 2; + * @return The blockHeaderHash. */ - @java.lang.Deprecated - java.util.Map - getIndexedMerklePath(); + io.aelf.protobuf.generated.Client.Hash getBlockHeaderHash(); /** *
-     * Indexed block height from side chain and merkle path for this side chain block
+     * The hash of side chain block.
      * 
* - * map<int64, .MerklePath> indexed_merkle_path = 5; + * .Hash block_header_hash = 2; */ - java.util.Map - getIndexedMerklePathMap(); + io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHeaderHashOrBuilder(); + /** *
-     * Indexed block height from side chain and merkle path for this side chain block
+     * The merkle tree root computing from transactions status in side chain block.
      * 
* - * map<int64, .MerklePath> indexed_merkle_path = 5; + * .Hash transaction_status_merkle_tree_root = 3; + * @return Whether the transactionStatusMerkleTreeRoot field is set. */ - - io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrDefault( - long key, - io.aelf.protobuf.generated.Client.MerklePath defaultValue); + boolean hasTransactionStatusMerkleTreeRoot(); /** *
-     * Indexed block height from side chain and merkle path for this side chain block
+     * The merkle tree root computing from transactions status in side chain block.
      * 
* - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ - - io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrThrow( - long key); - - /** - * map<string, bytes> extra_data = 6; - */ - int getExtraDataCount(); - /** - * map<string, bytes> extra_data = 6; - */ - boolean containsExtraData( - java.lang.String key); - /** - * Use {@link #getExtraDataMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getExtraData(); - /** - * map<string, bytes> extra_data = 6; + * .Hash transaction_status_merkle_tree_root = 3; + * @return The transactionStatusMerkleTreeRoot. */ - java.util.Map - getExtraDataMap(); + io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot(); /** - * map<string, bytes> extra_data = 6; + *
+     * The merkle tree root computing from transactions status in side chain block.
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; */ + io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder(); - com.google.protobuf.ByteString getExtraDataOrDefault( - java.lang.String key, - com.google.protobuf.ByteString defaultValue); /** - * map<string, bytes> extra_data = 6; + *
+     * The id of side chain.
+     * 
+ * + * int32 chain_id = 4; + * @return The chainId. */ - - com.google.protobuf.ByteString getExtraDataOrThrow( - java.lang.String key); + int getChainId(); } /** - * Protobuf type {@code ParentChainBlockData} + * Protobuf type {@code SideChainBlockData} */ - public static final class ParentChainBlockData extends + public static final class SideChainBlockData extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:ParentChainBlockData) - ParentChainBlockDataOrBuilder { + // @@protoc_insertion_point(message_implements:SideChainBlockData) + SideChainBlockDataOrBuilder { private static final long serialVersionUID = 0L; - // Use ParentChainBlockData.newBuilder() to construct. - private ParentChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use SideChainBlockData.newBuilder() to construct. + private SideChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ParentChainBlockData() { + private SideChainBlockData() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new ParentChainBlockData(); + return new SideChainBlockData(); } @java.lang.Override @@ -16862,7 +19384,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private ParentChainBlockData( + private SideChainBlockData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -16870,7 +19392,6 @@ private ParentChainBlockData( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -16887,24 +19408,19 @@ private ParentChainBlockData( break; } case 18: { - io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder subBuilder = null; - if (crossChainExtraData_ != null) { - subBuilder = crossChainExtraData_.toBuilder(); + io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; + if (blockHeaderHash_ != null) { + subBuilder = blockHeaderHash_.toBuilder(); } - crossChainExtraData_ = input.readMessage(io.aelf.protobuf.generated.Client.CrossChainExtraData.parser(), extensionRegistry); + blockHeaderHash_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(crossChainExtraData_); - crossChainExtraData_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(blockHeaderHash_); + blockHeaderHash_ = subBuilder.buildPartial(); } break; } - case 24: { - - chainId_ = input.readInt32(); - break; - } - case 34: { + case 26: { io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; if (transactionStatusMerkleTreeRoot_ != null) { subBuilder = transactionStatusMerkleTreeRoot_.toBuilder(); @@ -16917,30 +19433,9 @@ private ParentChainBlockData( break; } - case 42: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - indexedMerklePath_ = com.google.protobuf.MapField.newMapField( - IndexedMerklePathDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - indexedMerklePath__ = input.readMessage( - IndexedMerklePathDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - indexedMerklePath_.getMutableMap().put( - indexedMerklePath__.getKey(), indexedMerklePath__.getValue()); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - extraData_ = com.google.protobuf.MapField.newMapField( - ExtraDataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry - extraData__ = input.readMessage( - ExtraDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - extraData_.getMutableMap().put( - extraData__.getKey(), extraData__.getValue()); + case 32: { + + chainId_ = input.readInt32(); break; } default: { @@ -16964,34 +19459,24 @@ private ParentChainBlockData( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_descriptor; } - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 5: - return internalGetIndexedMerklePath(); - case 6: - return internalGetExtraData(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.ParentChainBlockData.class, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder.class); + io.aelf.protobuf.generated.Client.SideChainBlockData.class, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder.class); } public static final int HEIGHT_FIELD_NUMBER = 1; private long height_; /** + *
+     * The height of side chain block.
+     * 
+ * * int64 height = 1; * @return The height. */ @@ -16999,269 +19484,117 @@ public long getHeight() { return height_; } - public static final int CROSS_CHAIN_EXTRA_DATA_FIELD_NUMBER = 2; - private io.aelf.protobuf.generated.Client.CrossChainExtraData crossChainExtraData_; - /** - * .CrossChainExtraData cross_chain_extra_data = 2; - * @return Whether the crossChainExtraData field is set. - */ - public boolean hasCrossChainExtraData() { - return crossChainExtraData_ != null; - } + public static final int BLOCK_HEADER_HASH_FIELD_NUMBER = 2; + private io.aelf.protobuf.generated.Client.Hash blockHeaderHash_; /** - * .CrossChainExtraData cross_chain_extra_data = 2; - * @return The crossChainExtraData. + *
+     * The hash of side chain block.
+     * 
+ * + * .Hash block_header_hash = 2; + * @return Whether the blockHeaderHash field is set. */ - public io.aelf.protobuf.generated.Client.CrossChainExtraData getCrossChainExtraData() { - return crossChainExtraData_ == null ? io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance() : crossChainExtraData_; + public boolean hasBlockHeaderHash() { + return blockHeaderHash_ != null; } /** - * .CrossChainExtraData cross_chain_extra_data = 2; + *
+     * The hash of side chain block.
+     * 
+ * + * .Hash block_header_hash = 2; + * @return The blockHeaderHash. */ - public io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder getCrossChainExtraDataOrBuilder() { - return getCrossChainExtraData(); + public io.aelf.protobuf.generated.Client.Hash getBlockHeaderHash() { + return blockHeaderHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHeaderHash_; } - - public static final int CHAIN_ID_FIELD_NUMBER = 3; - private int chainId_; /** - * int32 chain_id = 3; - * @return The chainId. + *
+     * The hash of side chain block.
+     * 
+ * + * .Hash block_header_hash = 2; */ - public int getChainId() { - return chainId_; + public io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHeaderHashOrBuilder() { + return getBlockHeaderHash(); } - public static final int TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER = 4; + public static final int TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER = 3; private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+     * The merkle tree root computing from transactions status in side chain block.
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; * @return Whether the transactionStatusMerkleTreeRoot field is set. */ public boolean hasTransactionStatusMerkleTreeRoot() { return transactionStatusMerkleTreeRoot_ != null; } /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+     * The merkle tree root computing from transactions status in side chain block.
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; * @return The transactionStatusMerkleTreeRoot. */ public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { return transactionStatusMerkleTreeRoot_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; } /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+     * The merkle tree root computing from transactions status in side chain block.
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { return getTransactionStatusMerkleTreeRoot(); } - public static final int INDEXED_MERKLE_PATH_FIELD_NUMBER = 5; - private static final class IndexedMerklePathDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.Long, io.aelf.protobuf.generated.Client.MerklePath> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_IndexedMerklePathEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.INT64, - 0L, - com.google.protobuf.WireFormat.FieldType.MESSAGE, - io.aelf.protobuf.generated.Client.MerklePath.getDefaultInstance()); - } - private com.google.protobuf.MapField< - java.lang.Long, io.aelf.protobuf.generated.Client.MerklePath> indexedMerklePath_; - private com.google.protobuf.MapField - internalGetIndexedMerklePath() { - if (indexedMerklePath_ == null) { - return com.google.protobuf.MapField.emptyMapField( - IndexedMerklePathDefaultEntryHolder.defaultEntry); - } - return indexedMerklePath_; - } - - public int getIndexedMerklePathCount() { - return internalGetIndexedMerklePath().getMap().size(); - } + public static final int CHAIN_ID_FIELD_NUMBER = 4; + private int chainId_; /** *
-     * Indexed block height from side chain and merkle path for this side chain block
+     * The id of side chain.
      * 
* - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ - - public boolean containsIndexedMerklePath( - long key) { - - return internalGetIndexedMerklePath().getMap().containsKey(key); - } - /** - * Use {@link #getIndexedMerklePathMap()} instead. + * int32 chain_id = 4; + * @return The chainId. */ - @java.lang.Deprecated - public java.util.Map getIndexedMerklePath() { - return getIndexedMerklePathMap(); + public int getChainId() { + return chainId_; } - /** - *
-     * Indexed block height from side chain and merkle path for this side chain block
-     * 
- * - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ - public java.util.Map getIndexedMerklePathMap() { - return internalGetIndexedMerklePath().getMap(); - } - /** - *
-     * Indexed block height from side chain and merkle path for this side chain block
-     * 
- * - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - public io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrDefault( - long key, - io.aelf.protobuf.generated.Client.MerklePath defaultValue) { - - java.util.Map map = - internalGetIndexedMerklePath().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + memoizedIsInitialized = 1; + return true; } - /** - *
-     * Indexed block height from side chain and merkle path for this side chain block
-     * 
- * - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ - public io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrThrow( - long key) { - - java.util.Map map = - internalGetIndexedMerklePath().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (height_ != 0L) { + output.writeInt64(1, height_); } - return map.get(key); - } - - public static final int EXTRA_DATA_FIELD_NUMBER = 6; - private static final class ExtraDataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, com.google.protobuf.ByteString> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_ExtraDataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.BYTES, - com.google.protobuf.ByteString.EMPTY); - } - private com.google.protobuf.MapField< - java.lang.String, com.google.protobuf.ByteString> extraData_; - private com.google.protobuf.MapField - internalGetExtraData() { - if (extraData_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ExtraDataDefaultEntryHolder.defaultEntry); - } - return extraData_; - } - - public int getExtraDataCount() { - return internalGetExtraData().getMap().size(); - } - /** - * map<string, bytes> extra_data = 6; - */ - - public boolean containsExtraData( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetExtraData().getMap().containsKey(key); - } - /** - * Use {@link #getExtraDataMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getExtraData() { - return getExtraDataMap(); - } - /** - * map<string, bytes> extra_data = 6; - */ - - public java.util.Map getExtraDataMap() { - return internalGetExtraData().getMap(); - } - /** - * map<string, bytes> extra_data = 6; - */ - - public com.google.protobuf.ByteString getExtraDataOrDefault( - java.lang.String key, - com.google.protobuf.ByteString defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetExtraData().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * map<string, bytes> extra_data = 6; - */ - - public com.google.protobuf.ByteString getExtraDataOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetExtraData().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - 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 (height_ != 0L) { - output.writeInt64(1, height_); - } - if (crossChainExtraData_ != null) { - output.writeMessage(2, getCrossChainExtraData()); - } - if (chainId_ != 0) { - output.writeInt32(3, chainId_); - } - if (transactionStatusMerkleTreeRoot_ != null) { - output.writeMessage(4, getTransactionStatusMerkleTreeRoot()); - } - com.google.protobuf.GeneratedMessageV3 - .serializeLongMapTo( - output, - internalGetIndexedMerklePath(), - IndexedMerklePathDefaultEntryHolder.defaultEntry, - 5); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetExtraData(), - ExtraDataDefaultEntryHolder.defaultEntry, - 6); - unknownFields.writeTo(output); + if (blockHeaderHash_ != null) { + output.writeMessage(2, getBlockHeaderHash()); + } + if (transactionStatusMerkleTreeRoot_ != null) { + output.writeMessage(3, getTransactionStatusMerkleTreeRoot()); + } + if (chainId_ != 0) { + output.writeInt32(4, chainId_); + } + unknownFields.writeTo(output); } @java.lang.Override @@ -17274,37 +19607,17 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, height_); } - if (crossChainExtraData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCrossChainExtraData()); - } - if (chainId_ != 0) { + if (blockHeaderHash_ != null) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, chainId_); + .computeMessageSize(2, getBlockHeaderHash()); } if (transactionStatusMerkleTreeRoot_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getTransactionStatusMerkleTreeRoot()); - } - for (java.util.Map.Entry entry - : internalGetIndexedMerklePath().getMap().entrySet()) { - com.google.protobuf.MapEntry - indexedMerklePath__ = IndexedMerklePathDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, indexedMerklePath__); + .computeMessageSize(3, getTransactionStatusMerkleTreeRoot()); } - for (java.util.Map.Entry entry - : internalGetExtraData().getMap().entrySet()) { - com.google.protobuf.MapEntry - extraData__ = ExtraDataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); + if (chainId_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, extraData__); + .computeInt32Size(4, chainId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -17316,29 +19629,25 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.ParentChainBlockData)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.SideChainBlockData)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.ParentChainBlockData other = (io.aelf.protobuf.generated.Client.ParentChainBlockData) obj; + io.aelf.protobuf.generated.Client.SideChainBlockData other = (io.aelf.protobuf.generated.Client.SideChainBlockData) obj; if (getHeight() != other.getHeight()) return false; - if (hasCrossChainExtraData() != other.hasCrossChainExtraData()) return false; - if (hasCrossChainExtraData()) { - if (!getCrossChainExtraData() - .equals(other.getCrossChainExtraData())) return false; + if (hasBlockHeaderHash() != other.hasBlockHeaderHash()) return false; + if (hasBlockHeaderHash()) { + if (!getBlockHeaderHash() + .equals(other.getBlockHeaderHash())) return false; } - if (getChainId() - != other.getChainId()) return false; if (hasTransactionStatusMerkleTreeRoot() != other.hasTransactionStatusMerkleTreeRoot()) return false; if (hasTransactionStatusMerkleTreeRoot()) { if (!getTransactionStatusMerkleTreeRoot() .equals(other.getTransactionStatusMerkleTreeRoot())) return false; } - if (!internalGetIndexedMerklePath().equals( - other.internalGetIndexedMerklePath())) return false; - if (!internalGetExtraData().equals( - other.internalGetExtraData())) return false; + if (getChainId() + != other.getChainId()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -17353,92 +19662,84 @@ public int hashCode() { hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeight()); - if (hasCrossChainExtraData()) { - hash = (37 * hash) + CROSS_CHAIN_EXTRA_DATA_FIELD_NUMBER; - hash = (53 * hash) + getCrossChainExtraData().hashCode(); + if (hasBlockHeaderHash()) { + hash = (37 * hash) + BLOCK_HEADER_HASH_FIELD_NUMBER; + hash = (53 * hash) + getBlockHeaderHash().hashCode(); } - hash = (37 * hash) + CHAIN_ID_FIELD_NUMBER; - hash = (53 * hash) + getChainId(); if (hasTransactionStatusMerkleTreeRoot()) { hash = (37 * hash) + TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER; hash = (53 * hash) + getTransactionStatusMerkleTreeRoot().hashCode(); } - if (!internalGetIndexedMerklePath().getMap().isEmpty()) { - hash = (37 * hash) + INDEXED_MERKLE_PATH_FIELD_NUMBER; - hash = (53 * hash) + internalGetIndexedMerklePath().hashCode(); - } - if (!internalGetExtraData().getMap().isEmpty()) { - hash = (37 * hash) + EXTRA_DATA_FIELD_NUMBER; - hash = (53 * hash) + internalGetExtraData().hashCode(); - } + hash = (37 * hash) + CHAIN_ID_FIELD_NUMBER; + hash = (53 * hash) + getChainId(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainBlockData 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 io.aelf.protobuf.generated.Client.ParentChainBlockData parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.SideChainBlockData 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 io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.SideChainBlockData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -17451,7 +19752,7 @@ public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.ParentChainBlockData prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.SideChainBlockData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -17467,52 +19768,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code ParentChainBlockData} + * Protobuf type {@code SideChainBlockData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:ParentChainBlockData) - io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder { + // @@protoc_insertion_point(builder_implements:SideChainBlockData) + io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_descriptor; } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 5: - return internalGetIndexedMerklePath(); - case 6: - return internalGetExtraData(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 5: - return internalGetMutableIndexedMerklePath(); - case 6: - return internalGetMutableExtraData(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.ParentChainBlockData.class, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder.class); + io.aelf.protobuf.generated.Client.SideChainBlockData.class, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.ParentChainBlockData.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.SideChainBlockData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -17532,65 +19807,58 @@ public Builder clear() { super.clear(); height_ = 0L; - if (crossChainExtraDataBuilder_ == null) { - crossChainExtraData_ = null; + if (blockHeaderHashBuilder_ == null) { + blockHeaderHash_ = null; } else { - crossChainExtraData_ = null; - crossChainExtraDataBuilder_ = null; + blockHeaderHash_ = null; + blockHeaderHashBuilder_ = null; } - chainId_ = 0; - if (transactionStatusMerkleTreeRootBuilder_ == null) { transactionStatusMerkleTreeRoot_ = null; } else { transactionStatusMerkleTreeRoot_ = null; transactionStatusMerkleTreeRootBuilder_ = null; } - internalGetMutableIndexedMerklePath().clear(); - internalGetMutableExtraData().clear(); + chainId_ = 0; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_SideChainBlockData_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.ParentChainBlockData getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.ParentChainBlockData.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.SideChainBlockData getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.ParentChainBlockData build() { - io.aelf.protobuf.generated.Client.ParentChainBlockData result = buildPartial(); - if (!result.isInitialized()) { + public io.aelf.protobuf.generated.Client.SideChainBlockData build() { + io.aelf.protobuf.generated.Client.SideChainBlockData result = buildPartial(); + if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override - public io.aelf.protobuf.generated.Client.ParentChainBlockData buildPartial() { - io.aelf.protobuf.generated.Client.ParentChainBlockData result = new io.aelf.protobuf.generated.Client.ParentChainBlockData(this); - int from_bitField0_ = bitField0_; + public io.aelf.protobuf.generated.Client.SideChainBlockData buildPartial() { + io.aelf.protobuf.generated.Client.SideChainBlockData result = new io.aelf.protobuf.generated.Client.SideChainBlockData(this); result.height_ = height_; - if (crossChainExtraDataBuilder_ == null) { - result.crossChainExtraData_ = crossChainExtraData_; + if (blockHeaderHashBuilder_ == null) { + result.blockHeaderHash_ = blockHeaderHash_; } else { - result.crossChainExtraData_ = crossChainExtraDataBuilder_.build(); + result.blockHeaderHash_ = blockHeaderHashBuilder_.build(); } - result.chainId_ = chainId_; if (transactionStatusMerkleTreeRootBuilder_ == null) { result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRoot_; } else { result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRootBuilder_.build(); } - result.indexedMerklePath_ = internalGetIndexedMerklePath(); - result.indexedMerklePath_.makeImmutable(); - result.extraData_ = internalGetExtraData(); - result.extraData_.makeImmutable(); + result.chainId_ = chainId_; onBuilt(); return result; } @@ -17629,32 +19897,28 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.ParentChainBlockData) { - return mergeFrom((io.aelf.protobuf.generated.Client.ParentChainBlockData)other); + if (other instanceof io.aelf.protobuf.generated.Client.SideChainBlockData) { + return mergeFrom((io.aelf.protobuf.generated.Client.SideChainBlockData)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.ParentChainBlockData other) { - if (other == io.aelf.protobuf.generated.Client.ParentChainBlockData.getDefaultInstance()) return this; + public Builder mergeFrom(io.aelf.protobuf.generated.Client.SideChainBlockData other) { + if (other == io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance()) return this; if (other.getHeight() != 0L) { setHeight(other.getHeight()); } - if (other.hasCrossChainExtraData()) { - mergeCrossChainExtraData(other.getCrossChainExtraData()); - } - if (other.getChainId() != 0) { - setChainId(other.getChainId()); + if (other.hasBlockHeaderHash()) { + mergeBlockHeaderHash(other.getBlockHeaderHash()); } if (other.hasTransactionStatusMerkleTreeRoot()) { mergeTransactionStatusMerkleTreeRoot(other.getTransactionStatusMerkleTreeRoot()); } - internalGetMutableIndexedMerklePath().mergeFrom( - other.internalGetIndexedMerklePath()); - internalGetMutableExtraData().mergeFrom( - other.internalGetExtraData()); + if (other.getChainId() != 0) { + setChainId(other.getChainId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -17670,11 +19934,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.ParentChainBlockData parsedMessage = null; + io.aelf.protobuf.generated.Client.SideChainBlockData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.ParentChainBlockData) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.SideChainBlockData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17683,10 +19947,13 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private long height_ ; /** + *
+       * The height of side chain block.
+       * 
+ * * int64 height = 1; * @return The height. */ @@ -17694,6 +19961,10 @@ public long getHeight() { return height_; } /** + *
+       * The height of side chain block.
+       * 
+ * * int64 height = 1; * @param value The height to set. * @return This builder for chaining. @@ -17705,6 +19976,10 @@ public Builder setHeight(long value) { return this; } /** + *
+       * The height of side chain block.
+       * 
+ * * int64 height = 1; * @return This builder for chaining. */ @@ -17715,167 +19990,181 @@ public Builder clearHeight() { return this; } - private io.aelf.protobuf.generated.Client.CrossChainExtraData crossChainExtraData_; + private io.aelf.protobuf.generated.Client.Hash blockHeaderHash_; private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.CrossChainExtraData, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder, io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder> crossChainExtraDataBuilder_; + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> blockHeaderHashBuilder_; /** - * .CrossChainExtraData cross_chain_extra_data = 2; - * @return Whether the crossChainExtraData field is set. + *
+       * The hash of side chain block.
+       * 
+ * + * .Hash block_header_hash = 2; + * @return Whether the blockHeaderHash field is set. */ - public boolean hasCrossChainExtraData() { - return crossChainExtraDataBuilder_ != null || crossChainExtraData_ != null; + public boolean hasBlockHeaderHash() { + return blockHeaderHashBuilder_ != null || blockHeaderHash_ != null; } /** - * .CrossChainExtraData cross_chain_extra_data = 2; - * @return The crossChainExtraData. + *
+       * The hash of side chain block.
+       * 
+ * + * .Hash block_header_hash = 2; + * @return The blockHeaderHash. */ - public io.aelf.protobuf.generated.Client.CrossChainExtraData getCrossChainExtraData() { - if (crossChainExtraDataBuilder_ == null) { - return crossChainExtraData_ == null ? io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance() : crossChainExtraData_; + public io.aelf.protobuf.generated.Client.Hash getBlockHeaderHash() { + if (blockHeaderHashBuilder_ == null) { + return blockHeaderHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHeaderHash_; } else { - return crossChainExtraDataBuilder_.getMessage(); + return blockHeaderHashBuilder_.getMessage(); } } /** - * .CrossChainExtraData cross_chain_extra_data = 2; + *
+       * The hash of side chain block.
+       * 
+ * + * .Hash block_header_hash = 2; */ - public Builder setCrossChainExtraData(io.aelf.protobuf.generated.Client.CrossChainExtraData value) { - if (crossChainExtraDataBuilder_ == null) { + public Builder setBlockHeaderHash(io.aelf.protobuf.generated.Client.Hash value) { + if (blockHeaderHashBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - crossChainExtraData_ = value; + blockHeaderHash_ = value; onChanged(); } else { - crossChainExtraDataBuilder_.setMessage(value); + blockHeaderHashBuilder_.setMessage(value); } return this; } /** - * .CrossChainExtraData cross_chain_extra_data = 2; + *
+       * The hash of side chain block.
+       * 
+ * + * .Hash block_header_hash = 2; */ - public Builder setCrossChainExtraData( - io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder builderForValue) { - if (crossChainExtraDataBuilder_ == null) { - crossChainExtraData_ = builderForValue.build(); + public Builder setBlockHeaderHash( + io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { + if (blockHeaderHashBuilder_ == null) { + blockHeaderHash_ = builderForValue.build(); onChanged(); } else { - crossChainExtraDataBuilder_.setMessage(builderForValue.build()); + blockHeaderHashBuilder_.setMessage(builderForValue.build()); } return this; } /** - * .CrossChainExtraData cross_chain_extra_data = 2; + *
+       * The hash of side chain block.
+       * 
+ * + * .Hash block_header_hash = 2; */ - public Builder mergeCrossChainExtraData(io.aelf.protobuf.generated.Client.CrossChainExtraData value) { - if (crossChainExtraDataBuilder_ == null) { - if (crossChainExtraData_ != null) { - crossChainExtraData_ = - io.aelf.protobuf.generated.Client.CrossChainExtraData.newBuilder(crossChainExtraData_).mergeFrom(value).buildPartial(); + public Builder mergeBlockHeaderHash(io.aelf.protobuf.generated.Client.Hash value) { + if (blockHeaderHashBuilder_ == null) { + if (blockHeaderHash_ != null) { + blockHeaderHash_ = + io.aelf.protobuf.generated.Client.Hash.newBuilder(blockHeaderHash_).mergeFrom(value).buildPartial(); } else { - crossChainExtraData_ = value; + blockHeaderHash_ = value; } onChanged(); } else { - crossChainExtraDataBuilder_.mergeFrom(value); + blockHeaderHashBuilder_.mergeFrom(value); } return this; } /** - * .CrossChainExtraData cross_chain_extra_data = 2; + *
+       * The hash of side chain block.
+       * 
+ * + * .Hash block_header_hash = 2; */ - public Builder clearCrossChainExtraData() { - if (crossChainExtraDataBuilder_ == null) { - crossChainExtraData_ = null; + public Builder clearBlockHeaderHash() { + if (blockHeaderHashBuilder_ == null) { + blockHeaderHash_ = null; onChanged(); } else { - crossChainExtraData_ = null; - crossChainExtraDataBuilder_ = null; + blockHeaderHash_ = null; + blockHeaderHashBuilder_ = null; } return this; } /** - * .CrossChainExtraData cross_chain_extra_data = 2; + *
+       * The hash of side chain block.
+       * 
+ * + * .Hash block_header_hash = 2; */ - public io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder getCrossChainExtraDataBuilder() { + public io.aelf.protobuf.generated.Client.Hash.Builder getBlockHeaderHashBuilder() { onChanged(); - return getCrossChainExtraDataFieldBuilder().getBuilder(); + return getBlockHeaderHashFieldBuilder().getBuilder(); } /** - * .CrossChainExtraData cross_chain_extra_data = 2; + *
+       * The hash of side chain block.
+       * 
+ * + * .Hash block_header_hash = 2; */ - public io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder getCrossChainExtraDataOrBuilder() { - if (crossChainExtraDataBuilder_ != null) { - return crossChainExtraDataBuilder_.getMessageOrBuilder(); + public io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHeaderHashOrBuilder() { + if (blockHeaderHashBuilder_ != null) { + return blockHeaderHashBuilder_.getMessageOrBuilder(); } else { - return crossChainExtraData_ == null ? - io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance() : crossChainExtraData_; + return blockHeaderHash_ == null ? + io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHeaderHash_; } } /** - * .CrossChainExtraData cross_chain_extra_data = 2; + *
+       * The hash of side chain block.
+       * 
+ * + * .Hash block_header_hash = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.CrossChainExtraData, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder, io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder> - getCrossChainExtraDataFieldBuilder() { - if (crossChainExtraDataBuilder_ == null) { - crossChainExtraDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.CrossChainExtraData, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder, io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder>( - getCrossChainExtraData(), + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> + getBlockHeaderHashFieldBuilder() { + if (blockHeaderHashBuilder_ == null) { + blockHeaderHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( + getBlockHeaderHash(), getParentForChildren(), isClean()); - crossChainExtraData_ = null; + blockHeaderHash_ = null; } - return crossChainExtraDataBuilder_; - } - - private int chainId_ ; - /** - * int32 chain_id = 3; - * @return The chainId. - */ - public int getChainId() { - return chainId_; - } - /** - * int32 chain_id = 3; - * @param value The chainId to set. - * @return This builder for chaining. - */ - public Builder setChainId(int value) { - - chainId_ = value; - onChanged(); - return this; - } - /** - * int32 chain_id = 3; - * @return This builder for chaining. - */ - public Builder clearChainId() { - - chainId_ = 0; - onChanged(); - return this; + return blockHeaderHashBuilder_; } private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> transactionStatusMerkleTreeRootBuilder_; /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+       * The merkle tree root computing from transactions status in side chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; * @return Whether the transactionStatusMerkleTreeRoot field is set. */ public boolean hasTransactionStatusMerkleTreeRoot() { return transactionStatusMerkleTreeRootBuilder_ != null || transactionStatusMerkleTreeRoot_ != null; } /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+       * The merkle tree root computing from transactions status in side chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; * @return The transactionStatusMerkleTreeRoot. */ public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { @@ -17886,7 +20175,11 @@ public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot } } /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+       * The merkle tree root computing from transactions status in side chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; */ public Builder setTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { if (transactionStatusMerkleTreeRootBuilder_ == null) { @@ -17902,7 +20195,11 @@ public Builder setTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Cli return this; } /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+       * The merkle tree root computing from transactions status in side chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; */ public Builder setTransactionStatusMerkleTreeRoot( io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { @@ -17916,7 +20213,11 @@ public Builder setTransactionStatusMerkleTreeRoot( return this; } /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+       * The merkle tree root computing from transactions status in side chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; */ public Builder mergeTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { if (transactionStatusMerkleTreeRootBuilder_ == null) { @@ -17934,7 +20235,11 @@ public Builder mergeTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.C return this; } /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+       * The merkle tree root computing from transactions status in side chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; */ public Builder clearTransactionStatusMerkleTreeRoot() { if (transactionStatusMerkleTreeRootBuilder_ == null) { @@ -17948,15 +20253,23 @@ public Builder clearTransactionStatusMerkleTreeRoot() { return this; } /** - * .Hash transaction_status_merkle_tree_root = 4; - */ - public io.aelf.protobuf.generated.Client.Hash.Builder getTransactionStatusMerkleTreeRootBuilder() { + *
+       * The merkle tree root computing from transactions status in side chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; + */ + public io.aelf.protobuf.generated.Client.Hash.Builder getTransactionStatusMerkleTreeRootBuilder() { onChanged(); return getTransactionStatusMerkleTreeRootFieldBuilder().getBuilder(); } /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+       * The merkle tree root computing from transactions status in side chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { if (transactionStatusMerkleTreeRootBuilder_ != null) { @@ -17967,7 +20280,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkl } } /** - * .Hash transaction_status_merkle_tree_root = 4; + *
+       * The merkle tree root computing from transactions status in side chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> @@ -17983,956 +20300,5659 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkl return transactionStatusMerkleTreeRootBuilder_; } - private com.google.protobuf.MapField< - java.lang.Long, io.aelf.protobuf.generated.Client.MerklePath> indexedMerklePath_; - private com.google.protobuf.MapField - internalGetIndexedMerklePath() { - if (indexedMerklePath_ == null) { - return com.google.protobuf.MapField.emptyMapField( - IndexedMerklePathDefaultEntryHolder.defaultEntry); - } - return indexedMerklePath_; - } - private com.google.protobuf.MapField - internalGetMutableIndexedMerklePath() { - onChanged();; - if (indexedMerklePath_ == null) { - indexedMerklePath_ = com.google.protobuf.MapField.newMapField( - IndexedMerklePathDefaultEntryHolder.defaultEntry); - } - if (!indexedMerklePath_.isMutable()) { - indexedMerklePath_ = indexedMerklePath_.copy(); - } - return indexedMerklePath_; - } - - public int getIndexedMerklePathCount() { - return internalGetIndexedMerklePath().getMap().size(); - } - /** - *
-       * Indexed block height from side chain and merkle path for this side chain block
-       * 
- * - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ - - public boolean containsIndexedMerklePath( - long key) { - - return internalGetIndexedMerklePath().getMap().containsKey(key); - } - /** - * Use {@link #getIndexedMerklePathMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getIndexedMerklePath() { - return getIndexedMerklePathMap(); - } - /** - *
-       * Indexed block height from side chain and merkle path for this side chain block
-       * 
- * - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ - - public java.util.Map getIndexedMerklePathMap() { - return internalGetIndexedMerklePath().getMap(); - } + private int chainId_ ; /** *
-       * Indexed block height from side chain and merkle path for this side chain block
+       * The id of side chain.
        * 
* - * map<int64, .MerklePath> indexed_merkle_path = 5; + * int32 chain_id = 4; + * @return The chainId. */ - - public io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrDefault( - long key, - io.aelf.protobuf.generated.Client.MerklePath defaultValue) { - - java.util.Map map = - internalGetIndexedMerklePath().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + public int getChainId() { + return chainId_; } /** *
-       * Indexed block height from side chain and merkle path for this side chain block
+       * The id of side chain.
        * 
* - * map<int64, .MerklePath> indexed_merkle_path = 5; + * int32 chain_id = 4; + * @param value The chainId to set. + * @return This builder for chaining. */ - - public io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrThrow( - long key) { + public Builder setChainId(int value) { - java.util.Map map = - internalGetIndexedMerklePath().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearIndexedMerklePath() { - internalGetMutableIndexedMerklePath().getMutableMap() - .clear(); + chainId_ = value; + onChanged(); return this; } /** *
-       * Indexed block height from side chain and merkle path for this side chain block
+       * The id of side chain.
        * 
* - * map<int64, .MerklePath> indexed_merkle_path = 5; + * int32 chain_id = 4; + * @return This builder for chaining. */ - - public Builder removeIndexedMerklePath( - long key) { + public Builder clearChainId() { - internalGetMutableIndexedMerklePath().getMutableMap() - .remove(key); + chainId_ = 0; + onChanged(); return this; } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableIndexedMerklePath() { - return internalGetMutableIndexedMerklePath().getMutableMap(); - } - /** - *
-       * Indexed block height from side chain and merkle path for this side chain block
-       * 
- * - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ - public Builder putIndexedMerklePath( - long key, - io.aelf.protobuf.generated.Client.MerklePath value) { - - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableIndexedMerklePath().getMutableMap() - .put(key, value); - return this; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - /** - *
-       * Indexed block height from side chain and merkle path for this side chain block
-       * 
- * - * map<int64, .MerklePath> indexed_merkle_path = 5; - */ - public Builder putAllIndexedMerklePath( - java.util.Map values) { - internalGetMutableIndexedMerklePath().getMutableMap() - .putAll(values); - return this; + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - private com.google.protobuf.MapField< - java.lang.String, com.google.protobuf.ByteString> extraData_; - private com.google.protobuf.MapField - internalGetExtraData() { - if (extraData_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ExtraDataDefaultEntryHolder.defaultEntry); - } - return extraData_; - } - private com.google.protobuf.MapField - internalGetMutableExtraData() { - onChanged();; - if (extraData_ == null) { - extraData_ = com.google.protobuf.MapField.newMapField( - ExtraDataDefaultEntryHolder.defaultEntry); - } - if (!extraData_.isMutable()) { - extraData_ = extraData_.copy(); - } - return extraData_; - } - public int getExtraDataCount() { - return internalGetExtraData().getMap().size(); - } - /** - * map<string, bytes> extra_data = 6; - */ + // @@protoc_insertion_point(builder_scope:SideChainBlockData) + } - public boolean containsExtraData( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetExtraData().getMap().containsKey(key); - } - /** - * Use {@link #getExtraDataMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getExtraData() { - return getExtraDataMap(); - } - /** - * map<string, bytes> extra_data = 6; - */ + // @@protoc_insertion_point(class_scope:SideChainBlockData) + private static final io.aelf.protobuf.generated.Client.SideChainBlockData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.SideChainBlockData(); + } - public java.util.Map getExtraDataMap() { - return internalGetExtraData().getMap(); - } - /** - * map<string, bytes> extra_data = 6; - */ + public static io.aelf.protobuf.generated.Client.SideChainBlockData getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public com.google.protobuf.ByteString getExtraDataOrDefault( - java.lang.String key, - com.google.protobuf.ByteString defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetExtraData().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SideChainBlockData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SideChainBlockData(input, extensionRegistry); } - /** - * map<string, bytes> extra_data = 6; - */ + }; - public com.google.protobuf.ByteString getExtraDataOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetExtraData().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearExtraData() { - internalGetMutableExtraData().getMutableMap() - .clear(); - return this; - } - /** - * map<string, bytes> extra_data = 6; - */ - - public Builder removeExtraData( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableExtraData().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableExtraData() { - return internalGetMutableExtraData().getMutableMap(); - } - /** - * map<string, bytes> extra_data = 6; - */ - public Builder putExtraData( - java.lang.String key, - com.google.protobuf.ByteString value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableExtraData().getMutableMap() - .put(key, value); - return this; - } - /** - * map<string, bytes> extra_data = 6; - */ - - public Builder putAllExtraData( - java.util.Map values) { - internalGetMutableExtraData().getMutableMap() - .putAll(values); - 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:ParentChainBlockData) - } - - // @@protoc_insertion_point(class_scope:ParentChainBlockData) - private static final io.aelf.protobuf.generated.Client.ParentChainBlockData DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ParentChainBlockData(); - } - - public static io.aelf.protobuf.generated.Client.ParentChainBlockData getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParentChainBlockData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ParentChainBlockData(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.ParentChainBlockData getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.SideChainBlockData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface CrossChainExtraDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:CrossChainExtraData) + public interface ParentChainBlockDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:ParentChainBlockData) com.google.protobuf.MessageOrBuilder { /** *
-     * Merkle tree root of side chain block transaction status root
+     * The height of parent chain.
      * 
* - * .Hash transaction_status_merkle_tree_root = 1; - * @return Whether the transactionStatusMerkleTreeRoot field is set. + * int64 height = 1; + * @return The height. */ - boolean hasTransactionStatusMerkleTreeRoot(); + long getHeight(); + /** *
-     * Merkle tree root of side chain block transaction status root
+     * The merkle tree root computing from side chain roots.
      * 
* - * .Hash transaction_status_merkle_tree_root = 1; - * @return The transactionStatusMerkleTreeRoot. + * .CrossChainExtraData cross_chain_extra_data = 2; + * @return Whether the crossChainExtraData field is set. */ - io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot(); + boolean hasCrossChainExtraData(); /** *
-     * Merkle tree root of side chain block transaction status root
+     * The merkle tree root computing from side chain roots.
      * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .CrossChainExtraData cross_chain_extra_data = 2; + * @return The crossChainExtraData. */ - io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder(); - } - /** - * Protobuf type {@code CrossChainExtraData} - */ - public static final class CrossChainExtraData extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CrossChainExtraData) - CrossChainExtraDataOrBuilder { - private static final long serialVersionUID = 0L; - // Use CrossChainExtraData.newBuilder() to construct. - private CrossChainExtraData(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CrossChainExtraData() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CrossChainExtraData(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CrossChainExtraData( - 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 10: { - io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; - if (transactionStatusMerkleTreeRoot_ != null) { - subBuilder = transactionStatusMerkleTreeRoot_.toBuilder(); - } - transactionStatusMerkleTreeRoot_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transactionStatusMerkleTreeRoot_); - transactionStatusMerkleTreeRoot_ = subBuilder.buildPartial(); - } - - 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 io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_descriptor; - } + io.aelf.protobuf.generated.Client.CrossChainExtraData getCrossChainExtraData(); + /** + *
+     * The merkle tree root computing from side chain roots.
+     * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + */ + io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder getCrossChainExtraDataOrBuilder(); - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.CrossChainExtraData.class, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder.class); - } + /** + *
+     * The parent chain id.
+     * 
+ * + * int32 chain_id = 3; + * @return The chainId. + */ + int getChainId(); - public static final int TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER = 1; - private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; /** *
-     * Merkle tree root of side chain block transaction status root
+     * The merkle tree root computing from transactions status in parent chain block.
      * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .Hash transaction_status_merkle_tree_root = 4; * @return Whether the transactionStatusMerkleTreeRoot field is set. */ - public boolean hasTransactionStatusMerkleTreeRoot() { - return transactionStatusMerkleTreeRoot_ != null; - } + boolean hasTransactionStatusMerkleTreeRoot(); /** *
-     * Merkle tree root of side chain block transaction status root
+     * The merkle tree root computing from transactions status in parent chain block.
      * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .Hash transaction_status_merkle_tree_root = 4; * @return The transactionStatusMerkleTreeRoot. */ - public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { - return transactionStatusMerkleTreeRoot_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; - } + io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot(); /** *
-     * Merkle tree root of side chain block transaction status root
+     * The merkle tree root computing from transactions status in parent chain block.
      * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .Hash transaction_status_merkle_tree_root = 4; */ - public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { - return getTransactionStatusMerkleTreeRoot(); - } - - 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; - } + io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder(); - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (transactionStatusMerkleTreeRoot_ != null) { - output.writeMessage(1, getTransactionStatusMerkleTreeRoot()); - } - unknownFields.writeTo(output); + /** + *
+     * Indexed block height from side chain and merkle path for this side chain block
+     * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + int getIndexedMerklePathCount(); + /** + *
+     * Indexed block height from side chain and merkle path for this side chain block
+     * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + boolean containsIndexedMerklePath( + long key); + /** + * Use {@link #getIndexedMerklePathMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getIndexedMerklePath(); + /** + *
+     * Indexed block height from side chain and merkle path for this side chain block
+     * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + java.util.Map + getIndexedMerklePathMap(); + /** + *
+     * Indexed block height from side chain and merkle path for this side chain block
+     * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrDefault( + long key, + io.aelf.protobuf.generated.Client.MerklePath defaultValue); + /** + *
+     * Indexed block height from side chain and merkle path for this side chain block
+     * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrThrow( + long key); + + /** + *
+     * Extra data map.
+     * 
+ * + * map<string, bytes> extra_data = 6; + */ + int getExtraDataCount(); + /** + *
+     * Extra data map.
+     * 
+ * + * map<string, bytes> extra_data = 6; + */ + boolean containsExtraData( + java.lang.String key); + /** + * Use {@link #getExtraDataMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getExtraData(); + /** + *
+     * Extra data map.
+     * 
+ * + * map<string, bytes> extra_data = 6; + */ + java.util.Map + getExtraDataMap(); + /** + *
+     * Extra data map.
+     * 
+ * + * map<string, bytes> extra_data = 6; + */ + + com.google.protobuf.ByteString getExtraDataOrDefault( + java.lang.String key, + com.google.protobuf.ByteString defaultValue); + /** + *
+     * Extra data map.
+     * 
+ * + * map<string, bytes> extra_data = 6; + */ + + com.google.protobuf.ByteString getExtraDataOrThrow( + java.lang.String key); + } + /** + * Protobuf type {@code ParentChainBlockData} + */ + public static final class ParentChainBlockData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ParentChainBlockData) + ParentChainBlockDataOrBuilder { + private static final long serialVersionUID = 0L; + // Use ParentChainBlockData.newBuilder() to construct. + private ParentChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ParentChainBlockData() { } @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ParentChainBlockData(); + } - size = 0; - if (transactionStatusMerkleTreeRoot_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTransactionStatusMerkleTreeRoot()); + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ParentChainBlockData( + 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: { + + height_ = input.readInt64(); + break; + } + case 18: { + io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder subBuilder = null; + if (crossChainExtraData_ != null) { + subBuilder = crossChainExtraData_.toBuilder(); + } + crossChainExtraData_ = input.readMessage(io.aelf.protobuf.generated.Client.CrossChainExtraData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(crossChainExtraData_); + crossChainExtraData_ = subBuilder.buildPartial(); + } + + break; + } + case 24: { + + chainId_ = input.readInt32(); + break; + } + case 34: { + io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; + if (transactionStatusMerkleTreeRoot_ != null) { + subBuilder = transactionStatusMerkleTreeRoot_.toBuilder(); + } + transactionStatusMerkleTreeRoot_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transactionStatusMerkleTreeRoot_); + transactionStatusMerkleTreeRoot_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + indexedMerklePath_ = com.google.protobuf.MapField.newMapField( + IndexedMerklePathDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + indexedMerklePath__ = input.readMessage( + IndexedMerklePathDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + indexedMerklePath_.getMutableMap().put( + indexedMerklePath__.getKey(), indexedMerklePath__.getValue()); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + extraData_ = com.google.protobuf.MapField.newMapField( + ExtraDataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry + extraData__ = input.readMessage( + ExtraDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + extraData_.getMutableMap().put( + extraData__.getKey(), extraData__.getValue()); + 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 io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 5: + return internalGetIndexedMerklePath(); + case 6: + return internalGetExtraData(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.ParentChainBlockData.class, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder.class); + } + + public static final int HEIGHT_FIELD_NUMBER = 1; + private long height_; + /** + *
+     * The height of parent chain.
+     * 
+ * + * int64 height = 1; + * @return The height. + */ + public long getHeight() { + return height_; + } + + public static final int CROSS_CHAIN_EXTRA_DATA_FIELD_NUMBER = 2; + private io.aelf.protobuf.generated.Client.CrossChainExtraData crossChainExtraData_; + /** + *
+     * The merkle tree root computing from side chain roots.
+     * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + * @return Whether the crossChainExtraData field is set. + */ + public boolean hasCrossChainExtraData() { + return crossChainExtraData_ != null; + } + /** + *
+     * The merkle tree root computing from side chain roots.
+     * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + * @return The crossChainExtraData. + */ + public io.aelf.protobuf.generated.Client.CrossChainExtraData getCrossChainExtraData() { + return crossChainExtraData_ == null ? io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance() : crossChainExtraData_; + } + /** + *
+     * The merkle tree root computing from side chain roots.
+     * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + */ + public io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder getCrossChainExtraDataOrBuilder() { + return getCrossChainExtraData(); + } + + public static final int CHAIN_ID_FIELD_NUMBER = 3; + private int chainId_; + /** + *
+     * The parent chain id.
+     * 
+ * + * int32 chain_id = 3; + * @return The chainId. + */ + public int getChainId() { + return chainId_; + } + + public static final int TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER = 4; + private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; + /** + *
+     * The merkle tree root computing from transactions status in parent chain block.
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + * @return Whether the transactionStatusMerkleTreeRoot field is set. + */ + public boolean hasTransactionStatusMerkleTreeRoot() { + return transactionStatusMerkleTreeRoot_ != null; + } + /** + *
+     * The merkle tree root computing from transactions status in parent chain block.
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + * @return The transactionStatusMerkleTreeRoot. + */ + public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { + return transactionStatusMerkleTreeRoot_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + } + /** + *
+     * The merkle tree root computing from transactions status in parent chain block.
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { + return getTransactionStatusMerkleTreeRoot(); + } + + public static final int INDEXED_MERKLE_PATH_FIELD_NUMBER = 5; + private static final class IndexedMerklePathDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.Long, io.aelf.protobuf.generated.Client.MerklePath> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_IndexedMerklePathEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.INT64, + 0L, + com.google.protobuf.WireFormat.FieldType.MESSAGE, + io.aelf.protobuf.generated.Client.MerklePath.getDefaultInstance()); + } + private com.google.protobuf.MapField< + java.lang.Long, io.aelf.protobuf.generated.Client.MerklePath> indexedMerklePath_; + private com.google.protobuf.MapField + internalGetIndexedMerklePath() { + if (indexedMerklePath_ == null) { + return com.google.protobuf.MapField.emptyMapField( + IndexedMerklePathDefaultEntryHolder.defaultEntry); + } + return indexedMerklePath_; + } + + public int getIndexedMerklePathCount() { + return internalGetIndexedMerklePath().getMap().size(); + } + /** + *
+     * Indexed block height from side chain and merkle path for this side chain block
+     * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public boolean containsIndexedMerklePath( + long key) { + + return internalGetIndexedMerklePath().getMap().containsKey(key); + } + /** + * Use {@link #getIndexedMerklePathMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getIndexedMerklePath() { + return getIndexedMerklePathMap(); + } + /** + *
+     * Indexed block height from side chain and merkle path for this side chain block
+     * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public java.util.Map getIndexedMerklePathMap() { + return internalGetIndexedMerklePath().getMap(); + } + /** + *
+     * Indexed block height from side chain and merkle path for this side chain block
+     * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrDefault( + long key, + io.aelf.protobuf.generated.Client.MerklePath defaultValue) { + + java.util.Map map = + internalGetIndexedMerklePath().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Indexed block height from side chain and merkle path for this side chain block
+     * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrThrow( + long key) { + + java.util.Map map = + internalGetIndexedMerklePath().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int EXTRA_DATA_FIELD_NUMBER = 6; + private static final class ExtraDataDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.protobuf.ByteString> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_ExtraDataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.BYTES, + com.google.protobuf.ByteString.EMPTY); + } + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.ByteString> extraData_; + private com.google.protobuf.MapField + internalGetExtraData() { + if (extraData_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ExtraDataDefaultEntryHolder.defaultEntry); + } + return extraData_; + } + + public int getExtraDataCount() { + return internalGetExtraData().getMap().size(); + } + /** + *
+     * Extra data map.
+     * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public boolean containsExtraData( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetExtraData().getMap().containsKey(key); + } + /** + * Use {@link #getExtraDataMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getExtraData() { + return getExtraDataMap(); + } + /** + *
+     * Extra data map.
+     * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public java.util.Map getExtraDataMap() { + return internalGetExtraData().getMap(); + } + /** + *
+     * Extra data map.
+     * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public com.google.protobuf.ByteString getExtraDataOrDefault( + java.lang.String key, + com.google.protobuf.ByteString defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetExtraData().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Extra data map.
+     * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public com.google.protobuf.ByteString getExtraDataOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetExtraData().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + 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 (height_ != 0L) { + output.writeInt64(1, height_); + } + if (crossChainExtraData_ != null) { + output.writeMessage(2, getCrossChainExtraData()); + } + if (chainId_ != 0) { + output.writeInt32(3, chainId_); + } + if (transactionStatusMerkleTreeRoot_ != null) { + output.writeMessage(4, getTransactionStatusMerkleTreeRoot()); + } + com.google.protobuf.GeneratedMessageV3 + .serializeLongMapTo( + output, + internalGetIndexedMerklePath(), + IndexedMerklePathDefaultEntryHolder.defaultEntry, + 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetExtraData(), + ExtraDataDefaultEntryHolder.defaultEntry, + 6); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (height_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, height_); + } + if (crossChainExtraData_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCrossChainExtraData()); + } + if (chainId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, chainId_); + } + if (transactionStatusMerkleTreeRoot_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTransactionStatusMerkleTreeRoot()); + } + for (java.util.Map.Entry entry + : internalGetIndexedMerklePath().getMap().entrySet()) { + com.google.protobuf.MapEntry + indexedMerklePath__ = IndexedMerklePathDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, indexedMerklePath__); + } + for (java.util.Map.Entry entry + : internalGetExtraData().getMap().entrySet()) { + com.google.protobuf.MapEntry + extraData__ = ExtraDataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, extraData__); + } + 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 io.aelf.protobuf.generated.Client.ParentChainBlockData)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.Client.ParentChainBlockData other = (io.aelf.protobuf.generated.Client.ParentChainBlockData) obj; + + if (getHeight() + != other.getHeight()) return false; + if (hasCrossChainExtraData() != other.hasCrossChainExtraData()) return false; + if (hasCrossChainExtraData()) { + if (!getCrossChainExtraData() + .equals(other.getCrossChainExtraData())) return false; + } + if (getChainId() + != other.getChainId()) return false; + if (hasTransactionStatusMerkleTreeRoot() != other.hasTransactionStatusMerkleTreeRoot()) return false; + if (hasTransactionStatusMerkleTreeRoot()) { + if (!getTransactionStatusMerkleTreeRoot() + .equals(other.getTransactionStatusMerkleTreeRoot())) return false; + } + if (!internalGetIndexedMerklePath().equals( + other.internalGetIndexedMerklePath())) return false; + if (!internalGetExtraData().equals( + other.internalGetExtraData())) 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) + HEIGHT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getHeight()); + if (hasCrossChainExtraData()) { + hash = (37 * hash) + CROSS_CHAIN_EXTRA_DATA_FIELD_NUMBER; + hash = (53 * hash) + getCrossChainExtraData().hashCode(); + } + hash = (37 * hash) + CHAIN_ID_FIELD_NUMBER; + hash = (53 * hash) + getChainId(); + if (hasTransactionStatusMerkleTreeRoot()) { + hash = (37 * hash) + TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER; + hash = (53 * hash) + getTransactionStatusMerkleTreeRoot().hashCode(); + } + if (!internalGetIndexedMerklePath().getMap().isEmpty()) { + hash = (37 * hash) + INDEXED_MERKLE_PATH_FIELD_NUMBER; + hash = (53 * hash) + internalGetIndexedMerklePath().hashCode(); + } + if (!internalGetExtraData().getMap().isEmpty()) { + hash = (37 * hash) + EXTRA_DATA_FIELD_NUMBER; + hash = (53 * hash) + internalGetExtraData().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.ParentChainBlockData 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 io.aelf.protobuf.generated.Client.ParentChainBlockData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.ParentChainBlockData 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 io.aelf.protobuf.generated.Client.ParentChainBlockData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.ParentChainBlockData 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(io.aelf.protobuf.generated.Client.ParentChainBlockData 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; + } + /** + * Protobuf type {@code ParentChainBlockData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ParentChainBlockData) + io.aelf.protobuf.generated.Client.ParentChainBlockDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 5: + return internalGetIndexedMerklePath(); + case 6: + return internalGetExtraData(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 5: + return internalGetMutableIndexedMerklePath(); + case 6: + return internalGetMutableExtraData(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.ParentChainBlockData.class, io.aelf.protobuf.generated.Client.ParentChainBlockData.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.Client.ParentChainBlockData.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(); + height_ = 0L; + + if (crossChainExtraDataBuilder_ == null) { + crossChainExtraData_ = null; + } else { + crossChainExtraData_ = null; + crossChainExtraDataBuilder_ = null; + } + chainId_ = 0; + + if (transactionStatusMerkleTreeRootBuilder_ == null) { + transactionStatusMerkleTreeRoot_ = null; + } else { + transactionStatusMerkleTreeRoot_ = null; + transactionStatusMerkleTreeRootBuilder_ = null; + } + internalGetMutableIndexedMerklePath().clear(); + internalGetMutableExtraData().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.Client.internal_static_ParentChainBlockData_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.ParentChainBlockData getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.ParentChainBlockData.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.ParentChainBlockData build() { + io.aelf.protobuf.generated.Client.ParentChainBlockData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.ParentChainBlockData buildPartial() { + io.aelf.protobuf.generated.Client.ParentChainBlockData result = new io.aelf.protobuf.generated.Client.ParentChainBlockData(this); + int from_bitField0_ = bitField0_; + result.height_ = height_; + if (crossChainExtraDataBuilder_ == null) { + result.crossChainExtraData_ = crossChainExtraData_; + } else { + result.crossChainExtraData_ = crossChainExtraDataBuilder_.build(); + } + result.chainId_ = chainId_; + if (transactionStatusMerkleTreeRootBuilder_ == null) { + result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRoot_; + } else { + result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRootBuilder_.build(); + } + result.indexedMerklePath_ = internalGetIndexedMerklePath(); + result.indexedMerklePath_.makeImmutable(); + result.extraData_ = internalGetExtraData(); + result.extraData_.makeImmutable(); + 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 io.aelf.protobuf.generated.Client.ParentChainBlockData) { + return mergeFrom((io.aelf.protobuf.generated.Client.ParentChainBlockData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.Client.ParentChainBlockData other) { + if (other == io.aelf.protobuf.generated.Client.ParentChainBlockData.getDefaultInstance()) return this; + if (other.getHeight() != 0L) { + setHeight(other.getHeight()); + } + if (other.hasCrossChainExtraData()) { + mergeCrossChainExtraData(other.getCrossChainExtraData()); + } + if (other.getChainId() != 0) { + setChainId(other.getChainId()); + } + if (other.hasTransactionStatusMerkleTreeRoot()) { + mergeTransactionStatusMerkleTreeRoot(other.getTransactionStatusMerkleTreeRoot()); + } + internalGetMutableIndexedMerklePath().mergeFrom( + other.internalGetIndexedMerklePath()); + internalGetMutableExtraData().mergeFrom( + other.internalGetExtraData()); + 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 { + io.aelf.protobuf.generated.Client.ParentChainBlockData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.Client.ParentChainBlockData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private long height_ ; + /** + *
+       * The height of parent chain.
+       * 
+ * + * int64 height = 1; + * @return The height. + */ + public long getHeight() { + return height_; + } + /** + *
+       * The height of parent chain.
+       * 
+ * + * int64 height = 1; + * @param value The height to set. + * @return This builder for chaining. + */ + public Builder setHeight(long value) { + + height_ = value; + onChanged(); + return this; + } + /** + *
+       * The height of parent chain.
+       * 
+ * + * int64 height = 1; + * @return This builder for chaining. + */ + public Builder clearHeight() { + + height_ = 0L; + onChanged(); + return this; + } + + private io.aelf.protobuf.generated.Client.CrossChainExtraData crossChainExtraData_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.CrossChainExtraData, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder, io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder> crossChainExtraDataBuilder_; + /** + *
+       * The merkle tree root computing from side chain roots.
+       * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + * @return Whether the crossChainExtraData field is set. + */ + public boolean hasCrossChainExtraData() { + return crossChainExtraDataBuilder_ != null || crossChainExtraData_ != null; + } + /** + *
+       * The merkle tree root computing from side chain roots.
+       * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + * @return The crossChainExtraData. + */ + public io.aelf.protobuf.generated.Client.CrossChainExtraData getCrossChainExtraData() { + if (crossChainExtraDataBuilder_ == null) { + return crossChainExtraData_ == null ? io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance() : crossChainExtraData_; + } else { + return crossChainExtraDataBuilder_.getMessage(); + } + } + /** + *
+       * The merkle tree root computing from side chain roots.
+       * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + */ + public Builder setCrossChainExtraData(io.aelf.protobuf.generated.Client.CrossChainExtraData value) { + if (crossChainExtraDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + crossChainExtraData_ = value; + onChanged(); + } else { + crossChainExtraDataBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The merkle tree root computing from side chain roots.
+       * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + */ + public Builder setCrossChainExtraData( + io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder builderForValue) { + if (crossChainExtraDataBuilder_ == null) { + crossChainExtraData_ = builderForValue.build(); + onChanged(); + } else { + crossChainExtraDataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The merkle tree root computing from side chain roots.
+       * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + */ + public Builder mergeCrossChainExtraData(io.aelf.protobuf.generated.Client.CrossChainExtraData value) { + if (crossChainExtraDataBuilder_ == null) { + if (crossChainExtraData_ != null) { + crossChainExtraData_ = + io.aelf.protobuf.generated.Client.CrossChainExtraData.newBuilder(crossChainExtraData_).mergeFrom(value).buildPartial(); + } else { + crossChainExtraData_ = value; + } + onChanged(); + } else { + crossChainExtraDataBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The merkle tree root computing from side chain roots.
+       * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + */ + public Builder clearCrossChainExtraData() { + if (crossChainExtraDataBuilder_ == null) { + crossChainExtraData_ = null; + onChanged(); + } else { + crossChainExtraData_ = null; + crossChainExtraDataBuilder_ = null; + } + + return this; + } + /** + *
+       * The merkle tree root computing from side chain roots.
+       * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + */ + public io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder getCrossChainExtraDataBuilder() { + + onChanged(); + return getCrossChainExtraDataFieldBuilder().getBuilder(); + } + /** + *
+       * The merkle tree root computing from side chain roots.
+       * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + */ + public io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder getCrossChainExtraDataOrBuilder() { + if (crossChainExtraDataBuilder_ != null) { + return crossChainExtraDataBuilder_.getMessageOrBuilder(); + } else { + return crossChainExtraData_ == null ? + io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance() : crossChainExtraData_; + } + } + /** + *
+       * The merkle tree root computing from side chain roots.
+       * 
+ * + * .CrossChainExtraData cross_chain_extra_data = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.CrossChainExtraData, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder, io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder> + getCrossChainExtraDataFieldBuilder() { + if (crossChainExtraDataBuilder_ == null) { + crossChainExtraDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.CrossChainExtraData, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder, io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder>( + getCrossChainExtraData(), + getParentForChildren(), + isClean()); + crossChainExtraData_ = null; + } + return crossChainExtraDataBuilder_; + } + + private int chainId_ ; + /** + *
+       * The parent chain id.
+       * 
+ * + * int32 chain_id = 3; + * @return The chainId. + */ + public int getChainId() { + return chainId_; + } + /** + *
+       * The parent chain id.
+       * 
+ * + * int32 chain_id = 3; + * @param value The chainId to set. + * @return This builder for chaining. + */ + public Builder setChainId(int value) { + + chainId_ = value; + onChanged(); + return this; + } + /** + *
+       * The parent chain id.
+       * 
+ * + * int32 chain_id = 3; + * @return This builder for chaining. + */ + public Builder clearChainId() { + + chainId_ = 0; + onChanged(); + return this; + } + + private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> transactionStatusMerkleTreeRootBuilder_; + /** + *
+       * The merkle tree root computing from transactions status in parent chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + * @return Whether the transactionStatusMerkleTreeRoot field is set. + */ + public boolean hasTransactionStatusMerkleTreeRoot() { + return transactionStatusMerkleTreeRootBuilder_ != null || transactionStatusMerkleTreeRoot_ != null; + } + /** + *
+       * The merkle tree root computing from transactions status in parent chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + * @return The transactionStatusMerkleTreeRoot. + */ + public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + return transactionStatusMerkleTreeRoot_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + } else { + return transactionStatusMerkleTreeRootBuilder_.getMessage(); + } + } + /** + *
+       * The merkle tree root computing from transactions status in parent chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + */ + public Builder setTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transactionStatusMerkleTreeRoot_ = value; + onChanged(); + } else { + transactionStatusMerkleTreeRootBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The merkle tree root computing from transactions status in parent chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + */ + public Builder setTransactionStatusMerkleTreeRoot( + io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + transactionStatusMerkleTreeRoot_ = builderForValue.build(); + onChanged(); + } else { + transactionStatusMerkleTreeRootBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The merkle tree root computing from transactions status in parent chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + */ + public Builder mergeTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + if (transactionStatusMerkleTreeRoot_ != null) { + transactionStatusMerkleTreeRoot_ = + io.aelf.protobuf.generated.Client.Hash.newBuilder(transactionStatusMerkleTreeRoot_).mergeFrom(value).buildPartial(); + } else { + transactionStatusMerkleTreeRoot_ = value; + } + onChanged(); + } else { + transactionStatusMerkleTreeRootBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The merkle tree root computing from transactions status in parent chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + */ + public Builder clearTransactionStatusMerkleTreeRoot() { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + transactionStatusMerkleTreeRoot_ = null; + onChanged(); + } else { + transactionStatusMerkleTreeRoot_ = null; + transactionStatusMerkleTreeRootBuilder_ = null; + } + + return this; + } + /** + *
+       * The merkle tree root computing from transactions status in parent chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + */ + public io.aelf.protobuf.generated.Client.Hash.Builder getTransactionStatusMerkleTreeRootBuilder() { + + onChanged(); + return getTransactionStatusMerkleTreeRootFieldBuilder().getBuilder(); + } + /** + *
+       * The merkle tree root computing from transactions status in parent chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { + if (transactionStatusMerkleTreeRootBuilder_ != null) { + return transactionStatusMerkleTreeRootBuilder_.getMessageOrBuilder(); + } else { + return transactionStatusMerkleTreeRoot_ == null ? + io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + } + } + /** + *
+       * The merkle tree root computing from transactions status in parent chain block.
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> + getTransactionStatusMerkleTreeRootFieldBuilder() { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + transactionStatusMerkleTreeRootBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( + getTransactionStatusMerkleTreeRoot(), + getParentForChildren(), + isClean()); + transactionStatusMerkleTreeRoot_ = null; + } + return transactionStatusMerkleTreeRootBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.Long, io.aelf.protobuf.generated.Client.MerklePath> indexedMerklePath_; + private com.google.protobuf.MapField + internalGetIndexedMerklePath() { + if (indexedMerklePath_ == null) { + return com.google.protobuf.MapField.emptyMapField( + IndexedMerklePathDefaultEntryHolder.defaultEntry); + } + return indexedMerklePath_; + } + private com.google.protobuf.MapField + internalGetMutableIndexedMerklePath() { + onChanged();; + if (indexedMerklePath_ == null) { + indexedMerklePath_ = com.google.protobuf.MapField.newMapField( + IndexedMerklePathDefaultEntryHolder.defaultEntry); + } + if (!indexedMerklePath_.isMutable()) { + indexedMerklePath_ = indexedMerklePath_.copy(); + } + return indexedMerklePath_; + } + + public int getIndexedMerklePathCount() { + return internalGetIndexedMerklePath().getMap().size(); + } + /** + *
+       * Indexed block height from side chain and merkle path for this side chain block
+       * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public boolean containsIndexedMerklePath( + long key) { + + return internalGetIndexedMerklePath().getMap().containsKey(key); + } + /** + * Use {@link #getIndexedMerklePathMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getIndexedMerklePath() { + return getIndexedMerklePathMap(); + } + /** + *
+       * Indexed block height from side chain and merkle path for this side chain block
+       * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public java.util.Map getIndexedMerklePathMap() { + return internalGetIndexedMerklePath().getMap(); + } + /** + *
+       * Indexed block height from side chain and merkle path for this side chain block
+       * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrDefault( + long key, + io.aelf.protobuf.generated.Client.MerklePath defaultValue) { + + java.util.Map map = + internalGetIndexedMerklePath().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Indexed block height from side chain and merkle path for this side chain block
+       * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public io.aelf.protobuf.generated.Client.MerklePath getIndexedMerklePathOrThrow( + long key) { + + java.util.Map map = + internalGetIndexedMerklePath().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearIndexedMerklePath() { + internalGetMutableIndexedMerklePath().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Indexed block height from side chain and merkle path for this side chain block
+       * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public Builder removeIndexedMerklePath( + long key) { + + internalGetMutableIndexedMerklePath().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableIndexedMerklePath() { + return internalGetMutableIndexedMerklePath().getMutableMap(); + } + /** + *
+       * Indexed block height from side chain and merkle path for this side chain block
+       * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + public Builder putIndexedMerklePath( + long key, + io.aelf.protobuf.generated.Client.MerklePath value) { + + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableIndexedMerklePath().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * Indexed block height from side chain and merkle path for this side chain block
+       * 
+ * + * map<int64, .MerklePath> indexed_merkle_path = 5; + */ + + public Builder putAllIndexedMerklePath( + java.util.Map values) { + internalGetMutableIndexedMerklePath().getMutableMap() + .putAll(values); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.protobuf.ByteString> extraData_; + private com.google.protobuf.MapField + internalGetExtraData() { + if (extraData_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ExtraDataDefaultEntryHolder.defaultEntry); + } + return extraData_; + } + private com.google.protobuf.MapField + internalGetMutableExtraData() { + onChanged();; + if (extraData_ == null) { + extraData_ = com.google.protobuf.MapField.newMapField( + ExtraDataDefaultEntryHolder.defaultEntry); + } + if (!extraData_.isMutable()) { + extraData_ = extraData_.copy(); + } + return extraData_; + } + + public int getExtraDataCount() { + return internalGetExtraData().getMap().size(); + } + /** + *
+       * Extra data map.
+       * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public boolean containsExtraData( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetExtraData().getMap().containsKey(key); + } + /** + * Use {@link #getExtraDataMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getExtraData() { + return getExtraDataMap(); + } + /** + *
+       * Extra data map.
+       * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public java.util.Map getExtraDataMap() { + return internalGetExtraData().getMap(); + } + /** + *
+       * Extra data map.
+       * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public com.google.protobuf.ByteString getExtraDataOrDefault( + java.lang.String key, + com.google.protobuf.ByteString defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetExtraData().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Extra data map.
+       * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public com.google.protobuf.ByteString getExtraDataOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetExtraData().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearExtraData() { + internalGetMutableExtraData().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Extra data map.
+       * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public Builder removeExtraData( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableExtraData().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableExtraData() { + return internalGetMutableExtraData().getMutableMap(); + } + /** + *
+       * Extra data map.
+       * 
+ * + * map<string, bytes> extra_data = 6; + */ + public Builder putExtraData( + java.lang.String key, + com.google.protobuf.ByteString value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableExtraData().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * Extra data map.
+       * 
+ * + * map<string, bytes> extra_data = 6; + */ + + public Builder putAllExtraData( + java.util.Map values) { + internalGetMutableExtraData().getMutableMap() + .putAll(values); + 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:ParentChainBlockData) + } + + // @@protoc_insertion_point(class_scope:ParentChainBlockData) + private static final io.aelf.protobuf.generated.Client.ParentChainBlockData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ParentChainBlockData(); + } + + public static io.aelf.protobuf.generated.Client.ParentChainBlockData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParentChainBlockData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ParentChainBlockData(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 io.aelf.protobuf.generated.Client.ParentChainBlockData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CrossChainExtraDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:CrossChainExtraData) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Merkle tree root of side chain block transaction status root
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + * @return Whether the transactionStatusMerkleTreeRoot field is set. + */ + boolean hasTransactionStatusMerkleTreeRoot(); + /** + *
+     * Merkle tree root of side chain block transaction status root
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + * @return The transactionStatusMerkleTreeRoot. + */ + io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot(); + /** + *
+     * Merkle tree root of side chain block transaction status root
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + */ + io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder(); + } + /** + * Protobuf type {@code CrossChainExtraData} + */ + public static final class CrossChainExtraData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CrossChainExtraData) + CrossChainExtraDataOrBuilder { + private static final long serialVersionUID = 0L; + // Use CrossChainExtraData.newBuilder() to construct. + private CrossChainExtraData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CrossChainExtraData() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CrossChainExtraData(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CrossChainExtraData( + 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 10: { + io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; + if (transactionStatusMerkleTreeRoot_ != null) { + subBuilder = transactionStatusMerkleTreeRoot_.toBuilder(); + } + transactionStatusMerkleTreeRoot_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transactionStatusMerkleTreeRoot_); + transactionStatusMerkleTreeRoot_ = subBuilder.buildPartial(); + } + + 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 io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.CrossChainExtraData.class, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder.class); + } + + public static final int TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER = 1; + private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; + /** + *
+     * Merkle tree root of side chain block transaction status root
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + * @return Whether the transactionStatusMerkleTreeRoot field is set. + */ + public boolean hasTransactionStatusMerkleTreeRoot() { + return transactionStatusMerkleTreeRoot_ != null; + } + /** + *
+     * Merkle tree root of side chain block transaction status root
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + * @return The transactionStatusMerkleTreeRoot. + */ + public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { + return transactionStatusMerkleTreeRoot_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + } + /** + *
+     * Merkle tree root of side chain block transaction status root
+     * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { + return getTransactionStatusMerkleTreeRoot(); + } + + 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 (transactionStatusMerkleTreeRoot_ != null) { + output.writeMessage(1, getTransactionStatusMerkleTreeRoot()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (transactionStatusMerkleTreeRoot_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTransactionStatusMerkleTreeRoot()); + } + 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 io.aelf.protobuf.generated.Client.CrossChainExtraData)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.Client.CrossChainExtraData other = (io.aelf.protobuf.generated.Client.CrossChainExtraData) obj; + + if (hasTransactionStatusMerkleTreeRoot() != other.hasTransactionStatusMerkleTreeRoot()) return false; + if (hasTransactionStatusMerkleTreeRoot()) { + if (!getTransactionStatusMerkleTreeRoot() + .equals(other.getTransactionStatusMerkleTreeRoot())) 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 (hasTransactionStatusMerkleTreeRoot()) { + hash = (37 * hash) + TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER; + hash = (53 * hash) + getTransactionStatusMerkleTreeRoot().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.CrossChainExtraData 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 io.aelf.protobuf.generated.Client.CrossChainExtraData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.CrossChainExtraData 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 io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.CrossChainExtraData 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(io.aelf.protobuf.generated.Client.CrossChainExtraData 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; + } + /** + * Protobuf type {@code CrossChainExtraData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CrossChainExtraData) + io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.CrossChainExtraData.class, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.Client.CrossChainExtraData.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(); + if (transactionStatusMerkleTreeRootBuilder_ == null) { + transactionStatusMerkleTreeRoot_ = null; + } else { + transactionStatusMerkleTreeRoot_ = null; + transactionStatusMerkleTreeRootBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.CrossChainExtraData getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.CrossChainExtraData build() { + io.aelf.protobuf.generated.Client.CrossChainExtraData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.CrossChainExtraData buildPartial() { + io.aelf.protobuf.generated.Client.CrossChainExtraData result = new io.aelf.protobuf.generated.Client.CrossChainExtraData(this); + if (transactionStatusMerkleTreeRootBuilder_ == null) { + result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRoot_; + } else { + result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRootBuilder_.build(); + } + 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 io.aelf.protobuf.generated.Client.CrossChainExtraData) { + return mergeFrom((io.aelf.protobuf.generated.Client.CrossChainExtraData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.Client.CrossChainExtraData other) { + if (other == io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance()) return this; + if (other.hasTransactionStatusMerkleTreeRoot()) { + mergeTransactionStatusMerkleTreeRoot(other.getTransactionStatusMerkleTreeRoot()); + } + 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 { + io.aelf.protobuf.generated.Client.CrossChainExtraData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.Client.CrossChainExtraData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> transactionStatusMerkleTreeRootBuilder_; + /** + *
+       * Merkle tree root of side chain block transaction status root
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + * @return Whether the transactionStatusMerkleTreeRoot field is set. + */ + public boolean hasTransactionStatusMerkleTreeRoot() { + return transactionStatusMerkleTreeRootBuilder_ != null || transactionStatusMerkleTreeRoot_ != null; + } + /** + *
+       * Merkle tree root of side chain block transaction status root
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + * @return The transactionStatusMerkleTreeRoot. + */ + public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + return transactionStatusMerkleTreeRoot_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + } else { + return transactionStatusMerkleTreeRootBuilder_.getMessage(); + } + } + /** + *
+       * Merkle tree root of side chain block transaction status root
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + */ + public Builder setTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transactionStatusMerkleTreeRoot_ = value; + onChanged(); + } else { + transactionStatusMerkleTreeRootBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Merkle tree root of side chain block transaction status root
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + */ + public Builder setTransactionStatusMerkleTreeRoot( + io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + transactionStatusMerkleTreeRoot_ = builderForValue.build(); + onChanged(); + } else { + transactionStatusMerkleTreeRootBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Merkle tree root of side chain block transaction status root
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + */ + public Builder mergeTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + if (transactionStatusMerkleTreeRoot_ != null) { + transactionStatusMerkleTreeRoot_ = + io.aelf.protobuf.generated.Client.Hash.newBuilder(transactionStatusMerkleTreeRoot_).mergeFrom(value).buildPartial(); + } else { + transactionStatusMerkleTreeRoot_ = value; + } + onChanged(); + } else { + transactionStatusMerkleTreeRootBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Merkle tree root of side chain block transaction status root
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + */ + public Builder clearTransactionStatusMerkleTreeRoot() { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + transactionStatusMerkleTreeRoot_ = null; + onChanged(); + } else { + transactionStatusMerkleTreeRoot_ = null; + transactionStatusMerkleTreeRootBuilder_ = null; + } + + return this; + } + /** + *
+       * Merkle tree root of side chain block transaction status root
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + */ + public io.aelf.protobuf.generated.Client.Hash.Builder getTransactionStatusMerkleTreeRootBuilder() { + + onChanged(); + return getTransactionStatusMerkleTreeRootFieldBuilder().getBuilder(); + } + /** + *
+       * Merkle tree root of side chain block transaction status root
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { + if (transactionStatusMerkleTreeRootBuilder_ != null) { + return transactionStatusMerkleTreeRootBuilder_.getMessageOrBuilder(); + } else { + return transactionStatusMerkleTreeRoot_ == null ? + io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + } + } + /** + *
+       * Merkle tree root of side chain block transaction status root
+       * 
+ * + * .Hash transaction_status_merkle_tree_root = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> + getTransactionStatusMerkleTreeRootFieldBuilder() { + if (transactionStatusMerkleTreeRootBuilder_ == null) { + transactionStatusMerkleTreeRootBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( + getTransactionStatusMerkleTreeRoot(), + getParentForChildren(), + isClean()); + transactionStatusMerkleTreeRoot_ = null; + } + return transactionStatusMerkleTreeRootBuilder_; + } + @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:CrossChainExtraData) + } + + // @@protoc_insertion_point(class_scope:CrossChainExtraData) + private static final io.aelf.protobuf.generated.Client.CrossChainExtraData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.CrossChainExtraData(); + } + + public static io.aelf.protobuf.generated.Client.CrossChainExtraData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CrossChainExtraData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CrossChainExtraData(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 io.aelf.protobuf.generated.Client.CrossChainExtraData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CrossChainMerkleProofContextOrBuilder extends + // @@protoc_insertion_point(interface_extends:CrossChainMerkleProofContext) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The height of parent chain bound up with side chain.
+     * 
+ * + * int64 bound_parent_chain_height = 1; + * @return The boundParentChainHeight. + */ + long getBoundParentChainHeight(); + + /** + *
+     * The merkle path generated from parent chain.
+     * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + * @return Whether the merklePathFromParentChain field is set. + */ + boolean hasMerklePathFromParentChain(); + /** + *
+     * The merkle path generated from parent chain.
+     * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + * @return The merklePathFromParentChain. + */ + io.aelf.protobuf.generated.Client.MerklePath getMerklePathFromParentChain(); + /** + *
+     * The merkle path generated from parent chain.
+     * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + */ + io.aelf.protobuf.generated.Client.MerklePathOrBuilder getMerklePathFromParentChainOrBuilder(); + } + /** + * Protobuf type {@code CrossChainMerkleProofContext} + */ + public static final class CrossChainMerkleProofContext extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:CrossChainMerkleProofContext) + CrossChainMerkleProofContextOrBuilder { + private static final long serialVersionUID = 0L; + // Use CrossChainMerkleProofContext.newBuilder() to construct. + private CrossChainMerkleProofContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CrossChainMerkleProofContext() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CrossChainMerkleProofContext(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CrossChainMerkleProofContext( + 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: { + + boundParentChainHeight_ = input.readInt64(); + break; + } + case 18: { + io.aelf.protobuf.generated.Client.MerklePath.Builder subBuilder = null; + if (merklePathFromParentChain_ != null) { + subBuilder = merklePathFromParentChain_.toBuilder(); + } + merklePathFromParentChain_ = input.readMessage(io.aelf.protobuf.generated.Client.MerklePath.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(merklePathFromParentChain_); + merklePathFromParentChain_ = subBuilder.buildPartial(); + } + + 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 io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.class, io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.Builder.class); + } + + public static final int BOUND_PARENT_CHAIN_HEIGHT_FIELD_NUMBER = 1; + private long boundParentChainHeight_; + /** + *
+     * The height of parent chain bound up with side chain.
+     * 
+ * + * int64 bound_parent_chain_height = 1; + * @return The boundParentChainHeight. + */ + public long getBoundParentChainHeight() { + return boundParentChainHeight_; + } + + public static final int MERKLE_PATH_FROM_PARENT_CHAIN_FIELD_NUMBER = 2; + private io.aelf.protobuf.generated.Client.MerklePath merklePathFromParentChain_; + /** + *
+     * The merkle path generated from parent chain.
+     * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + * @return Whether the merklePathFromParentChain field is set. + */ + public boolean hasMerklePathFromParentChain() { + return merklePathFromParentChain_ != null; + } + /** + *
+     * The merkle path generated from parent chain.
+     * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + * @return The merklePathFromParentChain. + */ + public io.aelf.protobuf.generated.Client.MerklePath getMerklePathFromParentChain() { + return merklePathFromParentChain_ == null ? io.aelf.protobuf.generated.Client.MerklePath.getDefaultInstance() : merklePathFromParentChain_; + } + /** + *
+     * The merkle path generated from parent chain.
+     * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + */ + public io.aelf.protobuf.generated.Client.MerklePathOrBuilder getMerklePathFromParentChainOrBuilder() { + return getMerklePathFromParentChain(); + } + + 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 (boundParentChainHeight_ != 0L) { + output.writeInt64(1, boundParentChainHeight_); + } + if (merklePathFromParentChain_ != null) { + output.writeMessage(2, getMerklePathFromParentChain()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (boundParentChainHeight_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, boundParentChainHeight_); + } + if (merklePathFromParentChain_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMerklePathFromParentChain()); + } + 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 io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext other = (io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext) obj; + + if (getBoundParentChainHeight() + != other.getBoundParentChainHeight()) return false; + if (hasMerklePathFromParentChain() != other.hasMerklePathFromParentChain()) return false; + if (hasMerklePathFromParentChain()) { + if (!getMerklePathFromParentChain() + .equals(other.getMerklePathFromParentChain())) 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) + BOUND_PARENT_CHAIN_HEIGHT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBoundParentChainHeight()); + if (hasMerklePathFromParentChain()) { + hash = (37 * hash) + MERKLE_PATH_FROM_PARENT_CHAIN_FIELD_NUMBER; + hash = (53 * hash) + getMerklePathFromParentChain().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext 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 io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext 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 io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext 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(io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext 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; + } + /** + * Protobuf type {@code CrossChainMerkleProofContext} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:CrossChainMerkleProofContext) + io.aelf.protobuf.generated.Client.CrossChainMerkleProofContextOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.class, io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.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(); + boundParentChainHeight_ = 0L; + + if (merklePathFromParentChainBuilder_ == null) { + merklePathFromParentChain_ = null; + } else { + merklePathFromParentChain_ = null; + merklePathFromParentChainBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext build() { + io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext buildPartial() { + io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext result = new io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext(this); + result.boundParentChainHeight_ = boundParentChainHeight_; + if (merklePathFromParentChainBuilder_ == null) { + result.merklePathFromParentChain_ = merklePathFromParentChain_; + } else { + result.merklePathFromParentChain_ = merklePathFromParentChainBuilder_.build(); + } + 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 io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext) { + return mergeFrom((io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext other) { + if (other == io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.getDefaultInstance()) return this; + if (other.getBoundParentChainHeight() != 0L) { + setBoundParentChainHeight(other.getBoundParentChainHeight()); + } + if (other.hasMerklePathFromParentChain()) { + mergeMerklePathFromParentChain(other.getMerklePathFromParentChain()); + } + 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 { + io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private long boundParentChainHeight_ ; + /** + *
+       * The height of parent chain bound up with side chain.
+       * 
+ * + * int64 bound_parent_chain_height = 1; + * @return The boundParentChainHeight. + */ + public long getBoundParentChainHeight() { + return boundParentChainHeight_; + } + /** + *
+       * The height of parent chain bound up with side chain.
+       * 
+ * + * int64 bound_parent_chain_height = 1; + * @param value The boundParentChainHeight to set. + * @return This builder for chaining. + */ + public Builder setBoundParentChainHeight(long value) { + + boundParentChainHeight_ = value; + onChanged(); + return this; + } + /** + *
+       * The height of parent chain bound up with side chain.
+       * 
+ * + * int64 bound_parent_chain_height = 1; + * @return This builder for chaining. + */ + public Builder clearBoundParentChainHeight() { + + boundParentChainHeight_ = 0L; + onChanged(); + return this; + } + + private io.aelf.protobuf.generated.Client.MerklePath merklePathFromParentChain_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.MerklePath, io.aelf.protobuf.generated.Client.MerklePath.Builder, io.aelf.protobuf.generated.Client.MerklePathOrBuilder> merklePathFromParentChainBuilder_; + /** + *
+       * The merkle path generated from parent chain.
+       * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + * @return Whether the merklePathFromParentChain field is set. + */ + public boolean hasMerklePathFromParentChain() { + return merklePathFromParentChainBuilder_ != null || merklePathFromParentChain_ != null; + } + /** + *
+       * The merkle path generated from parent chain.
+       * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + * @return The merklePathFromParentChain. + */ + public io.aelf.protobuf.generated.Client.MerklePath getMerklePathFromParentChain() { + if (merklePathFromParentChainBuilder_ == null) { + return merklePathFromParentChain_ == null ? io.aelf.protobuf.generated.Client.MerklePath.getDefaultInstance() : merklePathFromParentChain_; + } else { + return merklePathFromParentChainBuilder_.getMessage(); + } + } + /** + *
+       * The merkle path generated from parent chain.
+       * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + */ + public Builder setMerklePathFromParentChain(io.aelf.protobuf.generated.Client.MerklePath value) { + if (merklePathFromParentChainBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + merklePathFromParentChain_ = value; + onChanged(); + } else { + merklePathFromParentChainBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The merkle path generated from parent chain.
+       * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + */ + public Builder setMerklePathFromParentChain( + io.aelf.protobuf.generated.Client.MerklePath.Builder builderForValue) { + if (merklePathFromParentChainBuilder_ == null) { + merklePathFromParentChain_ = builderForValue.build(); + onChanged(); + } else { + merklePathFromParentChainBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The merkle path generated from parent chain.
+       * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + */ + public Builder mergeMerklePathFromParentChain(io.aelf.protobuf.generated.Client.MerklePath value) { + if (merklePathFromParentChainBuilder_ == null) { + if (merklePathFromParentChain_ != null) { + merklePathFromParentChain_ = + io.aelf.protobuf.generated.Client.MerklePath.newBuilder(merklePathFromParentChain_).mergeFrom(value).buildPartial(); + } else { + merklePathFromParentChain_ = value; + } + onChanged(); + } else { + merklePathFromParentChainBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The merkle path generated from parent chain.
+       * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + */ + public Builder clearMerklePathFromParentChain() { + if (merklePathFromParentChainBuilder_ == null) { + merklePathFromParentChain_ = null; + onChanged(); + } else { + merklePathFromParentChain_ = null; + merklePathFromParentChainBuilder_ = null; + } + + return this; + } + /** + *
+       * The merkle path generated from parent chain.
+       * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + */ + public io.aelf.protobuf.generated.Client.MerklePath.Builder getMerklePathFromParentChainBuilder() { + + onChanged(); + return getMerklePathFromParentChainFieldBuilder().getBuilder(); + } + /** + *
+       * The merkle path generated from parent chain.
+       * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + */ + public io.aelf.protobuf.generated.Client.MerklePathOrBuilder getMerklePathFromParentChainOrBuilder() { + if (merklePathFromParentChainBuilder_ != null) { + return merklePathFromParentChainBuilder_.getMessageOrBuilder(); + } else { + return merklePathFromParentChain_ == null ? + io.aelf.protobuf.generated.Client.MerklePath.getDefaultInstance() : merklePathFromParentChain_; + } + } + /** + *
+       * The merkle path generated from parent chain.
+       * 
+ * + * .MerklePath merkle_path_from_parent_chain = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.MerklePath, io.aelf.protobuf.generated.Client.MerklePath.Builder, io.aelf.protobuf.generated.Client.MerklePathOrBuilder> + getMerklePathFromParentChainFieldBuilder() { + if (merklePathFromParentChainBuilder_ == null) { + merklePathFromParentChainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.MerklePath, io.aelf.protobuf.generated.Client.MerklePath.Builder, io.aelf.protobuf.generated.Client.MerklePathOrBuilder>( + getMerklePathFromParentChain(), + getParentForChildren(), + isClean()); + merklePathFromParentChain_ = null; + } + return merklePathFromParentChainBuilder_; + } + @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:CrossChainMerkleProofContext) + } + + // @@protoc_insertion_point(class_scope:CrossChainMerkleProofContext) + private static final io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext(); + } + + public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CrossChainMerkleProofContext parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CrossChainMerkleProofContext(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 io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ChainInitializationDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:ChainInitializationData) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The id of side chain.
+     * 
+ * + * int32 chain_id = 1; + * @return The chainId. + */ + int getChainId(); + + /** + *
+     * The side chain creator.
+     * 
+ * + * .Address creator = 2; + * @return Whether the creator field is set. + */ + boolean hasCreator(); + /** + *
+     * The side chain creator.
+     * 
+ * + * .Address creator = 2; + * @return The creator. + */ + io.aelf.protobuf.generated.Client.Address getCreator(); + /** + *
+     * The side chain creator.
+     * 
+ * + * .Address creator = 2; + */ + io.aelf.protobuf.generated.Client.AddressOrBuilder getCreatorOrBuilder(); + + /** + *
+     * The timestamp for side chain creation.
+     * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + * @return Whether the creationTimestamp field is set. + */ + boolean hasCreationTimestamp(); + /** + *
+     * The timestamp for side chain creation.
+     * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + * @return The creationTimestamp. + */ + com.google.protobuf.Timestamp getCreationTimestamp(); + /** + *
+     * The timestamp for side chain creation.
+     * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + */ + com.google.protobuf.TimestampOrBuilder getCreationTimestampOrBuilder(); + + /** + *
+     * The height of side chain creation on parent chain.
+     * 
+ * + * int64 creation_height_on_parent_chain = 4; + * @return The creationHeightOnParentChain. + */ + long getCreationHeightOnParentChain(); + + /** + *
+     * Creator privilege boolean flag: True if chain creator privilege preserved, otherwise false.
+     * 
+ * + * bool chain_creator_privilege_preserved = 5; + * @return The chainCreatorPrivilegePreserved. + */ + boolean getChainCreatorPrivilegePreserved(); + + /** + *
+     * Parent chain token contract address.
+     * 
+ * + * .Address parent_chain_token_contract_address = 6; + * @return Whether the parentChainTokenContractAddress field is set. + */ + boolean hasParentChainTokenContractAddress(); + /** + *
+     * Parent chain token contract address.
+     * 
+ * + * .Address parent_chain_token_contract_address = 6; + * @return The parentChainTokenContractAddress. + */ + io.aelf.protobuf.generated.Client.Address getParentChainTokenContractAddress(); + /** + *
+     * Parent chain token contract address.
+     * 
+ * + * .Address parent_chain_token_contract_address = 6; + */ + io.aelf.protobuf.generated.Client.AddressOrBuilder getParentChainTokenContractAddressOrBuilder(); + + /** + *
+     * Initial consensus information.
+     * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + * @return Whether the chainInitializationConsensusInfo field is set. + */ + boolean hasChainInitializationConsensusInfo(); + /** + *
+     * Initial consensus information.
+     * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + * @return The chainInitializationConsensusInfo. + */ + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo getChainInitializationConsensusInfo(); + /** + *
+     * Initial consensus information.
+     * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + */ + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfoOrBuilder getChainInitializationConsensusInfoOrBuilder(); + + /** + *
+     * The native token info.
+     * 
+ * + * bytes native_token_info_data = 8; + * @return The nativeTokenInfoData. + */ + com.google.protobuf.ByteString getNativeTokenInfoData(); + + /** + *
+     * The resource token information.
+     * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + * @return Whether the resourceTokenInfo field is set. + */ + boolean hasResourceTokenInfo(); + /** + *
+     * The resource token information.
+     * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + * @return The resourceTokenInfo. + */ + io.aelf.protobuf.generated.Client.ResourceTokenInfo getResourceTokenInfo(); + /** + *
+     * The resource token information.
+     * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + */ + io.aelf.protobuf.generated.Client.ResourceTokenInfoOrBuilder getResourceTokenInfoOrBuilder(); + + /** + *
+     * The chain primary token information.
+     * 
+ * + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; + * @return Whether the chainPrimaryTokenInfo field is set. + */ + boolean hasChainPrimaryTokenInfo(); + /** + *
+     * The chain primary token information.
+     * 
+ * + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; + * @return The chainPrimaryTokenInfo. + */ + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo getChainPrimaryTokenInfo(); + /** + *
+     * The chain primary token information.
+     * 
+ * + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; + */ + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfoOrBuilder getChainPrimaryTokenInfoOrBuilder(); + } + /** + * Protobuf type {@code ChainInitializationData} + */ + public static final class ChainInitializationData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ChainInitializationData) + ChainInitializationDataOrBuilder { + private static final long serialVersionUID = 0L; + // Use ChainInitializationData.newBuilder() to construct. + private ChainInitializationData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ChainInitializationData() { + nativeTokenInfoData_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChainInitializationData(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ChainInitializationData( + 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: { + + chainId_ = input.readInt32(); + break; + } + case 18: { + io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; + if (creator_ != null) { + subBuilder = creator_.toBuilder(); + } + creator_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(creator_); + creator_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (creationTimestamp_ != null) { + subBuilder = creationTimestamp_.toBuilder(); + } + creationTimestamp_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(creationTimestamp_); + creationTimestamp_ = subBuilder.buildPartial(); + } + + break; + } + case 32: { + + creationHeightOnParentChain_ = input.readInt64(); + break; + } + case 40: { + + chainCreatorPrivilegePreserved_ = input.readBool(); + break; + } + case 50: { + io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; + if (parentChainTokenContractAddress_ != null) { + subBuilder = parentChainTokenContractAddress_.toBuilder(); + } + parentChainTokenContractAddress_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(parentChainTokenContractAddress_); + parentChainTokenContractAddress_ = subBuilder.buildPartial(); + } + + break; + } + case 58: { + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.Builder subBuilder = null; + if (chainInitializationConsensusInfo_ != null) { + subBuilder = chainInitializationConsensusInfo_.toBuilder(); + } + chainInitializationConsensusInfo_ = input.readMessage(io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chainInitializationConsensusInfo_); + chainInitializationConsensusInfo_ = subBuilder.buildPartial(); + } + + break; + } + case 66: { + + nativeTokenInfoData_ = input.readBytes(); + break; + } + case 74: { + io.aelf.protobuf.generated.Client.ResourceTokenInfo.Builder subBuilder = null; + if (resourceTokenInfo_ != null) { + subBuilder = resourceTokenInfo_.toBuilder(); + } + resourceTokenInfo_ = input.readMessage(io.aelf.protobuf.generated.Client.ResourceTokenInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceTokenInfo_); + resourceTokenInfo_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.Builder subBuilder = null; + if (chainPrimaryTokenInfo_ != null) { + subBuilder = chainPrimaryTokenInfo_.toBuilder(); + } + chainPrimaryTokenInfo_ = input.readMessage(io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chainPrimaryTokenInfo_); + chainPrimaryTokenInfo_ = subBuilder.buildPartial(); + } + + 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 io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.ChainInitializationData.class, io.aelf.protobuf.generated.Client.ChainInitializationData.Builder.class); + } + + public static final int CHAIN_ID_FIELD_NUMBER = 1; + private int chainId_; + /** + *
+     * The id of side chain.
+     * 
+ * + * int32 chain_id = 1; + * @return The chainId. + */ + public int getChainId() { + return chainId_; + } + + public static final int CREATOR_FIELD_NUMBER = 2; + private io.aelf.protobuf.generated.Client.Address creator_; + /** + *
+     * The side chain creator.
+     * 
+ * + * .Address creator = 2; + * @return Whether the creator field is set. + */ + public boolean hasCreator() { + return creator_ != null; + } + /** + *
+     * The side chain creator.
+     * 
+ * + * .Address creator = 2; + * @return The creator. + */ + public io.aelf.protobuf.generated.Client.Address getCreator() { + return creator_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : creator_; + } + /** + *
+     * The side chain creator.
+     * 
+ * + * .Address creator = 2; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getCreatorOrBuilder() { + return getCreator(); + } + + public static final int CREATION_TIMESTAMP_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp creationTimestamp_; + /** + *
+     * The timestamp for side chain creation.
+     * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + * @return Whether the creationTimestamp field is set. + */ + public boolean hasCreationTimestamp() { + return creationTimestamp_ != null; + } + /** + *
+     * The timestamp for side chain creation.
+     * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + * @return The creationTimestamp. + */ + public com.google.protobuf.Timestamp getCreationTimestamp() { + return creationTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTimestamp_; + } + /** + *
+     * The timestamp for side chain creation.
+     * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + */ + public com.google.protobuf.TimestampOrBuilder getCreationTimestampOrBuilder() { + return getCreationTimestamp(); + } + + public static final int CREATION_HEIGHT_ON_PARENT_CHAIN_FIELD_NUMBER = 4; + private long creationHeightOnParentChain_; + /** + *
+     * The height of side chain creation on parent chain.
+     * 
+ * + * int64 creation_height_on_parent_chain = 4; + * @return The creationHeightOnParentChain. + */ + public long getCreationHeightOnParentChain() { + return creationHeightOnParentChain_; + } + + public static final int CHAIN_CREATOR_PRIVILEGE_PRESERVED_FIELD_NUMBER = 5; + private boolean chainCreatorPrivilegePreserved_; + /** + *
+     * Creator privilege boolean flag: True if chain creator privilege preserved, otherwise false.
+     * 
+ * + * bool chain_creator_privilege_preserved = 5; + * @return The chainCreatorPrivilegePreserved. + */ + public boolean getChainCreatorPrivilegePreserved() { + return chainCreatorPrivilegePreserved_; + } + + public static final int PARENT_CHAIN_TOKEN_CONTRACT_ADDRESS_FIELD_NUMBER = 6; + private io.aelf.protobuf.generated.Client.Address parentChainTokenContractAddress_; + /** + *
+     * Parent chain token contract address.
+     * 
+ * + * .Address parent_chain_token_contract_address = 6; + * @return Whether the parentChainTokenContractAddress field is set. + */ + public boolean hasParentChainTokenContractAddress() { + return parentChainTokenContractAddress_ != null; + } + /** + *
+     * Parent chain token contract address.
+     * 
+ * + * .Address parent_chain_token_contract_address = 6; + * @return The parentChainTokenContractAddress. + */ + public io.aelf.protobuf.generated.Client.Address getParentChainTokenContractAddress() { + return parentChainTokenContractAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : parentChainTokenContractAddress_; + } + /** + *
+     * Parent chain token contract address.
+     * 
+ * + * .Address parent_chain_token_contract_address = 6; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getParentChainTokenContractAddressOrBuilder() { + return getParentChainTokenContractAddress(); + } + + public static final int CHAIN_INITIALIZATION_CONSENSUS_INFO_FIELD_NUMBER = 7; + private io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo chainInitializationConsensusInfo_; + /** + *
+     * Initial consensus information.
+     * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + * @return Whether the chainInitializationConsensusInfo field is set. + */ + public boolean hasChainInitializationConsensusInfo() { + return chainInitializationConsensusInfo_ != null; + } + /** + *
+     * Initial consensus information.
+     * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + * @return The chainInitializationConsensusInfo. + */ + public io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo getChainInitializationConsensusInfo() { + return chainInitializationConsensusInfo_ == null ? io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.getDefaultInstance() : chainInitializationConsensusInfo_; + } + /** + *
+     * Initial consensus information.
+     * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + */ + public io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfoOrBuilder getChainInitializationConsensusInfoOrBuilder() { + return getChainInitializationConsensusInfo(); + } + + public static final int NATIVE_TOKEN_INFO_DATA_FIELD_NUMBER = 8; + private com.google.protobuf.ByteString nativeTokenInfoData_; + /** + *
+     * The native token info.
+     * 
+ * + * bytes native_token_info_data = 8; + * @return The nativeTokenInfoData. + */ + public com.google.protobuf.ByteString getNativeTokenInfoData() { + return nativeTokenInfoData_; + } + + public static final int RESOURCE_TOKEN_INFO_FIELD_NUMBER = 9; + private io.aelf.protobuf.generated.Client.ResourceTokenInfo resourceTokenInfo_; + /** + *
+     * The resource token information.
+     * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + * @return Whether the resourceTokenInfo field is set. + */ + public boolean hasResourceTokenInfo() { + return resourceTokenInfo_ != null; + } + /** + *
+     * The resource token information.
+     * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + * @return The resourceTokenInfo. + */ + public io.aelf.protobuf.generated.Client.ResourceTokenInfo getResourceTokenInfo() { + return resourceTokenInfo_ == null ? io.aelf.protobuf.generated.Client.ResourceTokenInfo.getDefaultInstance() : resourceTokenInfo_; + } + /** + *
+     * The resource token information.
+     * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + */ + public io.aelf.protobuf.generated.Client.ResourceTokenInfoOrBuilder getResourceTokenInfoOrBuilder() { + return getResourceTokenInfo(); + } + + public static final int CHAIN_PRIMARY_TOKEN_INFO_FIELD_NUMBER = 10; + private io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo chainPrimaryTokenInfo_; + /** + *
+     * The chain primary token information.
+     * 
+ * + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; + * @return Whether the chainPrimaryTokenInfo field is set. + */ + public boolean hasChainPrimaryTokenInfo() { + return chainPrimaryTokenInfo_ != null; + } + /** + *
+     * The chain primary token information.
+     * 
+ * + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; + * @return The chainPrimaryTokenInfo. + */ + public io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo getChainPrimaryTokenInfo() { + return chainPrimaryTokenInfo_ == null ? io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.getDefaultInstance() : chainPrimaryTokenInfo_; + } + /** + *
+     * The chain primary token information.
+     * 
+ * + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; + */ + public io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfoOrBuilder getChainPrimaryTokenInfoOrBuilder() { + return getChainPrimaryTokenInfo(); + } + + 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 (chainId_ != 0) { + output.writeInt32(1, chainId_); + } + if (creator_ != null) { + output.writeMessage(2, getCreator()); + } + if (creationTimestamp_ != null) { + output.writeMessage(3, getCreationTimestamp()); + } + if (creationHeightOnParentChain_ != 0L) { + output.writeInt64(4, creationHeightOnParentChain_); + } + if (chainCreatorPrivilegePreserved_ != false) { + output.writeBool(5, chainCreatorPrivilegePreserved_); + } + if (parentChainTokenContractAddress_ != null) { + output.writeMessage(6, getParentChainTokenContractAddress()); + } + if (chainInitializationConsensusInfo_ != null) { + output.writeMessage(7, getChainInitializationConsensusInfo()); + } + if (!nativeTokenInfoData_.isEmpty()) { + output.writeBytes(8, nativeTokenInfoData_); + } + if (resourceTokenInfo_ != null) { + output.writeMessage(9, getResourceTokenInfo()); + } + if (chainPrimaryTokenInfo_ != null) { + output.writeMessage(10, getChainPrimaryTokenInfo()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (chainId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, chainId_); + } + if (creator_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreator()); + } + if (creationTimestamp_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreationTimestamp()); + } + if (creationHeightOnParentChain_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, creationHeightOnParentChain_); + } + if (chainCreatorPrivilegePreserved_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, chainCreatorPrivilegePreserved_); + } + if (parentChainTokenContractAddress_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getParentChainTokenContractAddress()); + } + if (chainInitializationConsensusInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getChainInitializationConsensusInfo()); + } + if (!nativeTokenInfoData_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(8, nativeTokenInfoData_); + } + if (resourceTokenInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getResourceTokenInfo()); + } + if (chainPrimaryTokenInfo_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getChainPrimaryTokenInfo()); + } + 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 io.aelf.protobuf.generated.Client.ChainInitializationData)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.Client.ChainInitializationData other = (io.aelf.protobuf.generated.Client.ChainInitializationData) obj; + + if (getChainId() + != other.getChainId()) return false; + if (hasCreator() != other.hasCreator()) return false; + if (hasCreator()) { + if (!getCreator() + .equals(other.getCreator())) return false; + } + if (hasCreationTimestamp() != other.hasCreationTimestamp()) return false; + if (hasCreationTimestamp()) { + if (!getCreationTimestamp() + .equals(other.getCreationTimestamp())) return false; + } + if (getCreationHeightOnParentChain() + != other.getCreationHeightOnParentChain()) return false; + if (getChainCreatorPrivilegePreserved() + != other.getChainCreatorPrivilegePreserved()) return false; + if (hasParentChainTokenContractAddress() != other.hasParentChainTokenContractAddress()) return false; + if (hasParentChainTokenContractAddress()) { + if (!getParentChainTokenContractAddress() + .equals(other.getParentChainTokenContractAddress())) return false; + } + if (hasChainInitializationConsensusInfo() != other.hasChainInitializationConsensusInfo()) return false; + if (hasChainInitializationConsensusInfo()) { + if (!getChainInitializationConsensusInfo() + .equals(other.getChainInitializationConsensusInfo())) return false; + } + if (!getNativeTokenInfoData() + .equals(other.getNativeTokenInfoData())) return false; + if (hasResourceTokenInfo() != other.hasResourceTokenInfo()) return false; + if (hasResourceTokenInfo()) { + if (!getResourceTokenInfo() + .equals(other.getResourceTokenInfo())) return false; + } + if (hasChainPrimaryTokenInfo() != other.hasChainPrimaryTokenInfo()) return false; + if (hasChainPrimaryTokenInfo()) { + if (!getChainPrimaryTokenInfo() + .equals(other.getChainPrimaryTokenInfo())) 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) + CHAIN_ID_FIELD_NUMBER; + hash = (53 * hash) + getChainId(); + if (hasCreator()) { + hash = (37 * hash) + CREATOR_FIELD_NUMBER; + hash = (53 * hash) + getCreator().hashCode(); + } + if (hasCreationTimestamp()) { + hash = (37 * hash) + CREATION_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getCreationTimestamp().hashCode(); + } + hash = (37 * hash) + CREATION_HEIGHT_ON_PARENT_CHAIN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCreationHeightOnParentChain()); + hash = (37 * hash) + CHAIN_CREATOR_PRIVILEGE_PRESERVED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getChainCreatorPrivilegePreserved()); + if (hasParentChainTokenContractAddress()) { + hash = (37 * hash) + PARENT_CHAIN_TOKEN_CONTRACT_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getParentChainTokenContractAddress().hashCode(); + } + if (hasChainInitializationConsensusInfo()) { + hash = (37 * hash) + CHAIN_INITIALIZATION_CONSENSUS_INFO_FIELD_NUMBER; + hash = (53 * hash) + getChainInitializationConsensusInfo().hashCode(); + } + hash = (37 * hash) + NATIVE_TOKEN_INFO_DATA_FIELD_NUMBER; + hash = (53 * hash) + getNativeTokenInfoData().hashCode(); + if (hasResourceTokenInfo()) { + hash = (37 * hash) + RESOURCE_TOKEN_INFO_FIELD_NUMBER; + hash = (53 * hash) + getResourceTokenInfo().hashCode(); + } + if (hasChainPrimaryTokenInfo()) { + hash = (37 * hash) + CHAIN_PRIMARY_TOKEN_INFO_FIELD_NUMBER; + hash = (53 * hash) + getChainPrimaryTokenInfo().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.ChainInitializationData 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 io.aelf.protobuf.generated.Client.ChainInitializationData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.ChainInitializationData 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 io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.ChainInitializationData 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(io.aelf.protobuf.generated.Client.ChainInitializationData 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; + } + /** + * Protobuf type {@code ChainInitializationData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ChainInitializationData) + io.aelf.protobuf.generated.Client.ChainInitializationDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.ChainInitializationData.class, io.aelf.protobuf.generated.Client.ChainInitializationData.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.Client.ChainInitializationData.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(); + chainId_ = 0; + + if (creatorBuilder_ == null) { + creator_ = null; + } else { + creator_ = null; + creatorBuilder_ = null; + } + if (creationTimestampBuilder_ == null) { + creationTimestamp_ = null; + } else { + creationTimestamp_ = null; + creationTimestampBuilder_ = null; + } + creationHeightOnParentChain_ = 0L; + + chainCreatorPrivilegePreserved_ = false; + + if (parentChainTokenContractAddressBuilder_ == null) { + parentChainTokenContractAddress_ = null; + } else { + parentChainTokenContractAddress_ = null; + parentChainTokenContractAddressBuilder_ = null; + } + if (chainInitializationConsensusInfoBuilder_ == null) { + chainInitializationConsensusInfo_ = null; + } else { + chainInitializationConsensusInfo_ = null; + chainInitializationConsensusInfoBuilder_ = null; + } + nativeTokenInfoData_ = com.google.protobuf.ByteString.EMPTY; + + if (resourceTokenInfoBuilder_ == null) { + resourceTokenInfo_ = null; + } else { + resourceTokenInfo_ = null; + resourceTokenInfoBuilder_ = null; + } + if (chainPrimaryTokenInfoBuilder_ == null) { + chainPrimaryTokenInfo_ = null; + } else { + chainPrimaryTokenInfo_ = null; + chainPrimaryTokenInfoBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.ChainInitializationData.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.ChainInitializationData build() { + io.aelf.protobuf.generated.Client.ChainInitializationData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.Client.ChainInitializationData buildPartial() { + io.aelf.protobuf.generated.Client.ChainInitializationData result = new io.aelf.protobuf.generated.Client.ChainInitializationData(this); + result.chainId_ = chainId_; + if (creatorBuilder_ == null) { + result.creator_ = creator_; + } else { + result.creator_ = creatorBuilder_.build(); + } + if (creationTimestampBuilder_ == null) { + result.creationTimestamp_ = creationTimestamp_; + } else { + result.creationTimestamp_ = creationTimestampBuilder_.build(); + } + result.creationHeightOnParentChain_ = creationHeightOnParentChain_; + result.chainCreatorPrivilegePreserved_ = chainCreatorPrivilegePreserved_; + if (parentChainTokenContractAddressBuilder_ == null) { + result.parentChainTokenContractAddress_ = parentChainTokenContractAddress_; + } else { + result.parentChainTokenContractAddress_ = parentChainTokenContractAddressBuilder_.build(); + } + if (chainInitializationConsensusInfoBuilder_ == null) { + result.chainInitializationConsensusInfo_ = chainInitializationConsensusInfo_; + } else { + result.chainInitializationConsensusInfo_ = chainInitializationConsensusInfoBuilder_.build(); + } + result.nativeTokenInfoData_ = nativeTokenInfoData_; + if (resourceTokenInfoBuilder_ == null) { + result.resourceTokenInfo_ = resourceTokenInfo_; + } else { + result.resourceTokenInfo_ = resourceTokenInfoBuilder_.build(); + } + if (chainPrimaryTokenInfoBuilder_ == null) { + result.chainPrimaryTokenInfo_ = chainPrimaryTokenInfo_; + } else { + result.chainPrimaryTokenInfo_ = chainPrimaryTokenInfoBuilder_.build(); + } + 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 io.aelf.protobuf.generated.Client.ChainInitializationData) { + return mergeFrom((io.aelf.protobuf.generated.Client.ChainInitializationData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.Client.ChainInitializationData other) { + if (other == io.aelf.protobuf.generated.Client.ChainInitializationData.getDefaultInstance()) return this; + if (other.getChainId() != 0) { + setChainId(other.getChainId()); + } + if (other.hasCreator()) { + mergeCreator(other.getCreator()); + } + if (other.hasCreationTimestamp()) { + mergeCreationTimestamp(other.getCreationTimestamp()); + } + if (other.getCreationHeightOnParentChain() != 0L) { + setCreationHeightOnParentChain(other.getCreationHeightOnParentChain()); + } + if (other.getChainCreatorPrivilegePreserved() != false) { + setChainCreatorPrivilegePreserved(other.getChainCreatorPrivilegePreserved()); + } + if (other.hasParentChainTokenContractAddress()) { + mergeParentChainTokenContractAddress(other.getParentChainTokenContractAddress()); + } + if (other.hasChainInitializationConsensusInfo()) { + mergeChainInitializationConsensusInfo(other.getChainInitializationConsensusInfo()); + } + if (other.getNativeTokenInfoData() != com.google.protobuf.ByteString.EMPTY) { + setNativeTokenInfoData(other.getNativeTokenInfoData()); + } + if (other.hasResourceTokenInfo()) { + mergeResourceTokenInfo(other.getResourceTokenInfo()); + } + if (other.hasChainPrimaryTokenInfo()) { + mergeChainPrimaryTokenInfo(other.getChainPrimaryTokenInfo()); + } + 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 { + io.aelf.protobuf.generated.Client.ChainInitializationData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.Client.ChainInitializationData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int chainId_ ; + /** + *
+       * The id of side chain.
+       * 
+ * + * int32 chain_id = 1; + * @return The chainId. + */ + public int getChainId() { + return chainId_; + } + /** + *
+       * The id of side chain.
+       * 
+ * + * int32 chain_id = 1; + * @param value The chainId to set. + * @return This builder for chaining. + */ + public Builder setChainId(int value) { + + chainId_ = value; + onChanged(); + return this; + } + /** + *
+       * The id of side chain.
+       * 
+ * + * int32 chain_id = 1; + * @return This builder for chaining. + */ + public Builder clearChainId() { + + chainId_ = 0; + onChanged(); + return this; + } + + private io.aelf.protobuf.generated.Client.Address creator_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> creatorBuilder_; + /** + *
+       * The side chain creator.
+       * 
+ * + * .Address creator = 2; + * @return Whether the creator field is set. + */ + public boolean hasCreator() { + return creatorBuilder_ != null || creator_ != null; + } + /** + *
+       * The side chain creator.
+       * 
+ * + * .Address creator = 2; + * @return The creator. + */ + public io.aelf.protobuf.generated.Client.Address getCreator() { + if (creatorBuilder_ == null) { + return creator_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : creator_; + } else { + return creatorBuilder_.getMessage(); + } + } + /** + *
+       * The side chain creator.
+       * 
+ * + * .Address creator = 2; + */ + public Builder setCreator(io.aelf.protobuf.generated.Client.Address value) { + if (creatorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + creator_ = value; + onChanged(); + } else { + creatorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The side chain creator.
+       * 
+ * + * .Address creator = 2; + */ + public Builder setCreator( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (creatorBuilder_ == null) { + creator_ = builderForValue.build(); + onChanged(); + } else { + creatorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The side chain creator.
+       * 
+ * + * .Address creator = 2; + */ + public Builder mergeCreator(io.aelf.protobuf.generated.Client.Address value) { + if (creatorBuilder_ == null) { + if (creator_ != null) { + creator_ = + io.aelf.protobuf.generated.Client.Address.newBuilder(creator_).mergeFrom(value).buildPartial(); + } else { + creator_ = value; + } + onChanged(); + } else { + creatorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The side chain creator.
+       * 
+ * + * .Address creator = 2; + */ + public Builder clearCreator() { + if (creatorBuilder_ == null) { + creator_ = null; + onChanged(); + } else { + creator_ = null; + creatorBuilder_ = null; + } + + return this; + } + /** + *
+       * The side chain creator.
+       * 
+ * + * .Address creator = 2; + */ + public io.aelf.protobuf.generated.Client.Address.Builder getCreatorBuilder() { + + onChanged(); + return getCreatorFieldBuilder().getBuilder(); + } + /** + *
+       * The side chain creator.
+       * 
+ * + * .Address creator = 2; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getCreatorOrBuilder() { + if (creatorBuilder_ != null) { + return creatorBuilder_.getMessageOrBuilder(); + } else { + return creator_ == null ? + io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : creator_; + } + } + /** + *
+       * The side chain creator.
+       * 
+ * + * .Address creator = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getCreatorFieldBuilder() { + if (creatorBuilder_ == null) { + creatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + getCreator(), + getParentForChildren(), + isClean()); + creator_ = null; + } + return creatorBuilder_; + } + + private com.google.protobuf.Timestamp creationTimestamp_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> creationTimestampBuilder_; + /** + *
+       * The timestamp for side chain creation.
+       * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + * @return Whether the creationTimestamp field is set. + */ + public boolean hasCreationTimestamp() { + return creationTimestampBuilder_ != null || creationTimestamp_ != null; + } + /** + *
+       * The timestamp for side chain creation.
+       * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + * @return The creationTimestamp. + */ + public com.google.protobuf.Timestamp getCreationTimestamp() { + if (creationTimestampBuilder_ == null) { + return creationTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTimestamp_; + } else { + return creationTimestampBuilder_.getMessage(); + } + } + /** + *
+       * The timestamp for side chain creation.
+       * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + */ + public Builder setCreationTimestamp(com.google.protobuf.Timestamp value) { + if (creationTimestampBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + creationTimestamp_ = value; + onChanged(); + } else { + creationTimestampBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The timestamp for side chain creation.
+       * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + */ + public Builder setCreationTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (creationTimestampBuilder_ == null) { + creationTimestamp_ = builderForValue.build(); + onChanged(); + } else { + creationTimestampBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The timestamp for side chain creation.
+       * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + */ + public Builder mergeCreationTimestamp(com.google.protobuf.Timestamp value) { + if (creationTimestampBuilder_ == null) { + if (creationTimestamp_ != null) { + creationTimestamp_ = + com.google.protobuf.Timestamp.newBuilder(creationTimestamp_).mergeFrom(value).buildPartial(); + } else { + creationTimestamp_ = value; + } + onChanged(); + } else { + creationTimestampBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The timestamp for side chain creation.
+       * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + */ + public Builder clearCreationTimestamp() { + if (creationTimestampBuilder_ == null) { + creationTimestamp_ = null; + onChanged(); + } else { + creationTimestamp_ = null; + creationTimestampBuilder_ = null; + } + + return this; + } + /** + *
+       * The timestamp for side chain creation.
+       * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + */ + public com.google.protobuf.Timestamp.Builder getCreationTimestampBuilder() { + + onChanged(); + return getCreationTimestampFieldBuilder().getBuilder(); + } + /** + *
+       * The timestamp for side chain creation.
+       * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + */ + public com.google.protobuf.TimestampOrBuilder getCreationTimestampOrBuilder() { + if (creationTimestampBuilder_ != null) { + return creationTimestampBuilder_.getMessageOrBuilder(); + } else { + return creationTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : creationTimestamp_; + } + } + /** + *
+       * The timestamp for side chain creation.
+       * 
+ * + * .google.protobuf.Timestamp creation_timestamp = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getCreationTimestampFieldBuilder() { + if (creationTimestampBuilder_ == null) { + creationTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreationTimestamp(), + getParentForChildren(), + isClean()); + creationTimestamp_ = null; + } + return creationTimestampBuilder_; + } + + private long creationHeightOnParentChain_ ; + /** + *
+       * The height of side chain creation on parent chain.
+       * 
+ * + * int64 creation_height_on_parent_chain = 4; + * @return The creationHeightOnParentChain. + */ + public long getCreationHeightOnParentChain() { + return creationHeightOnParentChain_; + } + /** + *
+       * The height of side chain creation on parent chain.
+       * 
+ * + * int64 creation_height_on_parent_chain = 4; + * @param value The creationHeightOnParentChain to set. + * @return This builder for chaining. + */ + public Builder setCreationHeightOnParentChain(long value) { + + creationHeightOnParentChain_ = value; + onChanged(); + return this; + } + /** + *
+       * The height of side chain creation on parent chain.
+       * 
+ * + * int64 creation_height_on_parent_chain = 4; + * @return This builder for chaining. + */ + public Builder clearCreationHeightOnParentChain() { + + creationHeightOnParentChain_ = 0L; + onChanged(); + return this; + } + + private boolean chainCreatorPrivilegePreserved_ ; + /** + *
+       * Creator privilege boolean flag: True if chain creator privilege preserved, otherwise false.
+       * 
+ * + * bool chain_creator_privilege_preserved = 5; + * @return The chainCreatorPrivilegePreserved. + */ + public boolean getChainCreatorPrivilegePreserved() { + return chainCreatorPrivilegePreserved_; + } + /** + *
+       * Creator privilege boolean flag: True if chain creator privilege preserved, otherwise false.
+       * 
+ * + * bool chain_creator_privilege_preserved = 5; + * @param value The chainCreatorPrivilegePreserved to set. + * @return This builder for chaining. + */ + public Builder setChainCreatorPrivilegePreserved(boolean value) { + + chainCreatorPrivilegePreserved_ = value; + onChanged(); + return this; + } + /** + *
+       * Creator privilege boolean flag: True if chain creator privilege preserved, otherwise false.
+       * 
+ * + * bool chain_creator_privilege_preserved = 5; + * @return This builder for chaining. + */ + public Builder clearChainCreatorPrivilegePreserved() { + + chainCreatorPrivilegePreserved_ = false; + onChanged(); + return this; } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; + private io.aelf.protobuf.generated.Client.Address parentChainTokenContractAddress_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> parentChainTokenContractAddressBuilder_; + /** + *
+       * Parent chain token contract address.
+       * 
+ * + * .Address parent_chain_token_contract_address = 6; + * @return Whether the parentChainTokenContractAddress field is set. + */ + public boolean hasParentChainTokenContractAddress() { + return parentChainTokenContractAddressBuilder_ != null || parentChainTokenContractAddress_ != null; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.CrossChainExtraData)) { - return super.equals(obj); + /** + *
+       * Parent chain token contract address.
+       * 
+ * + * .Address parent_chain_token_contract_address = 6; + * @return The parentChainTokenContractAddress. + */ + public io.aelf.protobuf.generated.Client.Address getParentChainTokenContractAddress() { + if (parentChainTokenContractAddressBuilder_ == null) { + return parentChainTokenContractAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : parentChainTokenContractAddress_; + } else { + return parentChainTokenContractAddressBuilder_.getMessage(); + } } - io.aelf.protobuf.generated.Client.CrossChainExtraData other = (io.aelf.protobuf.generated.Client.CrossChainExtraData) obj; + /** + *
+       * Parent chain token contract address.
+       * 
+ * + * .Address parent_chain_token_contract_address = 6; + */ + public Builder setParentChainTokenContractAddress(io.aelf.protobuf.generated.Client.Address value) { + if (parentChainTokenContractAddressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parentChainTokenContractAddress_ = value; + onChanged(); + } else { + parentChainTokenContractAddressBuilder_.setMessage(value); + } - if (hasTransactionStatusMerkleTreeRoot() != other.hasTransactionStatusMerkleTreeRoot()) return false; - if (hasTransactionStatusMerkleTreeRoot()) { - if (!getTransactionStatusMerkleTreeRoot() - .equals(other.getTransactionStatusMerkleTreeRoot())) return false; + return this; } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + /** + *
+       * Parent chain token contract address.
+       * 
+ * + * .Address parent_chain_token_contract_address = 6; + */ + public Builder setParentChainTokenContractAddress( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (parentChainTokenContractAddressBuilder_ == null) { + parentChainTokenContractAddress_ = builderForValue.build(); + onChanged(); + } else { + parentChainTokenContractAddressBuilder_.setMessage(builderForValue.build()); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTransactionStatusMerkleTreeRoot()) { - hash = (37 * hash) + TRANSACTION_STATUS_MERKLE_TREE_ROOT_FIELD_NUMBER; - hash = (53 * hash) + getTransactionStatusMerkleTreeRoot().hashCode(); + return this; } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData 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 io.aelf.protobuf.generated.Client.CrossChainExtraData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData 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 io.aelf.protobuf.generated.Client.CrossChainExtraData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData 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(io.aelf.protobuf.generated.Client.CrossChainExtraData prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + *
+       * Parent chain token contract address.
+       * 
+ * + * .Address parent_chain_token_contract_address = 6; + */ + public Builder mergeParentChainTokenContractAddress(io.aelf.protobuf.generated.Client.Address value) { + if (parentChainTokenContractAddressBuilder_ == null) { + if (parentChainTokenContractAddress_ != null) { + parentChainTokenContractAddress_ = + io.aelf.protobuf.generated.Client.Address.newBuilder(parentChainTokenContractAddress_).mergeFrom(value).buildPartial(); + } else { + parentChainTokenContractAddress_ = value; + } + onChanged(); + } else { + parentChainTokenContractAddressBuilder_.mergeFrom(value); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code CrossChainExtraData} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CrossChainExtraData) - io.aelf.protobuf.generated.Client.CrossChainExtraDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_descriptor; + return this; } + /** + *
+       * Parent chain token contract address.
+       * 
+ * + * .Address parent_chain_token_contract_address = 6; + */ + public Builder clearParentChainTokenContractAddress() { + if (parentChainTokenContractAddressBuilder_ == null) { + parentChainTokenContractAddress_ = null; + onChanged(); + } else { + parentChainTokenContractAddress_ = null; + parentChainTokenContractAddressBuilder_ = null; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.CrossChainExtraData.class, io.aelf.protobuf.generated.Client.CrossChainExtraData.Builder.class); + return this; } - - // Construct using io.aelf.protobuf.generated.Client.CrossChainExtraData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + /** + *
+       * Parent chain token contract address.
+       * 
+ * + * .Address parent_chain_token_contract_address = 6; + */ + public io.aelf.protobuf.generated.Client.Address.Builder getParentChainTokenContractAddressBuilder() { + + onChanged(); + return getParentChainTokenContractAddressFieldBuilder().getBuilder(); + } + /** + *
+       * Parent chain token contract address.
+       * 
+ * + * .Address parent_chain_token_contract_address = 6; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getParentChainTokenContractAddressOrBuilder() { + if (parentChainTokenContractAddressBuilder_ != null) { + return parentChainTokenContractAddressBuilder_.getMessageOrBuilder(); + } else { + return parentChainTokenContractAddress_ == null ? + io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : parentChainTokenContractAddress_; + } + } + /** + *
+       * Parent chain token contract address.
+       * 
+ * + * .Address parent_chain_token_contract_address = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getParentChainTokenContractAddressFieldBuilder() { + if (parentChainTokenContractAddressBuilder_ == null) { + parentChainTokenContractAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + getParentChainTokenContractAddress(), + getParentForChildren(), + isClean()); + parentChainTokenContractAddress_ = null; + } + return parentChainTokenContractAddressBuilder_; } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + private io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo chainInitializationConsensusInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo, io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.Builder, io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfoOrBuilder> chainInitializationConsensusInfoBuilder_; + /** + *
+       * Initial consensus information.
+       * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + * @return Whether the chainInitializationConsensusInfo field is set. + */ + public boolean hasChainInitializationConsensusInfo() { + return chainInitializationConsensusInfoBuilder_ != null || chainInitializationConsensusInfo_ != null; } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + /** + *
+       * Initial consensus information.
+       * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + * @return The chainInitializationConsensusInfo. + */ + public io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo getChainInitializationConsensusInfo() { + if (chainInitializationConsensusInfoBuilder_ == null) { + return chainInitializationConsensusInfo_ == null ? io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.getDefaultInstance() : chainInitializationConsensusInfo_; + } else { + return chainInitializationConsensusInfoBuilder_.getMessage(); } } - @java.lang.Override - public Builder clear() { - super.clear(); - if (transactionStatusMerkleTreeRootBuilder_ == null) { - transactionStatusMerkleTreeRoot_ = null; + /** + *
+       * Initial consensus information.
+       * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + */ + public Builder setChainInitializationConsensusInfo(io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo value) { + if (chainInitializationConsensusInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + chainInitializationConsensusInfo_ = value; + onChanged(); } else { - transactionStatusMerkleTreeRoot_ = null; - transactionStatusMerkleTreeRootBuilder_ = null; + chainInitializationConsensusInfoBuilder_.setMessage(value); } + return this; } + /** + *
+       * Initial consensus information.
+       * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + */ + public Builder setChainInitializationConsensusInfo( + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.Builder builderForValue) { + if (chainInitializationConsensusInfoBuilder_ == null) { + chainInitializationConsensusInfo_ = builderForValue.build(); + onChanged(); + } else { + chainInitializationConsensusInfoBuilder_.setMessage(builderForValue.build()); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainExtraData_descriptor; + return this; } + /** + *
+       * Initial consensus information.
+       * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + */ + public Builder mergeChainInitializationConsensusInfo(io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo value) { + if (chainInitializationConsensusInfoBuilder_ == null) { + if (chainInitializationConsensusInfo_ != null) { + chainInitializationConsensusInfo_ = + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.newBuilder(chainInitializationConsensusInfo_).mergeFrom(value).buildPartial(); + } else { + chainInitializationConsensusInfo_ = value; + } + onChanged(); + } else { + chainInitializationConsensusInfoBuilder_.mergeFrom(value); + } - @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainExtraData getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance(); + return this; } - - @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainExtraData build() { - io.aelf.protobuf.generated.Client.CrossChainExtraData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + /** + *
+       * Initial consensus information.
+       * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + */ + public Builder clearChainInitializationConsensusInfo() { + if (chainInitializationConsensusInfoBuilder_ == null) { + chainInitializationConsensusInfo_ = null; + onChanged(); + } else { + chainInitializationConsensusInfo_ = null; + chainInitializationConsensusInfoBuilder_ = null; } - return result; - } - @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainExtraData buildPartial() { - io.aelf.protobuf.generated.Client.CrossChainExtraData result = new io.aelf.protobuf.generated.Client.CrossChainExtraData(this); - if (transactionStatusMerkleTreeRootBuilder_ == null) { - result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRoot_; + return this; + } + /** + *
+       * Initial consensus information.
+       * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + */ + public io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.Builder getChainInitializationConsensusInfoBuilder() { + + onChanged(); + return getChainInitializationConsensusInfoFieldBuilder().getBuilder(); + } + /** + *
+       * Initial consensus information.
+       * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + */ + public io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfoOrBuilder getChainInitializationConsensusInfoOrBuilder() { + if (chainInitializationConsensusInfoBuilder_ != null) { + return chainInitializationConsensusInfoBuilder_.getMessageOrBuilder(); } else { - result.transactionStatusMerkleTreeRoot_ = transactionStatusMerkleTreeRootBuilder_.build(); + return chainInitializationConsensusInfo_ == null ? + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.getDefaultInstance() : chainInitializationConsensusInfo_; } - 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); + /** + *
+       * Initial consensus information.
+       * 
+ * + * .ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo, io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.Builder, io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfoOrBuilder> + getChainInitializationConsensusInfoFieldBuilder() { + if (chainInitializationConsensusInfoBuilder_ == null) { + chainInitializationConsensusInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo, io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.Builder, io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfoOrBuilder>( + getChainInitializationConsensusInfo(), + getParentForChildren(), + isClean()); + chainInitializationConsensusInfo_ = null; + } + return chainInitializationConsensusInfoBuilder_; } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + + private com.google.protobuf.ByteString nativeTokenInfoData_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * The native token info.
+       * 
+ * + * bytes native_token_info_data = 8; + * @return The nativeTokenInfoData. + */ + public com.google.protobuf.ByteString getNativeTokenInfoData() { + return nativeTokenInfoData_; } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + /** + *
+       * The native token info.
+       * 
+ * + * bytes native_token_info_data = 8; + * @param value The nativeTokenInfoData to set. + * @return This builder for chaining. + */ + public Builder setNativeTokenInfoData(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + nativeTokenInfoData_ = value; + onChanged(); + return this; } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + /** + *
+       * The native token info.
+       * 
+ * + * bytes native_token_info_data = 8; + * @return This builder for chaining. + */ + public Builder clearNativeTokenInfoData() { + + nativeTokenInfoData_ = getDefaultInstance().getNativeTokenInfoData(); + onChanged(); + return this; } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + + private io.aelf.protobuf.generated.Client.ResourceTokenInfo resourceTokenInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ResourceTokenInfo, io.aelf.protobuf.generated.Client.ResourceTokenInfo.Builder, io.aelf.protobuf.generated.Client.ResourceTokenInfoOrBuilder> resourceTokenInfoBuilder_; + /** + *
+       * The resource token information.
+       * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + * @return Whether the resourceTokenInfo field is set. + */ + public boolean hasResourceTokenInfo() { + return resourceTokenInfoBuilder_ != null || resourceTokenInfo_ != null; } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.CrossChainExtraData) { - return mergeFrom((io.aelf.protobuf.generated.Client.CrossChainExtraData)other); + /** + *
+       * The resource token information.
+       * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + * @return The resourceTokenInfo. + */ + public io.aelf.protobuf.generated.Client.ResourceTokenInfo getResourceTokenInfo() { + if (resourceTokenInfoBuilder_ == null) { + return resourceTokenInfo_ == null ? io.aelf.protobuf.generated.Client.ResourceTokenInfo.getDefaultInstance() : resourceTokenInfo_; } else { - super.mergeFrom(other); - return this; + return resourceTokenInfoBuilder_.getMessage(); } } - - public Builder mergeFrom(io.aelf.protobuf.generated.Client.CrossChainExtraData other) { - if (other == io.aelf.protobuf.generated.Client.CrossChainExtraData.getDefaultInstance()) return this; - if (other.hasTransactionStatusMerkleTreeRoot()) { - mergeTransactionStatusMerkleTreeRoot(other.getTransactionStatusMerkleTreeRoot()); + /** + *
+       * The resource token information.
+       * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + */ + public Builder setResourceTokenInfo(io.aelf.protobuf.generated.Client.ResourceTokenInfo value) { + if (resourceTokenInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resourceTokenInfo_ = value; + onChanged(); + } else { + resourceTokenInfoBuilder_.setMessage(value); } - this.mergeUnknownFields(other.unknownFields); - onChanged(); + return this; } + /** + *
+       * The resource token information.
+       * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + */ + public Builder setResourceTokenInfo( + io.aelf.protobuf.generated.Client.ResourceTokenInfo.Builder builderForValue) { + if (resourceTokenInfoBuilder_ == null) { + resourceTokenInfo_ = builderForValue.build(); + onChanged(); + } else { + resourceTokenInfoBuilder_.setMessage(builderForValue.build()); + } - @java.lang.Override - public final boolean isInitialized() { - return true; + return this; } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.aelf.protobuf.generated.Client.CrossChainExtraData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.CrossChainExtraData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + /** + *
+       * The resource token information.
+       * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + */ + public Builder mergeResourceTokenInfo(io.aelf.protobuf.generated.Client.ResourceTokenInfo value) { + if (resourceTokenInfoBuilder_ == null) { + if (resourceTokenInfo_ != null) { + resourceTokenInfo_ = + io.aelf.protobuf.generated.Client.ResourceTokenInfo.newBuilder(resourceTokenInfo_).mergeFrom(value).buildPartial(); + } else { + resourceTokenInfo_ = value; } + onChanged(); + } else { + resourceTokenInfoBuilder_.mergeFrom(value); } + return this; } + /** + *
+       * The resource token information.
+       * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + */ + public Builder clearResourceTokenInfo() { + if (resourceTokenInfoBuilder_ == null) { + resourceTokenInfo_ = null; + onChanged(); + } else { + resourceTokenInfo_ = null; + resourceTokenInfoBuilder_ = null; + } - private io.aelf.protobuf.generated.Client.Hash transactionStatusMerkleTreeRoot_; + return this; + } + /** + *
+       * The resource token information.
+       * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + */ + public io.aelf.protobuf.generated.Client.ResourceTokenInfo.Builder getResourceTokenInfoBuilder() { + + onChanged(); + return getResourceTokenInfoFieldBuilder().getBuilder(); + } + /** + *
+       * The resource token information.
+       * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + */ + public io.aelf.protobuf.generated.Client.ResourceTokenInfoOrBuilder getResourceTokenInfoOrBuilder() { + if (resourceTokenInfoBuilder_ != null) { + return resourceTokenInfoBuilder_.getMessageOrBuilder(); + } else { + return resourceTokenInfo_ == null ? + io.aelf.protobuf.generated.Client.ResourceTokenInfo.getDefaultInstance() : resourceTokenInfo_; + } + } + /** + *
+       * The resource token information.
+       * 
+ * + * .ResourceTokenInfo resource_token_info = 9; + */ private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> transactionStatusMerkleTreeRootBuilder_; + io.aelf.protobuf.generated.Client.ResourceTokenInfo, io.aelf.protobuf.generated.Client.ResourceTokenInfo.Builder, io.aelf.protobuf.generated.Client.ResourceTokenInfoOrBuilder> + getResourceTokenInfoFieldBuilder() { + if (resourceTokenInfoBuilder_ == null) { + resourceTokenInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ResourceTokenInfo, io.aelf.protobuf.generated.Client.ResourceTokenInfo.Builder, io.aelf.protobuf.generated.Client.ResourceTokenInfoOrBuilder>( + getResourceTokenInfo(), + getParentForChildren(), + isClean()); + resourceTokenInfo_ = null; + } + return resourceTokenInfoBuilder_; + } + + private io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo chainPrimaryTokenInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo, io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.Builder, io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfoOrBuilder> chainPrimaryTokenInfoBuilder_; /** *
-       * Merkle tree root of side chain block transaction status root
+       * The chain primary token information.
        * 
* - * .Hash transaction_status_merkle_tree_root = 1; - * @return Whether the transactionStatusMerkleTreeRoot field is set. + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; + * @return Whether the chainPrimaryTokenInfo field is set. */ - public boolean hasTransactionStatusMerkleTreeRoot() { - return transactionStatusMerkleTreeRootBuilder_ != null || transactionStatusMerkleTreeRoot_ != null; + public boolean hasChainPrimaryTokenInfo() { + return chainPrimaryTokenInfoBuilder_ != null || chainPrimaryTokenInfo_ != null; } /** *
-       * Merkle tree root of side chain block transaction status root
+       * The chain primary token information.
        * 
* - * .Hash transaction_status_merkle_tree_root = 1; - * @return The transactionStatusMerkleTreeRoot. + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; + * @return The chainPrimaryTokenInfo. */ - public io.aelf.protobuf.generated.Client.Hash getTransactionStatusMerkleTreeRoot() { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - return transactionStatusMerkleTreeRoot_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + public io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo getChainPrimaryTokenInfo() { + if (chainPrimaryTokenInfoBuilder_ == null) { + return chainPrimaryTokenInfo_ == null ? io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.getDefaultInstance() : chainPrimaryTokenInfo_; } else { - return transactionStatusMerkleTreeRootBuilder_.getMessage(); + return chainPrimaryTokenInfoBuilder_.getMessage(); } } /** *
-       * Merkle tree root of side chain block transaction status root
+       * The chain primary token information.
        * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; */ - public Builder setTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { - if (transactionStatusMerkleTreeRootBuilder_ == null) { + public Builder setChainPrimaryTokenInfo(io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo value) { + if (chainPrimaryTokenInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - transactionStatusMerkleTreeRoot_ = value; + chainPrimaryTokenInfo_ = value; onChanged(); } else { - transactionStatusMerkleTreeRootBuilder_.setMessage(value); + chainPrimaryTokenInfoBuilder_.setMessage(value); } return this; } /** *
-       * Merkle tree root of side chain block transaction status root
+       * The chain primary token information.
        * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; */ - public Builder setTransactionStatusMerkleTreeRoot( - io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - transactionStatusMerkleTreeRoot_ = builderForValue.build(); + public Builder setChainPrimaryTokenInfo( + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.Builder builderForValue) { + if (chainPrimaryTokenInfoBuilder_ == null) { + chainPrimaryTokenInfo_ = builderForValue.build(); onChanged(); } else { - transactionStatusMerkleTreeRootBuilder_.setMessage(builderForValue.build()); + chainPrimaryTokenInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
-       * Merkle tree root of side chain block transaction status root
+       * The chain primary token information.
        * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; */ - public Builder mergeTransactionStatusMerkleTreeRoot(io.aelf.protobuf.generated.Client.Hash value) { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - if (transactionStatusMerkleTreeRoot_ != null) { - transactionStatusMerkleTreeRoot_ = - io.aelf.protobuf.generated.Client.Hash.newBuilder(transactionStatusMerkleTreeRoot_).mergeFrom(value).buildPartial(); + public Builder mergeChainPrimaryTokenInfo(io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo value) { + if (chainPrimaryTokenInfoBuilder_ == null) { + if (chainPrimaryTokenInfo_ != null) { + chainPrimaryTokenInfo_ = + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.newBuilder(chainPrimaryTokenInfo_).mergeFrom(value).buildPartial(); } else { - transactionStatusMerkleTreeRoot_ = value; + chainPrimaryTokenInfo_ = value; } onChanged(); } else { - transactionStatusMerkleTreeRootBuilder_.mergeFrom(value); + chainPrimaryTokenInfoBuilder_.mergeFrom(value); } return this; } /** *
-       * Merkle tree root of side chain block transaction status root
+       * The chain primary token information.
        * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; */ - public Builder clearTransactionStatusMerkleTreeRoot() { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - transactionStatusMerkleTreeRoot_ = null; + public Builder clearChainPrimaryTokenInfo() { + if (chainPrimaryTokenInfoBuilder_ == null) { + chainPrimaryTokenInfo_ = null; onChanged(); } else { - transactionStatusMerkleTreeRoot_ = null; - transactionStatusMerkleTreeRootBuilder_ = null; + chainPrimaryTokenInfo_ = null; + chainPrimaryTokenInfoBuilder_ = null; } return this; } /** *
-       * Merkle tree root of side chain block transaction status root
+       * The chain primary token information.
        * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; */ - public io.aelf.protobuf.generated.Client.Hash.Builder getTransactionStatusMerkleTreeRootBuilder() { + public io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.Builder getChainPrimaryTokenInfoBuilder() { onChanged(); - return getTransactionStatusMerkleTreeRootFieldBuilder().getBuilder(); + return getChainPrimaryTokenInfoFieldBuilder().getBuilder(); } /** *
-       * Merkle tree root of side chain block transaction status root
+       * The chain primary token information.
        * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; */ - public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionStatusMerkleTreeRootOrBuilder() { - if (transactionStatusMerkleTreeRootBuilder_ != null) { - return transactionStatusMerkleTreeRootBuilder_.getMessageOrBuilder(); + public io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfoOrBuilder getChainPrimaryTokenInfoOrBuilder() { + if (chainPrimaryTokenInfoBuilder_ != null) { + return chainPrimaryTokenInfoBuilder_.getMessageOrBuilder(); } else { - return transactionStatusMerkleTreeRoot_ == null ? - io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionStatusMerkleTreeRoot_; + return chainPrimaryTokenInfo_ == null ? + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.getDefaultInstance() : chainPrimaryTokenInfo_; } } /** *
-       * Merkle tree root of side chain block transaction status root
+       * The chain primary token information.
        * 
* - * .Hash transaction_status_merkle_tree_root = 1; + * .ChainPrimaryTokenInfo chain_primary_token_info = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> - getTransactionStatusMerkleTreeRootFieldBuilder() { - if (transactionStatusMerkleTreeRootBuilder_ == null) { - transactionStatusMerkleTreeRootBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( - getTransactionStatusMerkleTreeRoot(), + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo, io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.Builder, io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfoOrBuilder> + getChainPrimaryTokenInfoFieldBuilder() { + if (chainPrimaryTokenInfoBuilder_ == null) { + chainPrimaryTokenInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo, io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.Builder, io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfoOrBuilder>( + getChainPrimaryTokenInfo(), getParentForChildren(), isClean()); - transactionStatusMerkleTreeRoot_ = null; + chainPrimaryTokenInfo_ = null; } - return transactionStatusMerkleTreeRootBuilder_; + return chainPrimaryTokenInfoBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -18947,95 +25967,81 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:CrossChainExtraData) + // @@protoc_insertion_point(builder_scope:ChainInitializationData) } - // @@protoc_insertion_point(class_scope:CrossChainExtraData) - private static final io.aelf.protobuf.generated.Client.CrossChainExtraData DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:ChainInitializationData) + private static final io.aelf.protobuf.generated.Client.ChainInitializationData DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.CrossChainExtraData(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ChainInitializationData(); } - public static io.aelf.protobuf.generated.Client.CrossChainExtraData getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public CrossChainExtraData parsePartialFrom( + public ChainInitializationData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CrossChainExtraData(input, extensionRegistry); + return new ChainInitializationData(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainExtraData getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface IndexedSideChainBlockDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:IndexedSideChainBlockData) + public interface ChainInitializationConsensusInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ChainInitializationConsensusInfo) com.google.protobuf.MessageOrBuilder { /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - java.util.List - getSideChainBlockDataList(); - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index); - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - int getSideChainBlockDataCount(); - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - java.util.List - getSideChainBlockDataOrBuilderList(); - /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+     * Initial consensus data.
+     * 
+ * + * bytes initial_consensus_data = 1; + * @return The initialConsensusData. */ - io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder( - int index); + com.google.protobuf.ByteString getInitialConsensusData(); } /** - * Protobuf type {@code IndexedSideChainBlockData} + * Protobuf type {@code ChainInitializationConsensusInfo} */ - public static final class IndexedSideChainBlockData extends + public static final class ChainInitializationConsensusInfo extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:IndexedSideChainBlockData) - IndexedSideChainBlockDataOrBuilder { + // @@protoc_insertion_point(message_implements:ChainInitializationConsensusInfo) + ChainInitializationConsensusInfoOrBuilder { private static final long serialVersionUID = 0L; - // Use IndexedSideChainBlockData.newBuilder() to construct. - private IndexedSideChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ChainInitializationConsensusInfo.newBuilder() to construct. + private ChainInitializationConsensusInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IndexedSideChainBlockData() { - sideChainBlockData_ = java.util.Collections.emptyList(); + private ChainInitializationConsensusInfo() { + initialConsensusData_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new IndexedSideChainBlockData(); + return new ChainInitializationConsensusInfo(); } @java.lang.Override @@ -19043,7 +26049,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private IndexedSideChainBlockData( + private ChainInitializationConsensusInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -19051,7 +26057,6 @@ private IndexedSideChainBlockData( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -19063,12 +26068,8 @@ private IndexedSideChainBlockData( done = true; break; case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - sideChainBlockData_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - sideChainBlockData_.add( - input.readMessage(io.aelf.protobuf.generated.Client.SideChainBlockData.parser(), extensionRegistry)); + + initialConsensusData_ = input.readBytes(); break; } default: { @@ -19086,59 +26087,35 @@ private IndexedSideChainBlockData( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - sideChainBlockData_ = java.util.Collections.unmodifiableList(sideChainBlockData_); - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_IndexedSideChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationConsensusInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_IndexedSideChainBlockData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationConsensusInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.IndexedSideChainBlockData.class, io.aelf.protobuf.generated.Client.IndexedSideChainBlockData.Builder.class); + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.class, io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.Builder.class); } - public static final int SIDE_CHAIN_BLOCK_DATA_FIELD_NUMBER = 1; - private java.util.List sideChainBlockData_; - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public java.util.List getSideChainBlockDataList() { - return sideChainBlockData_; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public java.util.List - getSideChainBlockDataOrBuilderList() { - return sideChainBlockData_; - } + public static final int INITIAL_CONSENSUS_DATA_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString initialConsensusData_; /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public int getSideChainBlockDataCount() { - return sideChainBlockData_.size(); - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index) { - return sideChainBlockData_.get(index); - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+     * Initial consensus data.
+     * 
+ * + * bytes initial_consensus_data = 1; + * @return The initialConsensusData. */ - public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder( - int index) { - return sideChainBlockData_.get(index); + public com.google.protobuf.ByteString getInitialConsensusData() { + return initialConsensusData_; } private byte memoizedIsInitialized = -1; @@ -19155,8 +26132,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < sideChainBlockData_.size(); i++) { - output.writeMessage(1, sideChainBlockData_.get(i)); + if (!initialConsensusData_.isEmpty()) { + output.writeBytes(1, initialConsensusData_); } unknownFields.writeTo(output); } @@ -19167,9 +26144,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < sideChainBlockData_.size(); i++) { + if (!initialConsensusData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, sideChainBlockData_.get(i)); + .computeBytesSize(1, initialConsensusData_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -19181,13 +26158,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.IndexedSideChainBlockData)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.IndexedSideChainBlockData other = (io.aelf.protobuf.generated.Client.IndexedSideChainBlockData) obj; + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo other = (io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo) obj; - if (!getSideChainBlockDataList() - .equals(other.getSideChainBlockDataList())) return false; + if (!getInitialConsensusData() + .equals(other.getInitialConsensusData())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -19199,78 +26176,76 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getSideChainBlockDataCount() > 0) { - hash = (37 * hash) + SIDE_CHAIN_BLOCK_DATA_FIELD_NUMBER; - hash = (53 * hash) + getSideChainBlockDataList().hashCode(); - } + hash = (37 * hash) + INITIAL_CONSENSUS_DATA_FIELD_NUMBER; + hash = (53 * hash) + getInitialConsensusData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo 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 io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo 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 io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -19283,7 +26258,7 @@ public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parseF public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.IndexedSideChainBlockData prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -19299,26 +26274,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code IndexedSideChainBlockData} + * Protobuf type {@code ChainInitializationConsensusInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:IndexedSideChainBlockData) - io.aelf.protobuf.generated.Client.IndexedSideChainBlockDataOrBuilder { + // @@protoc_insertion_point(builder_implements:ChainInitializationConsensusInfo) + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_IndexedSideChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationConsensusInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_IndexedSideChainBlockData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationConsensusInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.IndexedSideChainBlockData.class, io.aelf.protobuf.generated.Client.IndexedSideChainBlockData.Builder.class); + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.class, io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.IndexedSideChainBlockData.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -19331,35 +26306,30 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { - getSideChainBlockDataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (sideChainBlockDataBuilder_ == null) { - sideChainBlockData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - sideChainBlockDataBuilder_.clear(); - } + initialConsensusData_ = com.google.protobuf.ByteString.EMPTY; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_IndexedSideChainBlockData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationConsensusInfo_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.IndexedSideChainBlockData getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.IndexedSideChainBlockData.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.IndexedSideChainBlockData build() { - io.aelf.protobuf.generated.Client.IndexedSideChainBlockData result = buildPartial(); + public io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo build() { + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -19367,18 +26337,9 @@ public io.aelf.protobuf.generated.Client.IndexedSideChainBlockData build() { } @java.lang.Override - public io.aelf.protobuf.generated.Client.IndexedSideChainBlockData buildPartial() { - io.aelf.protobuf.generated.Client.IndexedSideChainBlockData result = new io.aelf.protobuf.generated.Client.IndexedSideChainBlockData(this); - int from_bitField0_ = bitField0_; - if (sideChainBlockDataBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - sideChainBlockData_ = java.util.Collections.unmodifiableList(sideChainBlockData_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.sideChainBlockData_ = sideChainBlockData_; - } else { - result.sideChainBlockData_ = sideChainBlockDataBuilder_.build(); - } + public io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo buildPartial() { + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo result = new io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo(this); + result.initialConsensusData_ = initialConsensusData_; onBuilt(); return result; } @@ -19417,41 +26378,18 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.IndexedSideChainBlockData) { - return mergeFrom((io.aelf.protobuf.generated.Client.IndexedSideChainBlockData)other); + if (other instanceof io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo) { + return mergeFrom((io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.IndexedSideChainBlockData other) { - if (other == io.aelf.protobuf.generated.Client.IndexedSideChainBlockData.getDefaultInstance()) return this; - if (sideChainBlockDataBuilder_ == null) { - if (!other.sideChainBlockData_.isEmpty()) { - if (sideChainBlockData_.isEmpty()) { - sideChainBlockData_ = other.sideChainBlockData_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.addAll(other.sideChainBlockData_); - } - onChanged(); - } - } else { - if (!other.sideChainBlockData_.isEmpty()) { - if (sideChainBlockDataBuilder_.isEmpty()) { - sideChainBlockDataBuilder_.dispose(); - sideChainBlockDataBuilder_ = null; - sideChainBlockData_ = other.sideChainBlockData_; - bitField0_ = (bitField0_ & ~0x00000001); - sideChainBlockDataBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSideChainBlockDataFieldBuilder() : null; - } else { - sideChainBlockDataBuilder_.addAllMessages(other.sideChainBlockData_); - } - } + public Builder mergeFrom(io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo other) { + if (other == io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo.getDefaultInstance()) return this; + if (other.getInitialConsensusData() != com.google.protobuf.ByteString.EMPTY) { + setInitialConsensusData(other.getInitialConsensusData()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -19468,11 +26406,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.IndexedSideChainBlockData parsedMessage = null; + io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.IndexedSideChainBlockData) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -19481,246 +26419,50 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - - private java.util.List sideChainBlockData_ = - java.util.Collections.emptyList(); - private void ensureSideChainBlockDataIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - sideChainBlockData_ = new java.util.ArrayList(sideChainBlockData_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.SideChainBlockData, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder, io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> sideChainBlockDataBuilder_; + private com.google.protobuf.ByteString initialConsensusData_ = com.google.protobuf.ByteString.EMPTY; /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public java.util.List getSideChainBlockDataList() { - if (sideChainBlockDataBuilder_ == null) { - return java.util.Collections.unmodifiableList(sideChainBlockData_); - } else { - return sideChainBlockDataBuilder_.getMessageList(); - } - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public int getSideChainBlockDataCount() { - if (sideChainBlockDataBuilder_ == null) { - return sideChainBlockData_.size(); - } else { - return sideChainBlockDataBuilder_.getCount(); - } - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index) { - if (sideChainBlockDataBuilder_ == null) { - return sideChainBlockData_.get(index); - } else { - return sideChainBlockDataBuilder_.getMessage(index); - } - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder setSideChainBlockData( - int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) { - if (sideChainBlockDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.set(index, value); - onChanged(); - } else { - sideChainBlockDataBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder setSideChainBlockData( - int index, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder builderForValue) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.set(index, builderForValue.build()); - onChanged(); - } else { - sideChainBlockDataBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addSideChainBlockData(io.aelf.protobuf.generated.Client.SideChainBlockData value) { - if (sideChainBlockDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.add(value); - onChanged(); - } else { - sideChainBlockDataBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addSideChainBlockData( - int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) { - if (sideChainBlockDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.add(index, value); - onChanged(); - } else { - sideChainBlockDataBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addSideChainBlockData( - io.aelf.protobuf.generated.Client.SideChainBlockData.Builder builderForValue) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.add(builderForValue.build()); - onChanged(); - } else { - sideChainBlockDataBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addSideChainBlockData( - int index, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder builderForValue) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.add(index, builderForValue.build()); - onChanged(); - } else { - sideChainBlockDataBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder addAllSideChainBlockData( - java.lang.Iterable values) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sideChainBlockData_); - onChanged(); - } else { - sideChainBlockDataBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder clearSideChainBlockData() { - if (sideChainBlockDataBuilder_ == null) { - sideChainBlockData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - sideChainBlockDataBuilder_.clear(); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public Builder removeSideChainBlockData(int index) { - if (sideChainBlockDataBuilder_ == null) { - ensureSideChainBlockDataIsMutable(); - sideChainBlockData_.remove(index); - onChanged(); - } else { - sideChainBlockDataBuilder_.remove(index); - } - return this; - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder getSideChainBlockDataBuilder( - int index) { - return getSideChainBlockDataFieldBuilder().getBuilder(index); - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder( - int index) { - if (sideChainBlockDataBuilder_ == null) { - return sideChainBlockData_.get(index); } else { - return sideChainBlockDataBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; - */ - public java.util.List - getSideChainBlockDataOrBuilderList() { - if (sideChainBlockDataBuilder_ != null) { - return sideChainBlockDataBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(sideChainBlockData_); - } - } - /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+       * Initial consensus data.
+       * 
+ * + * bytes initial_consensus_data = 1; + * @return The initialConsensusData. */ - public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataBuilder() { - return getSideChainBlockDataFieldBuilder().addBuilder( - io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance()); + public com.google.protobuf.ByteString getInitialConsensusData() { + return initialConsensusData_; } /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+       * Initial consensus data.
+       * 
+ * + * bytes initial_consensus_data = 1; + * @param value The initialConsensusData to set. + * @return This builder for chaining. */ - public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataBuilder( - int index) { - return getSideChainBlockDataFieldBuilder().addBuilder( - index, io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance()); + public Builder setInitialConsensusData(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + initialConsensusData_ = value; + onChanged(); + return this; } /** - * repeated .SideChainBlockData side_chain_block_data = 1; + *
+       * Initial consensus data.
+       * 
+ * + * bytes initial_consensus_data = 1; + * @return This builder for chaining. */ - public java.util.List - getSideChainBlockDataBuilderList() { - return getSideChainBlockDataFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.SideChainBlockData, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder, io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> - getSideChainBlockDataFieldBuilder() { - if (sideChainBlockDataBuilder_ == null) { - sideChainBlockDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.aelf.protobuf.generated.Client.SideChainBlockData, io.aelf.protobuf.generated.Client.SideChainBlockData.Builder, io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder>( - sideChainBlockData_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - sideChainBlockData_ = null; - } - return sideChainBlockDataBuilder_; + public Builder clearInitialConsensusData() { + + initialConsensusData_ = getDefaultInstance().getInitialConsensusData(); + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -19735,91 +26477,135 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:IndexedSideChainBlockData) + // @@protoc_insertion_point(builder_scope:ChainInitializationConsensusInfo) } - // @@protoc_insertion_point(class_scope:IndexedSideChainBlockData) - private static final io.aelf.protobuf.generated.Client.IndexedSideChainBlockData DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:ChainInitializationConsensusInfo) + private static final io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.IndexedSideChainBlockData(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo(); } - public static io.aelf.protobuf.generated.Client.IndexedSideChainBlockData getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public IndexedSideChainBlockData parsePartialFrom( + public ChainInitializationConsensusInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new IndexedSideChainBlockData(input, extensionRegistry); + return new ChainInitializationConsensusInfo(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.IndexedSideChainBlockData getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.ChainInitializationConsensusInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface CrossChainMerkleProofContextOrBuilder extends - // @@protoc_insertion_point(interface_extends:CrossChainMerkleProofContext) + public interface ResourceTokenInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ResourceTokenInfo) com.google.protobuf.MessageOrBuilder { /** - * int64 bound_parent_chain_height = 1; - * @return The boundParentChainHeight. + *
+     * The resource token information.
+     * 
+ * + * bytes resource_token_list_data = 1; + * @return The resourceTokenListData. */ - long getBoundParentChainHeight(); + com.google.protobuf.ByteString getResourceTokenListData(); /** - * .MerklePath merkle_path_from_parent_chain = 2; - * @return Whether the merklePathFromParentChain field is set. + *
+     * The initial resource token amount.
+     * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - boolean hasMerklePathFromParentChain(); + int getInitialResourceAmountCount(); /** - * .MerklePath merkle_path_from_parent_chain = 2; - * @return The merklePathFromParentChain. + *
+     * The initial resource token amount.
+     * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - io.aelf.protobuf.generated.Client.MerklePath getMerklePathFromParentChain(); + boolean containsInitialResourceAmount( + java.lang.String key); /** - * .MerklePath merkle_path_from_parent_chain = 2; + * Use {@link #getInitialResourceAmountMap()} instead. */ - io.aelf.protobuf.generated.Client.MerklePathOrBuilder getMerklePathFromParentChainOrBuilder(); + @java.lang.Deprecated + java.util.Map + getInitialResourceAmount(); + /** + *
+     * The initial resource token amount.
+     * 
+ * + * map<string, int32> initial_resource_amount = 2; + */ + java.util.Map + getInitialResourceAmountMap(); + /** + *
+     * The initial resource token amount.
+     * 
+ * + * map<string, int32> initial_resource_amount = 2; + */ + + int getInitialResourceAmountOrDefault( + java.lang.String key, + int defaultValue); + /** + *
+     * The initial resource token amount.
+     * 
+ * + * map<string, int32> initial_resource_amount = 2; + */ + + int getInitialResourceAmountOrThrow( + java.lang.String key); } /** - * Protobuf type {@code CrossChainMerkleProofContext} + * Protobuf type {@code ResourceTokenInfo} */ - public static final class CrossChainMerkleProofContext extends + public static final class ResourceTokenInfo extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:CrossChainMerkleProofContext) - CrossChainMerkleProofContextOrBuilder { + // @@protoc_insertion_point(message_implements:ResourceTokenInfo) + ResourceTokenInfoOrBuilder { private static final long serialVersionUID = 0L; - // Use CrossChainMerkleProofContext.newBuilder() to construct. - private CrossChainMerkleProofContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ResourceTokenInfo.newBuilder() to construct. + private ResourceTokenInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CrossChainMerkleProofContext() { + private ResourceTokenInfo() { + resourceTokenListData_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new CrossChainMerkleProofContext(); + return new ResourceTokenInfo(); } @java.lang.Override @@ -19827,7 +26613,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private CrossChainMerkleProofContext( + private ResourceTokenInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -19835,6 +26621,7 @@ private CrossChainMerkleProofContext( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -19845,22 +26632,22 @@ private CrossChainMerkleProofContext( case 0: done = true; break; - case 8: { + case 10: { - boundParentChainHeight_ = input.readInt64(); + resourceTokenListData_ = input.readBytes(); break; } case 18: { - io.aelf.protobuf.generated.Client.MerklePath.Builder subBuilder = null; - if (merklePathFromParentChain_ != null) { - subBuilder = merklePathFromParentChain_.toBuilder(); - } - merklePathFromParentChain_ = input.readMessage(io.aelf.protobuf.generated.Client.MerklePath.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(merklePathFromParentChain_); - merklePathFromParentChain_ = subBuilder.buildPartial(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + initialResourceAmount_ = com.google.protobuf.MapField.newMapField( + InitialResourceAmountDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - + com.google.protobuf.MapEntry + initialResourceAmount__ = input.readMessage( + InitialResourceAmountDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + initialResourceAmount_.getMutableMap().put( + initialResourceAmount__.getKey(), initialResourceAmount__.getValue()); break; } default: { @@ -19884,48 +26671,133 @@ private CrossChainMerkleProofContext( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ResourceTokenInfo_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetInitialResourceAmount(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ResourceTokenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.class, io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.Builder.class); + io.aelf.protobuf.generated.Client.ResourceTokenInfo.class, io.aelf.protobuf.generated.Client.ResourceTokenInfo.Builder.class); } - public static final int BOUND_PARENT_CHAIN_HEIGHT_FIELD_NUMBER = 1; - private long boundParentChainHeight_; + public static final int RESOURCE_TOKEN_LIST_DATA_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString resourceTokenListData_; /** - * int64 bound_parent_chain_height = 1; - * @return The boundParentChainHeight. + *
+     * The resource token information.
+     * 
+ * + * bytes resource_token_list_data = 1; + * @return The resourceTokenListData. */ - public long getBoundParentChainHeight() { - return boundParentChainHeight_; + public com.google.protobuf.ByteString getResourceTokenListData() { + return resourceTokenListData_; } - public static final int MERKLE_PATH_FROM_PARENT_CHAIN_FIELD_NUMBER = 2; - private io.aelf.protobuf.generated.Client.MerklePath merklePathFromParentChain_; + public static final int INITIAL_RESOURCE_AMOUNT_FIELD_NUMBER = 2; + private static final class InitialResourceAmountDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Integer> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + io.aelf.protobuf.generated.Client.internal_static_ResourceTokenInfo_InitialResourceAmountEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT32, + 0); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> initialResourceAmount_; + private com.google.protobuf.MapField + internalGetInitialResourceAmount() { + if (initialResourceAmount_ == null) { + return com.google.protobuf.MapField.emptyMapField( + InitialResourceAmountDefaultEntryHolder.defaultEntry); + } + return initialResourceAmount_; + } + + public int getInitialResourceAmountCount() { + return internalGetInitialResourceAmount().getMap().size(); + } /** - * .MerklePath merkle_path_from_parent_chain = 2; - * @return Whether the merklePathFromParentChain field is set. + *
+     * The initial resource token amount.
+     * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - public boolean hasMerklePathFromParentChain() { - return merklePathFromParentChain_ != null; + + public boolean containsInitialResourceAmount( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetInitialResourceAmount().getMap().containsKey(key); } /** - * .MerklePath merkle_path_from_parent_chain = 2; - * @return The merklePathFromParentChain. + * Use {@link #getInitialResourceAmountMap()} instead. */ - public io.aelf.protobuf.generated.Client.MerklePath getMerklePathFromParentChain() { - return merklePathFromParentChain_ == null ? io.aelf.protobuf.generated.Client.MerklePath.getDefaultInstance() : merklePathFromParentChain_; + @java.lang.Deprecated + public java.util.Map getInitialResourceAmount() { + return getInitialResourceAmountMap(); } /** - * .MerklePath merkle_path_from_parent_chain = 2; + *
+     * The initial resource token amount.
+     * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - public io.aelf.protobuf.generated.Client.MerklePathOrBuilder getMerklePathFromParentChainOrBuilder() { - return getMerklePathFromParentChain(); + + public java.util.Map getInitialResourceAmountMap() { + return internalGetInitialResourceAmount().getMap(); + } + /** + *
+     * The initial resource token amount.
+     * 
+ * + * map<string, int32> initial_resource_amount = 2; + */ + + public int getInitialResourceAmountOrDefault( + java.lang.String key, + int defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetInitialResourceAmount().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * The initial resource token amount.
+     * 
+ * + * map<string, int32> initial_resource_amount = 2; + */ + + public int getInitialResourceAmountOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetInitialResourceAmount().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); } private byte memoizedIsInitialized = -1; @@ -19942,12 +26814,15 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (boundParentChainHeight_ != 0L) { - output.writeInt64(1, boundParentChainHeight_); - } - if (merklePathFromParentChain_ != null) { - output.writeMessage(2, getMerklePathFromParentChain()); + if (!resourceTokenListData_.isEmpty()) { + output.writeBytes(1, resourceTokenListData_); } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetInitialResourceAmount(), + InitialResourceAmountDefaultEntryHolder.defaultEntry, + 2); unknownFields.writeTo(output); } @@ -19957,13 +26832,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (boundParentChainHeight_ != 0L) { + if (!resourceTokenListData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, boundParentChainHeight_); + .computeBytesSize(1, resourceTokenListData_); } - if (merklePathFromParentChain_ != null) { + for (java.util.Map.Entry entry + : internalGetInitialResourceAmount().getMap().entrySet()) { + com.google.protobuf.MapEntry + initialResourceAmount__ = InitialResourceAmountDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMerklePathFromParentChain()); + .computeMessageSize(2, initialResourceAmount__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -19975,18 +26856,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.ResourceTokenInfo)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext other = (io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext) obj; + io.aelf.protobuf.generated.Client.ResourceTokenInfo other = (io.aelf.protobuf.generated.Client.ResourceTokenInfo) obj; - if (getBoundParentChainHeight() - != other.getBoundParentChainHeight()) return false; - if (hasMerklePathFromParentChain() != other.hasMerklePathFromParentChain()) return false; - if (hasMerklePathFromParentChain()) { - if (!getMerklePathFromParentChain() - .equals(other.getMerklePathFromParentChain())) return false; - } + if (!getResourceTokenListData() + .equals(other.getResourceTokenListData())) return false; + if (!internalGetInitialResourceAmount().equals( + other.internalGetInitialResourceAmount())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -19998,81 +26876,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + BOUND_PARENT_CHAIN_HEIGHT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBoundParentChainHeight()); - if (hasMerklePathFromParentChain()) { - hash = (37 * hash) + MERKLE_PATH_FROM_PARENT_CHAIN_FIELD_NUMBER; - hash = (53 * hash) + getMerklePathFromParentChain().hashCode(); + hash = (37 * hash) + RESOURCE_TOKEN_LIST_DATA_FIELD_NUMBER; + hash = (53 * hash) + getResourceTokenListData().hashCode(); + if (!internalGetInitialResourceAmount().getMap().isEmpty()) { + hash = (37 * hash) + INITIAL_RESOURCE_AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + internalGetInitialResourceAmount().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo 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 io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo 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 io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parseFrom( + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -20085,7 +26962,7 @@ public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext par public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.ResourceTokenInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -20101,26 +26978,48 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code CrossChainMerkleProofContext} + * Protobuf type {@code ResourceTokenInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:CrossChainMerkleProofContext) - io.aelf.protobuf.generated.Client.CrossChainMerkleProofContextOrBuilder { + // @@protoc_insertion_point(builder_implements:ResourceTokenInfo) + io.aelf.protobuf.generated.Client.ResourceTokenInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ResourceTokenInfo_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetInitialResourceAmount(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 2: + return internalGetMutableInitialResourceAmount(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ResourceTokenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.class, io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.Builder.class); + io.aelf.protobuf.generated.Client.ResourceTokenInfo.class, io.aelf.protobuf.generated.Client.ResourceTokenInfo.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.ResourceTokenInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -20137,32 +27036,27 @@ private void maybeForceBuilderInitialization() { } @java.lang.Override public Builder clear() { - super.clear(); - boundParentChainHeight_ = 0L; - - if (merklePathFromParentChainBuilder_ == null) { - merklePathFromParentChain_ = null; - } else { - merklePathFromParentChain_ = null; - merklePathFromParentChainBuilder_ = null; - } + super.clear(); + resourceTokenListData_ = com.google.protobuf.ByteString.EMPTY; + + internalGetMutableInitialResourceAmount().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_CrossChainMerkleProofContext_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ResourceTokenInfo_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.ResourceTokenInfo getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.ResourceTokenInfo.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext build() { - io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext result = buildPartial(); + public io.aelf.protobuf.generated.Client.ResourceTokenInfo build() { + io.aelf.protobuf.generated.Client.ResourceTokenInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -20170,14 +27064,12 @@ public io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext build() { } @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext buildPartial() { - io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext result = new io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext(this); - result.boundParentChainHeight_ = boundParentChainHeight_; - if (merklePathFromParentChainBuilder_ == null) { - result.merklePathFromParentChain_ = merklePathFromParentChain_; - } else { - result.merklePathFromParentChain_ = merklePathFromParentChainBuilder_.build(); - } + public io.aelf.protobuf.generated.Client.ResourceTokenInfo buildPartial() { + io.aelf.protobuf.generated.Client.ResourceTokenInfo result = new io.aelf.protobuf.generated.Client.ResourceTokenInfo(this); + int from_bitField0_ = bitField0_; + result.resourceTokenListData_ = resourceTokenListData_; + result.initialResourceAmount_ = internalGetInitialResourceAmount(); + result.initialResourceAmount_.makeImmutable(); onBuilt(); return result; } @@ -20216,22 +27108,21 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext) { - return mergeFrom((io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext)other); + if (other instanceof io.aelf.protobuf.generated.Client.ResourceTokenInfo) { + return mergeFrom((io.aelf.protobuf.generated.Client.ResourceTokenInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext other) { - if (other == io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext.getDefaultInstance()) return this; - if (other.getBoundParentChainHeight() != 0L) { - setBoundParentChainHeight(other.getBoundParentChainHeight()); - } - if (other.hasMerklePathFromParentChain()) { - mergeMerklePathFromParentChain(other.getMerklePathFromParentChain()); + public Builder mergeFrom(io.aelf.protobuf.generated.Client.ResourceTokenInfo other) { + if (other == io.aelf.protobuf.generated.Client.ResourceTokenInfo.getDefaultInstance()) return this; + if (other.getResourceTokenListData() != com.google.protobuf.ByteString.EMPTY) { + setResourceTokenListData(other.getResourceTokenListData()); } + internalGetMutableInitialResourceAmount().mergeFrom( + other.internalGetInitialResourceAmount()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -20247,11 +27138,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext parsedMessage = null; + io.aelf.protobuf.generated.Client.ResourceTokenInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext) e.getUnfinishedMessage(); + parsedMessage = (io.aelf.protobuf.generated.Client.ResourceTokenInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20260,154 +27151,202 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private long boundParentChainHeight_ ; + private com.google.protobuf.ByteString resourceTokenListData_ = com.google.protobuf.ByteString.EMPTY; /** - * int64 bound_parent_chain_height = 1; - * @return The boundParentChainHeight. + *
+       * The resource token information.
+       * 
+ * + * bytes resource_token_list_data = 1; + * @return The resourceTokenListData. */ - public long getBoundParentChainHeight() { - return boundParentChainHeight_; + public com.google.protobuf.ByteString getResourceTokenListData() { + return resourceTokenListData_; } /** - * int64 bound_parent_chain_height = 1; - * @param value The boundParentChainHeight to set. + *
+       * The resource token information.
+       * 
+ * + * bytes resource_token_list_data = 1; + * @param value The resourceTokenListData to set. * @return This builder for chaining. */ - public Builder setBoundParentChainHeight(long value) { - - boundParentChainHeight_ = value; + public Builder setResourceTokenListData(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + resourceTokenListData_ = value; onChanged(); return this; } /** - * int64 bound_parent_chain_height = 1; + *
+       * The resource token information.
+       * 
+ * + * bytes resource_token_list_data = 1; * @return This builder for chaining. */ - public Builder clearBoundParentChainHeight() { + public Builder clearResourceTokenListData() { - boundParentChainHeight_ = 0L; + resourceTokenListData_ = getDefaultInstance().getResourceTokenListData(); onChanged(); return this; } - private io.aelf.protobuf.generated.Client.MerklePath merklePathFromParentChain_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.MerklePath, io.aelf.protobuf.generated.Client.MerklePath.Builder, io.aelf.protobuf.generated.Client.MerklePathOrBuilder> merklePathFromParentChainBuilder_; + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> initialResourceAmount_; + private com.google.protobuf.MapField + internalGetInitialResourceAmount() { + if (initialResourceAmount_ == null) { + return com.google.protobuf.MapField.emptyMapField( + InitialResourceAmountDefaultEntryHolder.defaultEntry); + } + return initialResourceAmount_; + } + private com.google.protobuf.MapField + internalGetMutableInitialResourceAmount() { + onChanged();; + if (initialResourceAmount_ == null) { + initialResourceAmount_ = com.google.protobuf.MapField.newMapField( + InitialResourceAmountDefaultEntryHolder.defaultEntry); + } + if (!initialResourceAmount_.isMutable()) { + initialResourceAmount_ = initialResourceAmount_.copy(); + } + return initialResourceAmount_; + } + + public int getInitialResourceAmountCount() { + return internalGetInitialResourceAmount().getMap().size(); + } /** - * .MerklePath merkle_path_from_parent_chain = 2; - * @return Whether the merklePathFromParentChain field is set. + *
+       * The initial resource token amount.
+       * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - public boolean hasMerklePathFromParentChain() { - return merklePathFromParentChainBuilder_ != null || merklePathFromParentChain_ != null; + + public boolean containsInitialResourceAmount( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetInitialResourceAmount().getMap().containsKey(key); } /** - * .MerklePath merkle_path_from_parent_chain = 2; - * @return The merklePathFromParentChain. + * Use {@link #getInitialResourceAmountMap()} instead. */ - public io.aelf.protobuf.generated.Client.MerklePath getMerklePathFromParentChain() { - if (merklePathFromParentChainBuilder_ == null) { - return merklePathFromParentChain_ == null ? io.aelf.protobuf.generated.Client.MerklePath.getDefaultInstance() : merklePathFromParentChain_; - } else { - return merklePathFromParentChainBuilder_.getMessage(); - } + @java.lang.Deprecated + public java.util.Map getInitialResourceAmount() { + return getInitialResourceAmountMap(); } /** - * .MerklePath merkle_path_from_parent_chain = 2; + *
+       * The initial resource token amount.
+       * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - public Builder setMerklePathFromParentChain(io.aelf.protobuf.generated.Client.MerklePath value) { - if (merklePathFromParentChainBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - merklePathFromParentChain_ = value; - onChanged(); - } else { - merklePathFromParentChainBuilder_.setMessage(value); - } - return this; + public java.util.Map getInitialResourceAmountMap() { + return internalGetInitialResourceAmount().getMap(); } /** - * .MerklePath merkle_path_from_parent_chain = 2; + *
+       * The initial resource token amount.
+       * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - public Builder setMerklePathFromParentChain( - io.aelf.protobuf.generated.Client.MerklePath.Builder builderForValue) { - if (merklePathFromParentChainBuilder_ == null) { - merklePathFromParentChain_ = builderForValue.build(); - onChanged(); - } else { - merklePathFromParentChainBuilder_.setMessage(builderForValue.build()); - } - return this; + public int getInitialResourceAmountOrDefault( + java.lang.String key, + int defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetInitialResourceAmount().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * .MerklePath merkle_path_from_parent_chain = 2; + *
+       * The initial resource token amount.
+       * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - public Builder mergeMerklePathFromParentChain(io.aelf.protobuf.generated.Client.MerklePath value) { - if (merklePathFromParentChainBuilder_ == null) { - if (merklePathFromParentChain_ != null) { - merklePathFromParentChain_ = - io.aelf.protobuf.generated.Client.MerklePath.newBuilder(merklePathFromParentChain_).mergeFrom(value).buildPartial(); - } else { - merklePathFromParentChain_ = value; - } - onChanged(); - } else { - merklePathFromParentChainBuilder_.mergeFrom(value); + + public int getInitialResourceAmountOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetInitialResourceAmount().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); } + return map.get(key); + } + public Builder clearInitialResourceAmount() { + internalGetMutableInitialResourceAmount().getMutableMap() + .clear(); return this; } /** - * .MerklePath merkle_path_from_parent_chain = 2; + *
+       * The initial resource token amount.
+       * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - public Builder clearMerklePathFromParentChain() { - if (merklePathFromParentChainBuilder_ == null) { - merklePathFromParentChain_ = null; - onChanged(); - } else { - merklePathFromParentChain_ = null; - merklePathFromParentChainBuilder_ = null; - } + public Builder removeInitialResourceAmount( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableInitialResourceAmount().getMutableMap() + .remove(key); return this; } /** - * .MerklePath merkle_path_from_parent_chain = 2; + * Use alternate mutation accessors instead. */ - public io.aelf.protobuf.generated.Client.MerklePath.Builder getMerklePathFromParentChainBuilder() { - - onChanged(); - return getMerklePathFromParentChainFieldBuilder().getBuilder(); + @java.lang.Deprecated + public java.util.Map + getMutableInitialResourceAmount() { + return internalGetMutableInitialResourceAmount().getMutableMap(); } /** - * .MerklePath merkle_path_from_parent_chain = 2; + *
+       * The initial resource token amount.
+       * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - public io.aelf.protobuf.generated.Client.MerklePathOrBuilder getMerklePathFromParentChainOrBuilder() { - if (merklePathFromParentChainBuilder_ != null) { - return merklePathFromParentChainBuilder_.getMessageOrBuilder(); - } else { - return merklePathFromParentChain_ == null ? - io.aelf.protobuf.generated.Client.MerklePath.getDefaultInstance() : merklePathFromParentChain_; - } + public Builder putInitialResourceAmount( + java.lang.String key, + int value) { + if (key == null) { throw new java.lang.NullPointerException(); } + + internalGetMutableInitialResourceAmount().getMutableMap() + .put(key, value); + return this; } /** - * .MerklePath merkle_path_from_parent_chain = 2; + *
+       * The initial resource token amount.
+       * 
+ * + * map<string, int32> initial_resource_amount = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.MerklePath, io.aelf.protobuf.generated.Client.MerklePath.Builder, io.aelf.protobuf.generated.Client.MerklePathOrBuilder> - getMerklePathFromParentChainFieldBuilder() { - if (merklePathFromParentChainBuilder_ == null) { - merklePathFromParentChainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.MerklePath, io.aelf.protobuf.generated.Client.MerklePath.Builder, io.aelf.protobuf.generated.Client.MerklePathOrBuilder>( - getMerklePathFromParentChain(), - getParentForChildren(), - isClean()); - merklePathFromParentChain_ = null; - } - return merklePathFromParentChainBuilder_; + + public Builder putAllInitialResourceAmount( + java.util.Map values) { + internalGetMutableInitialResourceAmount().getMutableMap() + .putAll(values); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -20422,149 +27361,126 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:CrossChainMerkleProofContext) + // @@protoc_insertion_point(builder_scope:ResourceTokenInfo) } - // @@protoc_insertion_point(class_scope:CrossChainMerkleProofContext) - private static final io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:ResourceTokenInfo) + private static final io.aelf.protobuf.generated.Client.ResourceTokenInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ResourceTokenInfo(); } - public static io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.ResourceTokenInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public CrossChainMerkleProofContext parsePartialFrom( + public ResourceTokenInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CrossChainMerkleProofContext(input, extensionRegistry); + return new ResourceTokenInfo(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.CrossChainMerkleProofContext getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.ResourceTokenInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ChainInitializationDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:ChainInitializationData) + public interface ChainPrimaryTokenInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:ChainPrimaryTokenInfo) com.google.protobuf.MessageOrBuilder { /** - * int32 chain_id = 1; - * @return The chainId. - */ - int getChainId(); - - /** - * .Address creator = 2; - * @return Whether the creator field is set. - */ - boolean hasCreator(); - /** - * .Address creator = 2; - * @return The creator. - */ - io.aelf.protobuf.generated.Client.Address getCreator(); - /** - * .Address creator = 2; - */ - io.aelf.protobuf.generated.Client.AddressOrBuilder getCreatorOrBuilder(); - - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - * @return Whether the creationTimestamp field is set. - */ - boolean hasCreationTimestamp(); - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - * @return The creationTimestamp. - */ - com.google.protobuf.Timestamp getCreationTimestamp(); - /** - * .google.protobuf.Timestamp creation_timestamp = 3; + *
+     * The side chain primary token data.
+     * 
+ * + * bytes chain_primary_token_data = 1; + * @return The chainPrimaryTokenData. */ - com.google.protobuf.TimestampOrBuilder getCreationTimestampOrBuilder(); + com.google.protobuf.ByteString getChainPrimaryTokenData(); /** - * repeated bytes extra_information = 4; - * @return A list containing the extraInformation. - */ - java.util.List getExtraInformationList(); - /** - * repeated bytes extra_information = 4; - * @return The count of extraInformation. - */ - int getExtraInformationCount(); - /** - * repeated bytes extra_information = 4; - * @param index The index of the element to return. - * @return The extraInformation at the given index. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - com.google.protobuf.ByteString getExtraInformation(int index); - + java.util.List + getSideChainTokenInitialIssueListList(); /** - * int64 creation_height_on_parent_chain = 5; - * @return The creationHeightOnParentChain. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - long getCreationHeightOnParentChain(); - + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue getSideChainTokenInitialIssueList(int index); /** - * bool chain_creator_privilege_preserved = 6; - * @return The chainCreatorPrivilegePreserved. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - boolean getChainCreatorPrivilegePreserved(); - + int getSideChainTokenInitialIssueListCount(); /** - * string side_chain_token_symbol = 7; - * @return The sideChainTokenSymbol. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - java.lang.String getSideChainTokenSymbol(); + java.util.List + getSideChainTokenInitialIssueListOrBuilderList(); /** - * string side_chain_token_symbol = 7; - * @return The bytes for sideChainTokenSymbol. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - com.google.protobuf.ByteString - getSideChainTokenSymbolBytes(); + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssueOrBuilder getSideChainTokenInitialIssueListOrBuilder( + int index); } /** - * Protobuf type {@code ChainInitializationData} + * Protobuf type {@code ChainPrimaryTokenInfo} */ - public static final class ChainInitializationData extends + public static final class ChainPrimaryTokenInfo extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:ChainInitializationData) - ChainInitializationDataOrBuilder { + // @@protoc_insertion_point(message_implements:ChainPrimaryTokenInfo) + ChainPrimaryTokenInfoOrBuilder { private static final long serialVersionUID = 0L; - // Use ChainInitializationData.newBuilder() to construct. - private ChainInitializationData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ChainPrimaryTokenInfo.newBuilder() to construct. + private ChainPrimaryTokenInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChainInitializationData() { - extraInformation_ = java.util.Collections.emptyList(); - sideChainTokenSymbol_ = ""; + private ChainPrimaryTokenInfo() { + chainPrimaryTokenData_ = com.google.protobuf.ByteString.EMPTY; + sideChainTokenInitialIssueList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new ChainInitializationData(); + return new ChainPrimaryTokenInfo(); } @java.lang.Override @@ -20572,7 +27488,7 @@ protected java.lang.Object newInstance( getUnknownFields() { return this.unknownFields; } - private ChainInitializationData( + private ChainPrimaryTokenInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -20591,59 +27507,18 @@ private ChainInitializationData( case 0: done = true; break; - case 8: { + case 10: { - chainId_ = input.readInt32(); + chainPrimaryTokenData_ = input.readBytes(); break; } case 18: { - io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; - if (creator_ != null) { - subBuilder = creator_.toBuilder(); - } - creator_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(creator_); - creator_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (creationTimestamp_ != null) { - subBuilder = creationTimestamp_.toBuilder(); - } - creationTimestamp_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(creationTimestamp_); - creationTimestamp_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { - extraInformation_ = new java.util.ArrayList(); + sideChainTokenInitialIssueList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - extraInformation_.add(input.readBytes()); - break; - } - case 40: { - - creationHeightOnParentChain_ = input.readInt64(); - break; - } - case 48: { - - chainCreatorPrivilegePreserved_ = input.readBool(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - sideChainTokenSymbol_ = s; + sideChainTokenInitialIssueList_.add( + input.readMessage(io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.parser(), extensionRegistry)); break; } default: { @@ -20662,7 +27537,7 @@ private ChainInitializationData( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - extraInformation_ = java.util.Collections.unmodifiableList(extraInformation_); // C + sideChainTokenInitialIssueList_ = java.util.Collections.unmodifiableList(sideChainTokenInitialIssueList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -20670,153 +27545,84 @@ private ChainInitializationData( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ChainPrimaryTokenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ChainPrimaryTokenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.ChainInitializationData.class, io.aelf.protobuf.generated.Client.ChainInitializationData.Builder.class); - } - - public static final int CHAIN_ID_FIELD_NUMBER = 1; - private int chainId_; - /** - * int32 chain_id = 1; - * @return The chainId. - */ - public int getChainId() { - return chainId_; - } - - public static final int CREATOR_FIELD_NUMBER = 2; - private io.aelf.protobuf.generated.Client.Address creator_; - /** - * .Address creator = 2; - * @return Whether the creator field is set. - */ - public boolean hasCreator() { - return creator_ != null; - } - /** - * .Address creator = 2; - * @return The creator. - */ - public io.aelf.protobuf.generated.Client.Address getCreator() { - return creator_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : creator_; - } - /** - * .Address creator = 2; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getCreatorOrBuilder() { - return getCreator(); + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.class, io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.Builder.class); } - public static final int CREATION_TIMESTAMP_FIELD_NUMBER = 3; - private com.google.protobuf.Timestamp creationTimestamp_; - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - * @return Whether the creationTimestamp field is set. - */ - public boolean hasCreationTimestamp() { - return creationTimestamp_ != null; - } - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - * @return The creationTimestamp. - */ - public com.google.protobuf.Timestamp getCreationTimestamp() { - return creationTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTimestamp_; - } + public static final int CHAIN_PRIMARY_TOKEN_DATA_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString chainPrimaryTokenData_; /** - * .google.protobuf.Timestamp creation_timestamp = 3; + *
+     * The side chain primary token data.
+     * 
+ * + * bytes chain_primary_token_data = 1; + * @return The chainPrimaryTokenData. */ - public com.google.protobuf.TimestampOrBuilder getCreationTimestampOrBuilder() { - return getCreationTimestamp(); + public com.google.protobuf.ByteString getChainPrimaryTokenData() { + return chainPrimaryTokenData_; } - public static final int EXTRA_INFORMATION_FIELD_NUMBER = 4; - private java.util.List extraInformation_; - /** - * repeated bytes extra_information = 4; - * @return A list containing the extraInformation. - */ - public java.util.List - getExtraInformationList() { - return extraInformation_; - } - /** - * repeated bytes extra_information = 4; - * @return The count of extraInformation. - */ - public int getExtraInformationCount() { - return extraInformation_.size(); - } + public static final int SIDE_CHAIN_TOKEN_INITIAL_ISSUE_LIST_FIELD_NUMBER = 2; + private java.util.List sideChainTokenInitialIssueList_; /** - * repeated bytes extra_information = 4; - * @param index The index of the element to return. - * @return The extraInformation at the given index. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - public com.google.protobuf.ByteString getExtraInformation(int index) { - return extraInformation_.get(index); + public java.util.List getSideChainTokenInitialIssueListList() { + return sideChainTokenInitialIssueList_; } - - public static final int CREATION_HEIGHT_ON_PARENT_CHAIN_FIELD_NUMBER = 5; - private long creationHeightOnParentChain_; /** - * int64 creation_height_on_parent_chain = 5; - * @return The creationHeightOnParentChain. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - public long getCreationHeightOnParentChain() { - return creationHeightOnParentChain_; + public java.util.List + getSideChainTokenInitialIssueListOrBuilderList() { + return sideChainTokenInitialIssueList_; } - - public static final int CHAIN_CREATOR_PRIVILEGE_PRESERVED_FIELD_NUMBER = 6; - private boolean chainCreatorPrivilegePreserved_; /** - * bool chain_creator_privilege_preserved = 6; - * @return The chainCreatorPrivilegePreserved. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - public boolean getChainCreatorPrivilegePreserved() { - return chainCreatorPrivilegePreserved_; + public int getSideChainTokenInitialIssueListCount() { + return sideChainTokenInitialIssueList_.size(); } - - public static final int SIDE_CHAIN_TOKEN_SYMBOL_FIELD_NUMBER = 7; - private volatile java.lang.Object sideChainTokenSymbol_; /** - * string side_chain_token_symbol = 7; - * @return The sideChainTokenSymbol. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - public java.lang.String getSideChainTokenSymbol() { - java.lang.Object ref = sideChainTokenSymbol_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - sideChainTokenSymbol_ = s; - return s; - } + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue getSideChainTokenInitialIssueList(int index) { + return sideChainTokenInitialIssueList_.get(index); } /** - * string side_chain_token_symbol = 7; - * @return The bytes for sideChainTokenSymbol. + *
+     * The side chain primary token initial issue list.
+     * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; */ - public com.google.protobuf.ByteString - getSideChainTokenSymbolBytes() { - java.lang.Object ref = sideChainTokenSymbol_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - sideChainTokenSymbol_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssueOrBuilder getSideChainTokenInitialIssueListOrBuilder( + int index) { + return sideChainTokenInitialIssueList_.get(index); } private byte memoizedIsInitialized = -1; @@ -20833,26 +27639,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (chainId_ != 0) { - output.writeInt32(1, chainId_); - } - if (creator_ != null) { - output.writeMessage(2, getCreator()); - } - if (creationTimestamp_ != null) { - output.writeMessage(3, getCreationTimestamp()); - } - for (int i = 0; i < extraInformation_.size(); i++) { - output.writeBytes(4, extraInformation_.get(i)); - } - if (creationHeightOnParentChain_ != 0L) { - output.writeInt64(5, creationHeightOnParentChain_); - } - if (chainCreatorPrivilegePreserved_ != false) { - output.writeBool(6, chainCreatorPrivilegePreserved_); + if (!chainPrimaryTokenData_.isEmpty()) { + output.writeBytes(1, chainPrimaryTokenData_); } - if (!getSideChainTokenSymbolBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, sideChainTokenSymbol_); + for (int i = 0; i < sideChainTokenInitialIssueList_.size(); i++) { + output.writeMessage(2, sideChainTokenInitialIssueList_.get(i)); } unknownFields.writeTo(output); } @@ -20863,37 +27654,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (chainId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, chainId_); - } - if (creator_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreator()); - } - if (creationTimestamp_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreationTimestamp()); - } - { - int dataSize = 0; - for (int i = 0; i < extraInformation_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeBytesSizeNoTag(extraInformation_.get(i)); - } - size += dataSize; - size += 1 * getExtraInformationList().size(); - } - if (creationHeightOnParentChain_ != 0L) { + if (!chainPrimaryTokenData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, creationHeightOnParentChain_); + .computeBytesSize(1, chainPrimaryTokenData_); } - if (chainCreatorPrivilegePreserved_ != false) { + for (int i = 0; i < sideChainTokenInitialIssueList_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, chainCreatorPrivilegePreserved_); - } - if (!getSideChainTokenSymbolBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, sideChainTokenSymbol_); + .computeMessageSize(2, sideChainTokenInitialIssueList_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -20905,31 +27672,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.aelf.protobuf.generated.Client.ChainInitializationData)) { + if (!(obj instanceof io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo)) { return super.equals(obj); } - io.aelf.protobuf.generated.Client.ChainInitializationData other = (io.aelf.protobuf.generated.Client.ChainInitializationData) obj; + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo other = (io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo) obj; - if (getChainId() - != other.getChainId()) return false; - if (hasCreator() != other.hasCreator()) return false; - if (hasCreator()) { - if (!getCreator() - .equals(other.getCreator())) return false; - } - if (hasCreationTimestamp() != other.hasCreationTimestamp()) return false; - if (hasCreationTimestamp()) { - if (!getCreationTimestamp() - .equals(other.getCreationTimestamp())) return false; - } - if (!getExtraInformationList() - .equals(other.getExtraInformationList())) return false; - if (getCreationHeightOnParentChain() - != other.getCreationHeightOnParentChain()) return false; - if (getChainCreatorPrivilegePreserved() - != other.getChainCreatorPrivilegePreserved()) return false; - if (!getSideChainTokenSymbol() - .equals(other.getSideChainTokenSymbol())) return false; + if (!getChainPrimaryTokenData() + .equals(other.getChainPrimaryTokenData())) return false; + if (!getSideChainTokenInitialIssueListList() + .equals(other.getSideChainTokenInitialIssueListList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -20941,96 +27692,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + CHAIN_ID_FIELD_NUMBER; - hash = (53 * hash) + getChainId(); - if (hasCreator()) { - hash = (37 * hash) + CREATOR_FIELD_NUMBER; - hash = (53 * hash) + getCreator().hashCode(); - } - if (hasCreationTimestamp()) { - hash = (37 * hash) + CREATION_TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + getCreationTimestamp().hashCode(); + hash = (37 * hash) + CHAIN_PRIMARY_TOKEN_DATA_FIELD_NUMBER; + hash = (53 * hash) + getChainPrimaryTokenData().hashCode(); + if (getSideChainTokenInitialIssueListCount() > 0) { + hash = (37 * hash) + SIDE_CHAIN_TOKEN_INITIAL_ISSUE_LIST_FIELD_NUMBER; + hash = (53 * hash) + getSideChainTokenInitialIssueListList().hashCode(); } - if (getExtraInformationCount() > 0) { - hash = (37 * hash) + EXTRA_INFORMATION_FIELD_NUMBER; - hash = (53 * hash) + getExtraInformationList().hashCode(); - } - hash = (37 * hash) + CREATION_HEIGHT_ON_PARENT_CHAIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCreationHeightOnParentChain()); - hash = (37 * hash) + CHAIN_CREATOR_PRIVILEGE_PRESERVED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getChainCreatorPrivilegePreserved()); - hash = (37 * hash) + SIDE_CHAIN_TOKEN_SYMBOL_FIELD_NUMBER; - hash = (53 * hash) + getSideChainTokenSymbol().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom(byte[] data) + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo 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 io.aelf.protobuf.generated.Client.ChainInitializationData parseDelimitedFrom(java.io.InputStream input) + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseDelimitedFrom( + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo 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 io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFrom( + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -21043,7 +27778,7 @@ public static io.aelf.protobuf.generated.Client.ChainInitializationData parseFro public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.aelf.protobuf.generated.Client.ChainInitializationData prototype) { + public static Builder newBuilder(io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -21059,26 +27794,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code ChainInitializationData} + * Protobuf type {@code ChainPrimaryTokenInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:ChainInitializationData) - io.aelf.protobuf.generated.Client.ChainInitializationDataOrBuilder { + // @@protoc_insertion_point(builder_implements:ChainPrimaryTokenInfo) + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ChainPrimaryTokenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_fieldAccessorTable + return io.aelf.protobuf.generated.Client.internal_static_ChainPrimaryTokenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Client.ChainInitializationData.class, io.aelf.protobuf.generated.Client.ChainInitializationData.Builder.class); + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.class, io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.Builder.class); } - // Construct using io.aelf.protobuf.generated.Client.ChainInitializationData.newBuilder() + // Construct using io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -21091,50 +27826,37 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getSideChainTokenInitialIssueListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - chainId_ = 0; + chainPrimaryTokenData_ = com.google.protobuf.ByteString.EMPTY; - if (creatorBuilder_ == null) { - creator_ = null; - } else { - creator_ = null; - creatorBuilder_ = null; - } - if (creationTimestampBuilder_ == null) { - creationTimestamp_ = null; + if (sideChainTokenInitialIssueListBuilder_ == null) { + sideChainTokenInitialIssueList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); } else { - creationTimestamp_ = null; - creationTimestampBuilder_ = null; + sideChainTokenInitialIssueListBuilder_.clear(); } - extraInformation_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - creationHeightOnParentChain_ = 0L; - - chainCreatorPrivilegePreserved_ = false; - - sideChainTokenSymbol_ = ""; - return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.aelf.protobuf.generated.Client.internal_static_ChainInitializationData_descriptor; + return io.aelf.protobuf.generated.Client.internal_static_ChainPrimaryTokenInfo_descriptor; } @java.lang.Override - public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Client.ChainInitializationData.getDefaultInstance(); + public io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.getDefaultInstance(); } @java.lang.Override - public io.aelf.protobuf.generated.Client.ChainInitializationData build() { - io.aelf.protobuf.generated.Client.ChainInitializationData result = buildPartial(); + public io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo build() { + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -21142,28 +27864,19 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData build() { } @java.lang.Override - public io.aelf.protobuf.generated.Client.ChainInitializationData buildPartial() { - io.aelf.protobuf.generated.Client.ChainInitializationData result = new io.aelf.protobuf.generated.Client.ChainInitializationData(this); + public io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo buildPartial() { + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo result = new io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo(this); int from_bitField0_ = bitField0_; - result.chainId_ = chainId_; - if (creatorBuilder_ == null) { - result.creator_ = creator_; - } else { - result.creator_ = creatorBuilder_.build(); - } - if (creationTimestampBuilder_ == null) { - result.creationTimestamp_ = creationTimestamp_; + result.chainPrimaryTokenData_ = chainPrimaryTokenData_; + if (sideChainTokenInitialIssueListBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + sideChainTokenInitialIssueList_ = java.util.Collections.unmodifiableList(sideChainTokenInitialIssueList_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.sideChainTokenInitialIssueList_ = sideChainTokenInitialIssueList_; } else { - result.creationTimestamp_ = creationTimestampBuilder_.build(); - } - if (((bitField0_ & 0x00000001) != 0)) { - extraInformation_ = java.util.Collections.unmodifiableList(extraInformation_); - bitField0_ = (bitField0_ & ~0x00000001); + result.sideChainTokenInitialIssueList_ = sideChainTokenInitialIssueListBuilder_.build(); } - result.extraInformation_ = extraInformation_; - result.creationHeightOnParentChain_ = creationHeightOnParentChain_; - result.chainCreatorPrivilegePreserved_ = chainCreatorPrivilegePreserved_; - result.sideChainTokenSymbol_ = sideChainTokenSymbol_; onBuilt(); return result; } @@ -21202,560 +27915,1195 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.aelf.protobuf.generated.Client.ChainInitializationData) { - return mergeFrom((io.aelf.protobuf.generated.Client.ChainInitializationData)other); + if (other instanceof io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo) { + return mergeFrom((io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.aelf.protobuf.generated.Client.ChainInitializationData other) { - if (other == io.aelf.protobuf.generated.Client.ChainInitializationData.getDefaultInstance()) return this; - if (other.getChainId() != 0) { - setChainId(other.getChainId()); + public Builder mergeFrom(io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo other) { + if (other == io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo.getDefaultInstance()) return this; + if (other.getChainPrimaryTokenData() != com.google.protobuf.ByteString.EMPTY) { + setChainPrimaryTokenData(other.getChainPrimaryTokenData()); } - if (other.hasCreator()) { - mergeCreator(other.getCreator()); + if (sideChainTokenInitialIssueListBuilder_ == null) { + if (!other.sideChainTokenInitialIssueList_.isEmpty()) { + if (sideChainTokenInitialIssueList_.isEmpty()) { + sideChainTokenInitialIssueList_ = other.sideChainTokenInitialIssueList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSideChainTokenInitialIssueListIsMutable(); + sideChainTokenInitialIssueList_.addAll(other.sideChainTokenInitialIssueList_); + } + onChanged(); + } + } else { + if (!other.sideChainTokenInitialIssueList_.isEmpty()) { + if (sideChainTokenInitialIssueListBuilder_.isEmpty()) { + sideChainTokenInitialIssueListBuilder_.dispose(); + sideChainTokenInitialIssueListBuilder_ = null; + sideChainTokenInitialIssueList_ = other.sideChainTokenInitialIssueList_; + bitField0_ = (bitField0_ & ~0x00000001); + sideChainTokenInitialIssueListBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSideChainTokenInitialIssueListFieldBuilder() : null; + } else { + sideChainTokenInitialIssueListBuilder_.addAllMessages(other.sideChainTokenInitialIssueList_); + } + } } - if (other.hasCreationTimestamp()) { - mergeCreationTimestamp(other.getCreationTimestamp()); + 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 { + io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } } - if (!other.extraInformation_.isEmpty()) { - if (extraInformation_.isEmpty()) { - extraInformation_ = other.extraInformation_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureExtraInformationIsMutable(); - extraInformation_.addAll(other.extraInformation_); + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString chainPrimaryTokenData_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+       * The side chain primary token data.
+       * 
+ * + * bytes chain_primary_token_data = 1; + * @return The chainPrimaryTokenData. + */ + public com.google.protobuf.ByteString getChainPrimaryTokenData() { + return chainPrimaryTokenData_; + } + /** + *
+       * The side chain primary token data.
+       * 
+ * + * bytes chain_primary_token_data = 1; + * @param value The chainPrimaryTokenData to set. + * @return This builder for chaining. + */ + public Builder setChainPrimaryTokenData(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + chainPrimaryTokenData_ = value; + onChanged(); + return this; + } + /** + *
+       * The side chain primary token data.
+       * 
+ * + * bytes chain_primary_token_data = 1; + * @return This builder for chaining. + */ + public Builder clearChainPrimaryTokenData() { + + chainPrimaryTokenData_ = getDefaultInstance().getChainPrimaryTokenData(); + onChanged(); + return this; + } + + private java.util.List sideChainTokenInitialIssueList_ = + java.util.Collections.emptyList(); + private void ensureSideChainTokenInitialIssueListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + sideChainTokenInitialIssueList_ = new java.util.ArrayList(sideChainTokenInitialIssueList_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssueOrBuilder> sideChainTokenInitialIssueListBuilder_; + + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public java.util.List getSideChainTokenInitialIssueListList() { + if (sideChainTokenInitialIssueListBuilder_ == null) { + return java.util.Collections.unmodifiableList(sideChainTokenInitialIssueList_); + } else { + return sideChainTokenInitialIssueListBuilder_.getMessageList(); + } + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public int getSideChainTokenInitialIssueListCount() { + if (sideChainTokenInitialIssueListBuilder_ == null) { + return sideChainTokenInitialIssueList_.size(); + } else { + return sideChainTokenInitialIssueListBuilder_.getCount(); + } + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue getSideChainTokenInitialIssueList(int index) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + return sideChainTokenInitialIssueList_.get(index); + } else { + return sideChainTokenInitialIssueListBuilder_.getMessage(index); + } + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public Builder setSideChainTokenInitialIssueList( + int index, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue value) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSideChainTokenInitialIssueListIsMutable(); + sideChainTokenInitialIssueList_.set(index, value); + onChanged(); + } else { + sideChainTokenInitialIssueListBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public Builder setSideChainTokenInitialIssueList( + int index, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder builderForValue) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + ensureSideChainTokenInitialIssueListIsMutable(); + sideChainTokenInitialIssueList_.set(index, builderForValue.build()); + onChanged(); + } else { + sideChainTokenInitialIssueListBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public Builder addSideChainTokenInitialIssueList(io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue value) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSideChainTokenInitialIssueListIsMutable(); + sideChainTokenInitialIssueList_.add(value); + onChanged(); + } else { + sideChainTokenInitialIssueListBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public Builder addSideChainTokenInitialIssueList( + int index, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue value) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureSideChainTokenInitialIssueListIsMutable(); + sideChainTokenInitialIssueList_.add(index, value); + onChanged(); + } else { + sideChainTokenInitialIssueListBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public Builder addSideChainTokenInitialIssueList( + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder builderForValue) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + ensureSideChainTokenInitialIssueListIsMutable(); + sideChainTokenInitialIssueList_.add(builderForValue.build()); + onChanged(); + } else { + sideChainTokenInitialIssueListBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public Builder addSideChainTokenInitialIssueList( + int index, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder builderForValue) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + ensureSideChainTokenInitialIssueListIsMutable(); + sideChainTokenInitialIssueList_.add(index, builderForValue.build()); + onChanged(); + } else { + sideChainTokenInitialIssueListBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public Builder addAllSideChainTokenInitialIssueList( + java.lang.Iterable values) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + ensureSideChainTokenInitialIssueListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sideChainTokenInitialIssueList_); + onChanged(); + } else { + sideChainTokenInitialIssueListBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public Builder clearSideChainTokenInitialIssueList() { + if (sideChainTokenInitialIssueListBuilder_ == null) { + sideChainTokenInitialIssueList_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + sideChainTokenInitialIssueListBuilder_.clear(); + } + return this; + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public Builder removeSideChainTokenInitialIssueList(int index) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + ensureSideChainTokenInitialIssueListIsMutable(); + sideChainTokenInitialIssueList_.remove(index); onChanged(); + } else { + sideChainTokenInitialIssueListBuilder_.remove(index); } - if (other.getCreationHeightOnParentChain() != 0L) { - setCreationHeightOnParentChain(other.getCreationHeightOnParentChain()); + return this; + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder getSideChainTokenInitialIssueListBuilder( + int index) { + return getSideChainTokenInitialIssueListFieldBuilder().getBuilder(index); + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssueOrBuilder getSideChainTokenInitialIssueListOrBuilder( + int index) { + if (sideChainTokenInitialIssueListBuilder_ == null) { + return sideChainTokenInitialIssueList_.get(index); } else { + return sideChainTokenInitialIssueListBuilder_.getMessageOrBuilder(index); } - if (other.getChainCreatorPrivilegePreserved() != false) { - setChainCreatorPrivilegePreserved(other.getChainCreatorPrivilegePreserved()); + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public java.util.List + getSideChainTokenInitialIssueListOrBuilderList() { + if (sideChainTokenInitialIssueListBuilder_ != null) { + return sideChainTokenInitialIssueListBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(sideChainTokenInitialIssueList_); } - if (!other.getSideChainTokenSymbol().isEmpty()) { - sideChainTokenSymbol_ = other.sideChainTokenSymbol_; - onChanged(); + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder addSideChainTokenInitialIssueListBuilder() { + return getSideChainTokenInitialIssueListFieldBuilder().addBuilder( + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.getDefaultInstance()); + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder addSideChainTokenInitialIssueListBuilder( + int index) { + return getSideChainTokenInitialIssueListFieldBuilder().addBuilder( + index, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.getDefaultInstance()); + } + /** + *
+       * The side chain primary token initial issue list.
+       * 
+ * + * repeated .SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; + */ + public java.util.List + getSideChainTokenInitialIssueListBuilderList() { + return getSideChainTokenInitialIssueListFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssueOrBuilder> + getSideChainTokenInitialIssueListFieldBuilder() { + if (sideChainTokenInitialIssueListBuilder_ == null) { + sideChainTokenInitialIssueListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssueOrBuilder>( + sideChainTokenInitialIssueList_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + sideChainTokenInitialIssueList_ = null; } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + return sideChainTokenInitialIssueListBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } @java.lang.Override - public final boolean isInitialized() { - return true; + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } + + // @@protoc_insertion_point(builder_scope:ChainPrimaryTokenInfo) + } + + // @@protoc_insertion_point(class_scope:ChainPrimaryTokenInfo) + private static final io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo(); + } + + public static io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Builder mergeFrom( + public ChainPrimaryTokenInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.aelf.protobuf.generated.Client.ChainInitializationData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Client.ChainInitializationData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChainPrimaryTokenInfo(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 io.aelf.protobuf.generated.Client.ChainPrimaryTokenInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SideChainTokenInitialIssueOrBuilder extends + // @@protoc_insertion_point(interface_extends:SideChainTokenInitialIssue) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The account that will be issued.
+     * 
+ * + * .Address address = 1; + * @return Whether the address field is set. + */ + boolean hasAddress(); + /** + *
+     * The account that will be issued.
+     * 
+ * + * .Address address = 1; + * @return The address. + */ + io.aelf.protobuf.generated.Client.Address getAddress(); + /** + *
+     * The account that will be issued.
+     * 
+ * + * .Address address = 1; + */ + io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder(); + + /** + *
+     * The amount that will be issued.
+     * 
+ * + * int64 amount = 2; + * @return The amount. + */ + long getAmount(); + } + /** + * Protobuf type {@code SideChainTokenInitialIssue} + */ + public static final class SideChainTokenInitialIssue extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:SideChainTokenInitialIssue) + SideChainTokenInitialIssueOrBuilder { + private static final long serialVersionUID = 0L; + // Use SideChainTokenInitialIssue.newBuilder() to construct. + private SideChainTokenInitialIssue(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SideChainTokenInitialIssue() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SideChainTokenInitialIssue(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SideChainTokenInitialIssue( + 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 10: { + io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; + if (address_ != null) { + subBuilder = address_.toBuilder(); + } + address_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(address_); + address_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + + amount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } - return this; + } 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(); } - private int bitField0_; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.Client.internal_static_SideChainTokenInitialIssue_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_SideChainTokenInitialIssue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.class, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder.class); + } + + public static final int ADDRESS_FIELD_NUMBER = 1; + private io.aelf.protobuf.generated.Client.Address address_; + /** + *
+     * The account that will be issued.
+     * 
+ * + * .Address address = 1; + * @return Whether the address field is set. + */ + public boolean hasAddress() { + return address_ != null; + } + /** + *
+     * The account that will be issued.
+     * 
+ * + * .Address address = 1; + * @return The address. + */ + public io.aelf.protobuf.generated.Client.Address getAddress() { + return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; + } + /** + *
+     * The account that will be issued.
+     * 
+ * + * .Address address = 1; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { + return getAddress(); + } + + public static final int AMOUNT_FIELD_NUMBER = 2; + private long amount_; + /** + *
+     * The amount that will be issued.
+     * 
+ * + * int64 amount = 2; + * @return The amount. + */ + public long getAmount() { + return amount_; + } - private int chainId_ ; - /** - * int32 chain_id = 1; - * @return The chainId. - */ - public int getChainId() { - return chainId_; - } - /** - * int32 chain_id = 1; - * @param value The chainId to set. - * @return This builder for chaining. - */ - public Builder setChainId(int value) { - - chainId_ = value; - onChanged(); - return this; + 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 (address_ != null) { + output.writeMessage(1, getAddress()); } - /** - * int32 chain_id = 1; - * @return This builder for chaining. - */ - public Builder clearChainId() { - - chainId_ = 0; - onChanged(); - return this; + if (amount_ != 0L) { + output.writeInt64(2, amount_); } + unknownFields.writeTo(output); + } - private io.aelf.protobuf.generated.Client.Address creator_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> creatorBuilder_; - /** - * .Address creator = 2; - * @return Whether the creator field is set. - */ - public boolean hasCreator() { - return creatorBuilder_ != null || creator_ != null; + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (address_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAddress()); } - /** - * .Address creator = 2; - * @return The creator. - */ - public io.aelf.protobuf.generated.Client.Address getCreator() { - if (creatorBuilder_ == null) { - return creator_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : creator_; - } else { - return creatorBuilder_.getMessage(); - } + if (amount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, amount_); } - /** - * .Address creator = 2; - */ - public Builder setCreator(io.aelf.protobuf.generated.Client.Address value) { - if (creatorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - creator_ = value; - onChanged(); - } else { - creatorBuilder_.setMessage(value); - } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - return this; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - /** - * .Address creator = 2; - */ - public Builder setCreator( - io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { - if (creatorBuilder_ == null) { - creator_ = builderForValue.build(); - onChanged(); - } else { - creatorBuilder_.setMessage(builderForValue.build()); - } - - return this; + if (!(obj instanceof io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue)) { + return super.equals(obj); } - /** - * .Address creator = 2; - */ - public Builder mergeCreator(io.aelf.protobuf.generated.Client.Address value) { - if (creatorBuilder_ == null) { - if (creator_ != null) { - creator_ = - io.aelf.protobuf.generated.Client.Address.newBuilder(creator_).mergeFrom(value).buildPartial(); - } else { - creator_ = value; - } - onChanged(); - } else { - creatorBuilder_.mergeFrom(value); - } + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue other = (io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue) obj; - return this; + if (hasAddress() != other.hasAddress()) return false; + if (hasAddress()) { + if (!getAddress() + .equals(other.getAddress())) return false; } - /** - * .Address creator = 2; - */ - public Builder clearCreator() { - if (creatorBuilder_ == null) { - creator_ = null; - onChanged(); - } else { - creator_ = null; - creatorBuilder_ = null; - } + if (getAmount() + != other.getAmount()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } - return this; - } - /** - * .Address creator = 2; - */ - public io.aelf.protobuf.generated.Client.Address.Builder getCreatorBuilder() { - - onChanged(); - return getCreatorFieldBuilder().getBuilder(); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - /** - * .Address creator = 2; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getCreatorOrBuilder() { - if (creatorBuilder_ != null) { - return creatorBuilder_.getMessageOrBuilder(); - } else { - return creator_ == null ? - io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : creator_; - } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasAddress()) { + hash = (37 * hash) + ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getAddress().hashCode(); } - /** - * .Address creator = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> - getCreatorFieldBuilder() { - if (creatorBuilder_ == null) { - creatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( - getCreator(), - getParentForChildren(), - isClean()); - creator_ = null; - } - return creatorBuilder_; + hash = (37 * hash) + AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAmount()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue 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 io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue 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 io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue 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(io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue 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; + } + /** + * Protobuf type {@code SideChainTokenInitialIssue} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:SideChainTokenInitialIssue) + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.Client.internal_static_SideChainTokenInitialIssue_descriptor; } - private com.google.protobuf.Timestamp creationTimestamp_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> creationTimestampBuilder_; - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - * @return Whether the creationTimestamp field is set. - */ - public boolean hasCreationTimestamp() { - return creationTimestampBuilder_ != null || creationTimestamp_ != null; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.Client.internal_static_SideChainTokenInitialIssue_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.class, io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.Builder.class); } - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - * @return The creationTimestamp. - */ - public com.google.protobuf.Timestamp getCreationTimestamp() { - if (creationTimestampBuilder_ == null) { - return creationTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : creationTimestamp_; - } else { - return creationTimestampBuilder_.getMessage(); - } + + // Construct using io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); } - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - */ - public Builder setCreationTimestamp(com.google.protobuf.Timestamp value) { - if (creationTimestampBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - creationTimestamp_ = value; - onChanged(); - } else { - creationTimestampBuilder_.setMessage(value); - } - return this; + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); } - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - */ - public Builder setCreationTimestamp( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (creationTimestampBuilder_ == null) { - creationTimestamp_ = builderForValue.build(); - onChanged(); - } else { - creationTimestampBuilder_.setMessage(builderForValue.build()); + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } - - return this; } - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - */ - public Builder mergeCreationTimestamp(com.google.protobuf.Timestamp value) { - if (creationTimestampBuilder_ == null) { - if (creationTimestamp_ != null) { - creationTimestamp_ = - com.google.protobuf.Timestamp.newBuilder(creationTimestamp_).mergeFrom(value).buildPartial(); - } else { - creationTimestamp_ = value; - } - onChanged(); + @java.lang.Override + public Builder clear() { + super.clear(); + if (addressBuilder_ == null) { + address_ = null; } else { - creationTimestampBuilder_.mergeFrom(value); + address_ = null; + addressBuilder_ = null; } + amount_ = 0L; return this; } - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - */ - public Builder clearCreationTimestamp() { - if (creationTimestampBuilder_ == null) { - creationTimestamp_ = null; - onChanged(); - } else { - creationTimestamp_ = null; - creationTimestampBuilder_ = null; - } - return this; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.Client.internal_static_SideChainTokenInitialIssue_descriptor; } - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - */ - public com.google.protobuf.Timestamp.Builder getCreationTimestampBuilder() { - - onChanged(); - return getCreationTimestampFieldBuilder().getBuilder(); + + @java.lang.Override + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue getDefaultInstanceForType() { + return io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.getDefaultInstance(); } - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - */ - public com.google.protobuf.TimestampOrBuilder getCreationTimestampOrBuilder() { - if (creationTimestampBuilder_ != null) { - return creationTimestampBuilder_.getMessageOrBuilder(); - } else { - return creationTimestamp_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : creationTimestamp_; + + @java.lang.Override + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue build() { + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } + return result; } - /** - * .google.protobuf.Timestamp creation_timestamp = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreationTimestampFieldBuilder() { - if (creationTimestampBuilder_ == null) { - creationTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreationTimestamp(), - getParentForChildren(), - isClean()); - creationTimestamp_ = null; + + @java.lang.Override + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue buildPartial() { + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue result = new io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue(this); + if (addressBuilder_ == null) { + result.address_ = address_; + } else { + result.address_ = addressBuilder_.build(); } - return creationTimestampBuilder_; + result.amount_ = amount_; + onBuilt(); + return result; } - private java.util.List extraInformation_ = java.util.Collections.emptyList(); - private void ensureExtraInformationIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - extraInformation_ = new java.util.ArrayList(extraInformation_); - bitField0_ |= 0x00000001; - } + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - * repeated bytes extra_information = 4; - * @return A list containing the extraInformation. - */ - public java.util.List - getExtraInformationList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(extraInformation_) : extraInformation_; + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - * repeated bytes extra_information = 4; - * @return The count of extraInformation. - */ - public int getExtraInformationCount() { - return extraInformation_.size(); + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - /** - * repeated bytes extra_information = 4; - * @param index The index of the element to return. - * @return The extraInformation at the given index. - */ - public com.google.protobuf.ByteString getExtraInformation(int index) { - return extraInformation_.get(index); + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - * repeated bytes extra_information = 4; - * @param index The index to set the value at. - * @param value The extraInformation to set. - * @return This builder for chaining. - */ - public Builder setExtraInformation( - int index, com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExtraInformationIsMutable(); - extraInformation_.set(index, value); - onChanged(); - return this; + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - /** - * repeated bytes extra_information = 4; - * @param value The extraInformation to add. - * @return This builder for chaining. - */ - public Builder addExtraInformation(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExtraInformationIsMutable(); - extraInformation_.add(value); - onChanged(); - return this; + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - /** - * repeated bytes extra_information = 4; - * @param values The extraInformation to add. - * @return This builder for chaining. - */ - public Builder addAllExtraInformation( - java.lang.Iterable values) { - ensureExtraInformationIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, extraInformation_); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue) { + return mergeFrom((io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue other) { + if (other == io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue.getDefaultInstance()) return this; + if (other.hasAddress()) { + mergeAddress(other.getAddress()); + } + if (other.getAmount() != 0L) { + setAmount(other.getAmount()); + } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } - /** - * repeated bytes extra_information = 4; - * @return This builder for chaining. - */ - public Builder clearExtraInformation() { - extraInformation_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); + + @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 { + io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } return this; } - private long creationHeightOnParentChain_ ; + private io.aelf.protobuf.generated.Client.Address address_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> addressBuilder_; /** - * int64 creation_height_on_parent_chain = 5; - * @return The creationHeightOnParentChain. + *
+       * The account that will be issued.
+       * 
+ * + * .Address address = 1; + * @return Whether the address field is set. */ - public long getCreationHeightOnParentChain() { - return creationHeightOnParentChain_; + public boolean hasAddress() { + return addressBuilder_ != null || address_ != null; } /** - * int64 creation_height_on_parent_chain = 5; - * @param value The creationHeightOnParentChain to set. - * @return This builder for chaining. + *
+       * The account that will be issued.
+       * 
+ * + * .Address address = 1; + * @return The address. */ - public Builder setCreationHeightOnParentChain(long value) { - - creationHeightOnParentChain_ = value; - onChanged(); - return this; + public io.aelf.protobuf.generated.Client.Address getAddress() { + if (addressBuilder_ == null) { + return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; + } else { + return addressBuilder_.getMessage(); + } } /** - * int64 creation_height_on_parent_chain = 5; - * @return This builder for chaining. + *
+       * The account that will be issued.
+       * 
+ * + * .Address address = 1; */ - public Builder clearCreationHeightOnParentChain() { - - creationHeightOnParentChain_ = 0L; - onChanged(); + public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { + if (addressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + address_ = value; + onChanged(); + } else { + addressBuilder_.setMessage(value); + } + return this; } + /** + *
+       * The account that will be issued.
+       * 
+ * + * .Address address = 1; + */ + public Builder setAddress( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (addressBuilder_ == null) { + address_ = builderForValue.build(); + onChanged(); + } else { + addressBuilder_.setMessage(builderForValue.build()); + } - private boolean chainCreatorPrivilegePreserved_ ; + return this; + } /** - * bool chain_creator_privilege_preserved = 6; - * @return The chainCreatorPrivilegePreserved. + *
+       * The account that will be issued.
+       * 
+ * + * .Address address = 1; */ - public boolean getChainCreatorPrivilegePreserved() { - return chainCreatorPrivilegePreserved_; + public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { + if (addressBuilder_ == null) { + if (address_ != null) { + address_ = + io.aelf.protobuf.generated.Client.Address.newBuilder(address_).mergeFrom(value).buildPartial(); + } else { + address_ = value; + } + onChanged(); + } else { + addressBuilder_.mergeFrom(value); + } + + return this; } /** - * bool chain_creator_privilege_preserved = 6; - * @param value The chainCreatorPrivilegePreserved to set. - * @return This builder for chaining. + *
+       * The account that will be issued.
+       * 
+ * + * .Address address = 1; */ - public Builder setChainCreatorPrivilegePreserved(boolean value) { - - chainCreatorPrivilegePreserved_ = value; - onChanged(); + public Builder clearAddress() { + if (addressBuilder_ == null) { + address_ = null; + onChanged(); + } else { + address_ = null; + addressBuilder_ = null; + } + return this; } /** - * bool chain_creator_privilege_preserved = 6; - * @return This builder for chaining. + *
+       * The account that will be issued.
+       * 
+ * + * .Address address = 1; */ - public Builder clearChainCreatorPrivilegePreserved() { + public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { - chainCreatorPrivilegePreserved_ = false; onChanged(); - return this; + return getAddressFieldBuilder().getBuilder(); } - - private java.lang.Object sideChainTokenSymbol_ = ""; /** - * string side_chain_token_symbol = 7; - * @return The sideChainTokenSymbol. + *
+       * The account that will be issued.
+       * 
+ * + * .Address address = 1; */ - public java.lang.String getSideChainTokenSymbol() { - java.lang.Object ref = sideChainTokenSymbol_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - sideChainTokenSymbol_ = s; - return s; + public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { + if (addressBuilder_ != null) { + return addressBuilder_.getMessageOrBuilder(); } else { - return (java.lang.String) ref; + return address_ == null ? + io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; } } /** - * string side_chain_token_symbol = 7; - * @return The bytes for sideChainTokenSymbol. + *
+       * The account that will be issued.
+       * 
+ * + * .Address address = 1; */ - public com.google.protobuf.ByteString - getSideChainTokenSymbolBytes() { - java.lang.Object ref = sideChainTokenSymbol_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - sideChainTokenSymbol_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getAddressFieldBuilder() { + if (addressBuilder_ == null) { + addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + getAddress(), + getParentForChildren(), + isClean()); + address_ = null; } + return addressBuilder_; } + + private long amount_ ; /** - * string side_chain_token_symbol = 7; - * @param value The sideChainTokenSymbol to set. - * @return This builder for chaining. + *
+       * The amount that will be issued.
+       * 
+ * + * int64 amount = 2; + * @return The amount. */ - public Builder setSideChainTokenSymbol( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - sideChainTokenSymbol_ = value; - onChanged(); - return this; + public long getAmount() { + return amount_; } /** - * string side_chain_token_symbol = 7; + *
+       * The amount that will be issued.
+       * 
+ * + * int64 amount = 2; + * @param value The amount to set. * @return This builder for chaining. */ - public Builder clearSideChainTokenSymbol() { + public Builder setAmount(long value) { - sideChainTokenSymbol_ = getDefaultInstance().getSideChainTokenSymbol(); + amount_ = value; onChanged(); return this; } /** - * string side_chain_token_symbol = 7; - * @param value The bytes for sideChainTokenSymbol to set. + *
+       * The amount that will be issued.
+       * 
+ * + * int64 amount = 2; * @return This builder for chaining. */ - public Builder setSideChainTokenSymbolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public Builder clearAmount() { - sideChainTokenSymbol_ = value; + amount_ = 0L; onChanged(); return this; } @@ -21772,41 +29120,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:ChainInitializationData) + // @@protoc_insertion_point(builder_scope:SideChainTokenInitialIssue) } - // @@protoc_insertion_point(class_scope:ChainInitializationData) - private static final io.aelf.protobuf.generated.Client.ChainInitializationData DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:SideChainTokenInitialIssue) + private static final io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.ChainInitializationData(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue(); } - public static io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInstance() { + public static io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ChainInitializationData parsePartialFrom( + public SideChainTokenInitialIssue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ChainInitializationData(input, extensionRegistry); + return new SideChainTokenInitialIssue(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Client.SideChainTokenInitialIssue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -21878,30 +29226,30 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInsta com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ProposalOutput_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ValidationResult_descriptor; + internal_static_ProposalReleaseThreshold_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_ValidationResult_fieldAccessorTable; + internal_static_ProposalReleaseThreshold_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_MethodCallingThreshold_descriptor; + internal_static_ProposerWhiteList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_MethodCallingThreshold_fieldAccessorTable; + internal_static_ProposerWhiteList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_MethodCallingThreshold_SymbolToAmountEntry_descriptor; + internal_static_ValidationResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_MethodCallingThreshold_SymbolToAmountEntry_fieldAccessorTable; + internal_static_ValidationResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_SideChainIdAndHeightDict_descriptor; + internal_static_MethodCallingThreshold_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_SideChainIdAndHeightDict_fieldAccessorTable; + internal_static_MethodCallingThreshold_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_SideChainIdAndHeightDict_IdHeightDictEntry_descriptor; + internal_static_MethodCallingThreshold_SymbolToAmountEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_SideChainIdAndHeightDict_IdHeightDictEntry_fieldAccessorTable; + internal_static_MethodCallingThreshold_SymbolToAmountEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_SideChainIndexingInformationList_descriptor; private static final @@ -21942,11 +29290,6 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInsta private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_CrossChainExtraData_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_IndexedSideChainBlockData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_IndexedSideChainBlockData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_CrossChainMerkleProofContext_descriptor; private static final @@ -21957,6 +29300,31 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInsta private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ChainInitializationData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ChainInitializationConsensusInfo_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ChainInitializationConsensusInfo_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ResourceTokenInfo_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ResourceTokenInfo_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ResourceTokenInfo_InitialResourceAmountEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ResourceTokenInfo_InitialResourceAmountEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ChainPrimaryTokenInfo_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ChainPrimaryTokenInfo_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_SideChainTokenInitialIssue_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_SideChainTokenInitialIssue_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -21976,72 +29344,94 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInsta "Hash\022\022\n\nleaf_count\030\003 \001(\005\"F\n\017ScopedStateP" + "ath\022\031\n\007address\030\001 \001(\0132\010.Address\022\030\n\004path\030\002" + " \001(\0132\n.StatePath\"\032\n\tStatePath\022\r\n\005parts\030\001" + - " \003(\t\"U\n\031SmartContractRegistration\022\020\n\010cat" + - "egory\030\001 \001(\005\022\014\n\004code\030\002 \001(\014\022\030\n\tcode_hash\030\003" + - " \001(\0132\005.Hash\"m\n\014ContractInfo\022\025\n\rserial_nu" + - "mber\030\001 \001(\004\022\020\n\010category\030\003 \001(\005\022\030\n\tcode_has" + - "h\030\004 \001(\0132\005.Hash\022\032\n\022is_system_contract\030\005 \001" + - "(\010\";\n\nMethodFees\022\023\n\013method_name\030\001 \001(\t\022\030\n" + - "\004fees\030\002 \003(\0132\n.MethodFee\".\n\tMethodFee\022\016\n\006" + - "symbol\030\001 \001(\t\022\021\n\tbasic_fee\030\002 \001(\022\"K\n\014Resou" + - "rceInfo\022\037\n\005paths\030\001 \003(\0132\020.ScopedStatePath" + - "\022\032\n\022non_parallelizable\030\002 \001(\010\"\206\002\n\016Proposa" + + " \003(\t\"\202\001\n\031SmartContractRegistration\022\020\n\010ca" + + "tegory\030\001 \001(\021\022\014\n\004code\030\002 \001(\014\022\030\n\tcode_hash\030" + + "\003 \001(\0132\005.Hash\022\032\n\022is_system_contract\030\004 \001(\010" + + "\022\017\n\007version\030\005 \001(\005\"\230\001\n\014ContractInfo\022\025\n\rse" + + "rial_number\030\001 \001(\003\022\030\n\006author\030\002 \001(\0132\010.Addr" + + "ess\022\020\n\010category\030\003 \001(\021\022\030\n\tcode_hash\030\004 \001(\013" + + "2\005.Hash\022\032\n\022is_system_contract\030\005 \001(\010\022\017\n\007v" + + "ersion\030\006 \001(\005\"U\n\nMethodFees\022\023\n\013method_nam" + + "e\030\001 \001(\t\022\030\n\004fees\030\002 \003(\0132\n.MethodFee\022\030\n\020is_" + + "size_fee_free\030\003 \001(\010\".\n\tMethodFee\022\016\n\006symb" + + "ol\030\001 \001(\t\022\021\n\tbasic_fee\030\002 \001(\003\"w\n\014ResourceI" + + "nfo\022%\n\013write_paths\030\001 \003(\0132\020.ScopedStatePa" + + "th\022$\n\nread_paths\030\002 \003(\0132\020.ScopedStatePath" + + "\022\032\n\022non_parallelizable\030\003 \001(\010\"\321\002\n\016Proposa" + "lOutput\022\032\n\013proposal_id\030\001 \001(\0132\005.Hash\022\034\n\024c" + "ontract_method_name\030\002 \001(\t\022\034\n\nto_address\030" + "\003 \001(\0132\010.Address\022\016\n\006params\030\004 \001(\014\0220\n\014expir" + "ed_time\030\005 \001(\0132\032.google.protobuf.Timestam" + "p\022&\n\024organization_address\030\006 \001(\0132\010.Addres" + "s\022\032\n\010proposer\030\007 \001(\0132\010.Address\022\026\n\016to_be_r" + - "eleased\030\010 \001(\010\"4\n\020ValidationResult\022\017\n\007suc" + - "cess\030\001 \001(\010\022\017\n\007message\030\002 \001(\t\"\311\001\n\026MethodCa" + + "eleased\030\010 \001(\010\022\026\n\016approval_count\030\t \001(\003\022\027\n" + + "\017rejection_count\030\n \001(\003\022\030\n\020abstention_cou" + + "nt\030\013 \001(\003\"\251\001\n\030ProposalReleaseThreshold\022\"\n" + + "\032minimal_approval_threshold\030\001 \001(\003\022#\n\033max" + + "imal_rejection_threshold\030\002 \001(\003\022$\n\034maxima" + + "l_abstention_threshold\030\003 \001(\003\022\036\n\026minimal_" + + "vote_threshold\030\004 \001(\003\"0\n\021ProposerWhiteLis" + + "t\022\033\n\tproposers\030\001 \003(\0132\010.Address\"K\n\020Valida" + + "tionResult\022\017\n\007success\030\001 \001(\010\022\017\n\007message\030\002" + + " \001(\t\022\025\n\ris_re_trigger\030\003 \001(\010\"\311\001\n\026MethodCa" + "llingThreshold\022E\n\020symbol_to_amount\030\001 \003(\013" + "2+.MethodCallingThreshold.SymbolToAmount" + "Entry\0221\n\024threshold_check_type\030\002 \001(\0162\023.Th" + "resholdCheckType\0325\n\023SymbolToAmountEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\022:\0028\001\"\224\001\n\030Side" + - "ChainIdAndHeightDict\022C\n\016id_height_dict\030\001" + - " \003(\0132+.SideChainIdAndHeightDict.IdHeight" + - "DictEntry\0323\n\021IdHeightDictEntry\022\013\n\003key\030\001 " + - "\001(\005\022\r\n\005value\030\002 \001(\003:\0028\001\"d\n SideChainIndex" + - "ingInformationList\022@\n\031indexing_informati" + - "on_list\030\001 \003(\0132\035.SideChainIndexingInforma" + - "tion\"e\n\034SideChainIndexingInformation\022\020\n\010" + - "chain_id\030\001 \001(\005\022\026\n\016indexed_height\030\002 \001(\003\022\033" + - "\n\023to_be_indexed_count\030\003 \001(\003\"\240\001\n\023CrossCha" + - "inBlockData\0222\n\025side_chain_block_data\030\001 \003" + - "(\0132\023.SideChainBlockData\0226\n\027parent_chain_" + - "block_data\030\002 \003(\0132\025.ParentChainBlockData\022" + - "\035\n\025previous_block_height\030\003 \001(\003\"\214\001\n\022SideC" + - "hainBlockData\022\016\n\006height\030\001 \001(\003\022 \n\021block_h" + - "eader_hash\030\002 \001(\0132\005.Hash\0222\n#transaction_s" + - "tatus_merkle_tree_root\030\003 \001(\0132\005.Hash\022\020\n\010c" + - "hain_id\030\004 \001(\005\"\240\003\n\024ParentChainBlockData\022\016" + - "\n\006height\030\001 \001(\003\0224\n\026cross_chain_extra_data" + - "\030\002 \001(\0132\024.CrossChainExtraData\022\020\n\010chain_id" + - "\030\003 \001(\005\0222\n#transaction_status_merkle_tree" + - "_root\030\004 \001(\0132\005.Hash\022I\n\023indexed_merkle_pat" + - "h\030\005 \003(\0132,.ParentChainBlockData.IndexedMe" + - "rklePathEntry\0228\n\nextra_data\030\006 \003(\0132$.Pare" + - "ntChainBlockData.ExtraDataEntry\032E\n\026Index" + - "edMerklePathEntry\022\013\n\003key\030\001 \001(\003\022\032\n\005value\030" + - "\002 \001(\0132\013.MerklePath:\0028\001\0320\n\016ExtraDataEntry" + - "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"I\n\023Cros" + - "sChainExtraData\0222\n#transaction_status_me" + - "rkle_tree_root\030\001 \001(\0132\005.Hash\"O\n\031IndexedSi" + - "deChainBlockData\0222\n\025side_chain_block_dat" + - "a\030\001 \003(\0132\023.SideChainBlockData\"u\n\034CrossCha" + - "inMerkleProofContext\022!\n\031bound_parent_cha" + - "in_height\030\001 \001(\003\0222\n\035merkle_path_from_pare" + - "nt_chain\030\002 \001(\0132\013.MerklePath\"\216\002\n\027ChainIni" + - "tializationData\022\020\n\010chain_id\030\001 \001(\005\022\031\n\007cre" + - "ator\030\002 \001(\0132\010.Address\0226\n\022creation_timesta" + - "mp\030\003 \001(\0132\032.google.protobuf.Timestamp\022\031\n\021" + - "extra_information\030\004 \003(\014\022\'\n\037creation_heig" + - "ht_on_parent_chain\030\005 \001(\003\022)\n!chain_creato" + - "r_privilege_preserved\030\006 \001(\010\022\037\n\027side_chai" + - "n_token_symbol\030\007 \001(\t*0\n\022ThresholdCheckTy" + - "pe\022\013\n\007BALANCE\020\000\022\r\n\tALLOWANCE\020\001B\034\n\032io.ael" + - "f.protobuf.generatedb\006proto3" + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\"d\n SideC" + + "hainIndexingInformationList\022@\n\031indexing_" + + "information_list\030\001 \003(\0132\035.SideChainIndexi" + + "ngInformation\"H\n\034SideChainIndexingInform" + + "ation\022\020\n\010chain_id\030\001 \001(\005\022\026\n\016indexed_heigh" + + "t\030\002 \001(\003\"\213\001\n\023CrossChainBlockData\0227\n\032side_" + + "chain_block_data_list\030\001 \003(\0132\023.SideChainB" + + "lockData\022;\n\034parent_chain_block_data_list" + + "\030\002 \003(\0132\025.ParentChainBlockData\"\214\001\n\022SideCh" + + "ainBlockData\022\016\n\006height\030\001 \001(\003\022 \n\021block_he" + + "ader_hash\030\002 \001(\0132\005.Hash\0222\n#transaction_st" + + "atus_merkle_tree_root\030\003 \001(\0132\005.Hash\022\020\n\010ch" + + "ain_id\030\004 \001(\005\"\240\003\n\024ParentChainBlockData\022\016\n" + + "\006height\030\001 \001(\003\0224\n\026cross_chain_extra_data\030" + + "\002 \001(\0132\024.CrossChainExtraData\022\020\n\010chain_id\030" + + "\003 \001(\005\0222\n#transaction_status_merkle_tree_" + + "root\030\004 \001(\0132\005.Hash\022I\n\023indexed_merkle_path" + + "\030\005 \003(\0132,.ParentChainBlockData.IndexedMer" + + "klePathEntry\0228\n\nextra_data\030\006 \003(\0132$.Paren" + + "tChainBlockData.ExtraDataEntry\032E\n\026Indexe" + + "dMerklePathEntry\022\013\n\003key\030\001 \001(\003\022\032\n\005value\030\002" + + " \001(\0132\013.MerklePath:\0028\001\0320\n\016ExtraDataEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"I\n\023Cross" + + "ChainExtraData\0222\n#transaction_status_mer" + + "kle_tree_root\030\001 \001(\0132\005.Hash\"u\n\034CrossChain" + + "MerkleProofContext\022!\n\031bound_parent_chain" + + "_height\030\001 \001(\003\0222\n\035merkle_path_from_parent" + + "_chain\030\002 \001(\0132\013.MerklePath\"\344\003\n\027ChainIniti" + + "alizationData\022\020\n\010chain_id\030\001 \001(\005\022\031\n\007creat" + + "or\030\002 \001(\0132\010.Address\0226\n\022creation_timestamp" + + "\030\003 \001(\0132\032.google.protobuf.Timestamp\022\'\n\037cr" + + "eation_height_on_parent_chain\030\004 \001(\003\022)\n!c" + + "hain_creator_privilege_preserved\030\005 \001(\010\0225" + + "\n#parent_chain_token_contract_address\030\006 " + + "\001(\0132\010.Address\022N\n#chain_initialization_co" + + "nsensus_info\030\007 \001(\0132!.ChainInitialization" + + "ConsensusInfo\022\036\n\026native_token_info_data\030" + + "\010 \001(\014\022/\n\023resource_token_info\030\t \001(\0132\022.Res" + + "ourceTokenInfo\0228\n\030chain_primary_token_in" + + "fo\030\n \001(\0132\026.ChainPrimaryTokenInfo\"B\n Chai" + + "nInitializationConsensusInfo\022\036\n\026initial_" + + "consensus_data\030\001 \001(\014\"\303\001\n\021ResourceTokenIn" + + "fo\022 \n\030resource_token_list_data\030\001 \001(\014\022N\n\027" + + "initial_resource_amount\030\002 \003(\0132-.Resource" + + "TokenInfo.InitialResourceAmountEntry\032<\n\032" + + "InitialResourceAmountEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\005:\0028\001\"\203\001\n\025ChainPrimaryToken" + + "Info\022 \n\030chain_primary_token_data\030\001 \001(\014\022H" + + "\n#side_chain_token_initial_issue_list\030\002 " + + "\003(\0132\033.SideChainTokenInitialIssue\"G\n\032Side" + + "ChainTokenInitialIssue\022\031\n\007address\030\001 \001(\0132" + + "\010.Address\022\016\n\006amount\030\002 \001(\003*0\n\022ThresholdCh" + + "eckType\022\013\n\007BALANCE\020\000\022\r\n\tALLOWANCE\020\001B\034\n\032i" + + "o.aelf.protobuf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -22095,19 +29485,19 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInsta internal_static_SmartContractRegistration_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_SmartContractRegistration_descriptor, - new java.lang.String[] { "Category", "Code", "CodeHash", }); + new java.lang.String[] { "Category", "Code", "CodeHash", "IsSystemContract", "Version", }); internal_static_ContractInfo_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_ContractInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ContractInfo_descriptor, - new java.lang.String[] { "SerialNumber", "Category", "CodeHash", "IsSystemContract", }); + new java.lang.String[] { "SerialNumber", "Author", "Category", "CodeHash", "IsSystemContract", "Version", }); internal_static_MethodFees_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_MethodFees_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MethodFees_descriptor, - new java.lang.String[] { "MethodName", "Fees", }); + new java.lang.String[] { "MethodName", "Fees", "IsSizeFeeFree", }); internal_static_MethodFee_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_MethodFee_fieldAccessorTable = new @@ -22119,21 +29509,33 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInsta internal_static_ResourceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ResourceInfo_descriptor, - new java.lang.String[] { "Paths", "NonParallelizable", }); + new java.lang.String[] { "WritePaths", "ReadPaths", "NonParallelizable", }); internal_static_ProposalOutput_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_ProposalOutput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ProposalOutput_descriptor, - new java.lang.String[] { "ProposalId", "ContractMethodName", "ToAddress", "Params", "ExpiredTime", "OrganizationAddress", "Proposer", "ToBeReleased", }); - internal_static_ValidationResult_descriptor = + new java.lang.String[] { "ProposalId", "ContractMethodName", "ToAddress", "Params", "ExpiredTime", "OrganizationAddress", "Proposer", "ToBeReleased", "ApprovalCount", "RejectionCount", "AbstentionCount", }); + internal_static_ProposalReleaseThreshold_descriptor = getDescriptor().getMessageTypes().get(13); + internal_static_ProposalReleaseThreshold_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ProposalReleaseThreshold_descriptor, + new java.lang.String[] { "MinimalApprovalThreshold", "MaximalRejectionThreshold", "MaximalAbstentionThreshold", "MinimalVoteThreshold", }); + internal_static_ProposerWhiteList_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_ProposerWhiteList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ProposerWhiteList_descriptor, + new java.lang.String[] { "Proposers", }); + internal_static_ValidationResult_descriptor = + getDescriptor().getMessageTypes().get(15); internal_static_ValidationResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ValidationResult_descriptor, - new java.lang.String[] { "Success", "Message", }); + new java.lang.String[] { "Success", "Message", "IsReTrigger", }); internal_static_MethodCallingThreshold_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(16); internal_static_MethodCallingThreshold_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MethodCallingThreshold_descriptor, @@ -22144,44 +29546,32 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInsta com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MethodCallingThreshold_SymbolToAmountEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_SideChainIdAndHeightDict_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_SideChainIdAndHeightDict_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_SideChainIdAndHeightDict_descriptor, - new java.lang.String[] { "IdHeightDict", }); - internal_static_SideChainIdAndHeightDict_IdHeightDictEntry_descriptor = - internal_static_SideChainIdAndHeightDict_descriptor.getNestedTypes().get(0); - internal_static_SideChainIdAndHeightDict_IdHeightDictEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_SideChainIdAndHeightDict_IdHeightDictEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); internal_static_SideChainIndexingInformationList_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(17); internal_static_SideChainIndexingInformationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_SideChainIndexingInformationList_descriptor, new java.lang.String[] { "IndexingInformationList", }); internal_static_SideChainIndexingInformation_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(18); internal_static_SideChainIndexingInformation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_SideChainIndexingInformation_descriptor, - new java.lang.String[] { "ChainId", "IndexedHeight", "ToBeIndexedCount", }); + new java.lang.String[] { "ChainId", "IndexedHeight", }); internal_static_CrossChainBlockData_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(19); internal_static_CrossChainBlockData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_CrossChainBlockData_descriptor, - new java.lang.String[] { "SideChainBlockData", "ParentChainBlockData", "PreviousBlockHeight", }); + new java.lang.String[] { "SideChainBlockDataList", "ParentChainBlockDataList", }); internal_static_SideChainBlockData_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(20); internal_static_SideChainBlockData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_SideChainBlockData_descriptor, new java.lang.String[] { "Height", "BlockHeaderHash", "TransactionStatusMerkleTreeRoot", "ChainId", }); internal_static_ParentChainBlockData_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(21); internal_static_ParentChainBlockData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ParentChainBlockData_descriptor, @@ -22199,17 +29589,11 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInsta internal_static_ParentChainBlockData_ExtraDataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_CrossChainExtraData_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(22); internal_static_CrossChainExtraData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_CrossChainExtraData_descriptor, new java.lang.String[] { "TransactionStatusMerkleTreeRoot", }); - internal_static_IndexedSideChainBlockData_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_IndexedSideChainBlockData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_IndexedSideChainBlockData_descriptor, - new java.lang.String[] { "SideChainBlockData", }); internal_static_CrossChainMerkleProofContext_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_CrossChainMerkleProofContext_fieldAccessorTable = new @@ -22221,7 +29605,37 @@ public io.aelf.protobuf.generated.Client.ChainInitializationData getDefaultInsta internal_static_ChainInitializationData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ChainInitializationData_descriptor, - new java.lang.String[] { "ChainId", "Creator", "CreationTimestamp", "ExtraInformation", "CreationHeightOnParentChain", "ChainCreatorPrivilegePreserved", "SideChainTokenSymbol", }); + new java.lang.String[] { "ChainId", "Creator", "CreationTimestamp", "CreationHeightOnParentChain", "ChainCreatorPrivilegePreserved", "ParentChainTokenContractAddress", "ChainInitializationConsensusInfo", "NativeTokenInfoData", "ResourceTokenInfo", "ChainPrimaryTokenInfo", }); + internal_static_ChainInitializationConsensusInfo_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_ChainInitializationConsensusInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ChainInitializationConsensusInfo_descriptor, + new java.lang.String[] { "InitialConsensusData", }); + internal_static_ResourceTokenInfo_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_ResourceTokenInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ResourceTokenInfo_descriptor, + new java.lang.String[] { "ResourceTokenListData", "InitialResourceAmount", }); + internal_static_ResourceTokenInfo_InitialResourceAmountEntry_descriptor = + internal_static_ResourceTokenInfo_descriptor.getNestedTypes().get(0); + internal_static_ResourceTokenInfo_InitialResourceAmountEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ResourceTokenInfo_InitialResourceAmountEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_ChainPrimaryTokenInfo_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_ChainPrimaryTokenInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ChainPrimaryTokenInfo_descriptor, + new java.lang.String[] { "ChainPrimaryTokenData", "SideChainTokenInitialIssueList", }); + internal_static_SideChainTokenInitialIssue_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_SideChainTokenInitialIssue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_SideChainTokenInitialIssue_descriptor, + new java.lang.String[] { "Address", "Amount", }); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/Core.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/Core.java index 9e3c864..03ff397 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/Core.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/Core.java @@ -36,13 +36,17 @@ public enum TransactionResultStatus */ MINED(3), /** - * UNEXECUTABLE = 4; + * CONFLICT = 4; */ - UNEXECUTABLE(4), + CONFLICT(4), /** - * CONFLICT = 5; + * PENDING_VALIDATION = 5; */ - CONFLICT(5), + PENDING_VALIDATION(5), + /** + * NODE_VALIDATION_FAILED = 6; + */ + NODE_VALIDATION_FAILED(6), UNRECOGNIZED(-1), ; @@ -63,13 +67,17 @@ public enum TransactionResultStatus */ public static final int MINED_VALUE = 3; /** - * UNEXECUTABLE = 4; + * CONFLICT = 4; + */ + public static final int CONFLICT_VALUE = 4; + /** + * PENDING_VALIDATION = 5; */ - public static final int UNEXECUTABLE_VALUE = 4; + public static final int PENDING_VALIDATION_VALUE = 5; /** - * CONFLICT = 5; + * NODE_VALIDATION_FAILED = 6; */ - public static final int CONFLICT_VALUE = 5; + public static final int NODE_VALIDATION_FAILED_VALUE = 6; public final int getNumber() { @@ -100,8 +108,9 @@ public static TransactionResultStatus forNumber(int value) { case 1: return PENDING; case 2: return FAILED; case 3: return MINED; - case 4: return UNEXECUTABLE; - case 5: return CONFLICT; + case 4: return CONFLICT; + case 5: return PENDING_VALIDATION; + case 6: return NODE_VALIDATION_FAILED; default: return null; } } @@ -1493,40 +1502,11 @@ io.aelf.protobuf.generated.Core.LogEventOrBuilder getLogsOrBuilder( io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHashOrBuilder(); /** - * int32 index = 8; - * @return The index. - */ - int getIndex(); - - /** - * .Hash state_hash = 9; - * @return Whether the stateHash field is set. - */ - boolean hasStateHash(); - /** - * .Hash state_hash = 9; - * @return The stateHash. - */ - io.aelf.protobuf.generated.Client.Hash getStateHash(); - /** - * .Hash state_hash = 9; - */ - io.aelf.protobuf.generated.Client.HashOrBuilder getStateHashOrBuilder(); - - /** - *
-     * Merkle proof path for this transaction
-     * 
- * * string error = 10; * @return The error. */ java.lang.String getError(); /** - *
-     * Merkle proof path for this transaction
-     * 
- * * string error = 10; * @return The bytes for error. */ @@ -1640,24 +1620,6 @@ private TransactionResult( break; } - case 64: { - - index_ = input.readInt32(); - break; - } - case 74: { - io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; - if (stateHash_ != null) { - subBuilder = stateHash_.toBuilder(); - } - stateHash_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stateHash_); - stateHash_ = subBuilder.buildPartial(); - } - - break; - } case 82: { java.lang.String s = input.readStringRequireUtf8(); @@ -1829,46 +1791,9 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHashOrBuilder() { return getBlockHash(); } - public static final int INDEX_FIELD_NUMBER = 8; - private int index_; - /** - * int32 index = 8; - * @return The index. - */ - public int getIndex() { - return index_; - } - - public static final int STATE_HASH_FIELD_NUMBER = 9; - private io.aelf.protobuf.generated.Client.Hash stateHash_; - /** - * .Hash state_hash = 9; - * @return Whether the stateHash field is set. - */ - public boolean hasStateHash() { - return stateHash_ != null; - } - /** - * .Hash state_hash = 9; - * @return The stateHash. - */ - public io.aelf.protobuf.generated.Client.Hash getStateHash() { - return stateHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : stateHash_; - } - /** - * .Hash state_hash = 9; - */ - public io.aelf.protobuf.generated.Client.HashOrBuilder getStateHashOrBuilder() { - return getStateHash(); - } - public static final int ERROR_FIELD_NUMBER = 10; private volatile java.lang.Object error_; /** - *
-     * Merkle proof path for this transaction
-     * 
- * * string error = 10; * @return The error. */ @@ -1885,10 +1810,6 @@ public java.lang.String getError() { } } /** - *
-     * Merkle proof path for this transaction
-     * 
- * * string error = 10; * @return The bytes for error. */ @@ -1941,12 +1862,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (blockHash_ != null) { output.writeMessage(7, getBlockHash()); } - if (index_ != 0) { - output.writeInt32(8, index_); - } - if (stateHash_ != null) { - output.writeMessage(9, getStateHash()); - } if (!getErrorBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, error_); } @@ -1987,14 +1902,6 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getBlockHash()); } - if (index_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, index_); - } - if (stateHash_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getStateHash()); - } if (!getErrorBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, error_); } @@ -2032,13 +1939,6 @@ public boolean equals(final java.lang.Object obj) { if (!getBlockHash() .equals(other.getBlockHash())) return false; } - if (getIndex() - != other.getIndex()) return false; - if (hasStateHash() != other.hasStateHash()) return false; - if (hasStateHash()) { - if (!getStateHash() - .equals(other.getStateHash())) return false; - } if (!getError() .equals(other.getError())) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -2073,12 +1973,6 @@ public int hashCode() { hash = (37 * hash) + BLOCK_HASH_FIELD_NUMBER; hash = (53 * hash) + getBlockHash().hashCode(); } - hash = (37 * hash) + INDEX_FIELD_NUMBER; - hash = (53 * hash) + getIndex(); - if (hasStateHash()) { - hash = (37 * hash) + STATE_HASH_FIELD_NUMBER; - hash = (53 * hash) + getStateHash().hashCode(); - } hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -2241,14 +2135,6 @@ public Builder clear() { blockHash_ = null; blockHashBuilder_ = null; } - index_ = 0; - - if (stateHashBuilder_ == null) { - stateHash_ = null; - } else { - stateHash_ = null; - stateHashBuilder_ = null; - } error_ = ""; return this; @@ -2301,12 +2187,6 @@ public io.aelf.protobuf.generated.Core.TransactionResult buildPartial() { } else { result.blockHash_ = blockHashBuilder_.build(); } - result.index_ = index_; - if (stateHashBuilder_ == null) { - result.stateHash_ = stateHash_; - } else { - result.stateHash_ = stateHashBuilder_.build(); - } result.error_ = error_; onBuilt(); return result; @@ -2400,12 +2280,6 @@ public Builder mergeFrom(io.aelf.protobuf.generated.Core.TransactionResult other if (other.hasBlockHash()) { mergeBlockHash(other.getBlockHash()); } - if (other.getIndex() != 0) { - setIndex(other.getIndex()); - } - if (other.hasStateHash()) { - mergeStateHash(other.getStateHash()); - } if (!other.getError().isEmpty()) { error_ = other.error_; onChanged(); @@ -2910,2468 +2784,234 @@ public Builder setReturnValue(com.google.protobuf.ByteString value) { * bytes return_value = 5; * @return This builder for chaining. */ - public Builder clearReturnValue() { - - returnValue_ = getDefaultInstance().getReturnValue(); - onChanged(); - return this; - } - - private long blockNumber_ ; - /** - * int64 block_number = 6; - * @return The blockNumber. - */ - public long getBlockNumber() { - return blockNumber_; - } - /** - * int64 block_number = 6; - * @param value The blockNumber to set. - * @return This builder for chaining. - */ - public Builder setBlockNumber(long value) { - - blockNumber_ = value; - onChanged(); - return this; - } - /** - * int64 block_number = 6; - * @return This builder for chaining. - */ - public Builder clearBlockNumber() { - - blockNumber_ = 0L; - onChanged(); - return this; - } - - private io.aelf.protobuf.generated.Client.Hash blockHash_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> blockHashBuilder_; - /** - * .Hash block_hash = 7; - * @return Whether the blockHash field is set. - */ - public boolean hasBlockHash() { - return blockHashBuilder_ != null || blockHash_ != null; - } - /** - * .Hash block_hash = 7; - * @return The blockHash. - */ - public io.aelf.protobuf.generated.Client.Hash getBlockHash() { - if (blockHashBuilder_ == null) { - return blockHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHash_; - } else { - return blockHashBuilder_.getMessage(); - } - } - /** - * .Hash block_hash = 7; - */ - public Builder setBlockHash(io.aelf.protobuf.generated.Client.Hash value) { - if (blockHashBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - blockHash_ = value; - onChanged(); - } else { - blockHashBuilder_.setMessage(value); - } - - return this; - } - /** - * .Hash block_hash = 7; - */ - public Builder setBlockHash( - io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { - if (blockHashBuilder_ == null) { - blockHash_ = builderForValue.build(); - onChanged(); - } else { - blockHashBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .Hash block_hash = 7; - */ - public Builder mergeBlockHash(io.aelf.protobuf.generated.Client.Hash value) { - if (blockHashBuilder_ == null) { - if (blockHash_ != null) { - blockHash_ = - io.aelf.protobuf.generated.Client.Hash.newBuilder(blockHash_).mergeFrom(value).buildPartial(); - } else { - blockHash_ = value; - } - onChanged(); - } else { - blockHashBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .Hash block_hash = 7; - */ - public Builder clearBlockHash() { - if (blockHashBuilder_ == null) { - blockHash_ = null; - onChanged(); - } else { - blockHash_ = null; - blockHashBuilder_ = null; - } - - return this; - } - /** - * .Hash block_hash = 7; - */ - public io.aelf.protobuf.generated.Client.Hash.Builder getBlockHashBuilder() { - - onChanged(); - return getBlockHashFieldBuilder().getBuilder(); - } - /** - * .Hash block_hash = 7; - */ - public io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHashOrBuilder() { - if (blockHashBuilder_ != null) { - return blockHashBuilder_.getMessageOrBuilder(); - } else { - return blockHash_ == null ? - io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHash_; - } - } - /** - * .Hash block_hash = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> - getBlockHashFieldBuilder() { - if (blockHashBuilder_ == null) { - blockHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( - getBlockHash(), - getParentForChildren(), - isClean()); - blockHash_ = null; - } - return blockHashBuilder_; - } - - private int index_ ; - /** - * int32 index = 8; - * @return The index. - */ - public int getIndex() { - return index_; - } - /** - * int32 index = 8; - * @param value The index to set. - * @return This builder for chaining. - */ - public Builder setIndex(int value) { - - index_ = value; - onChanged(); - return this; - } - /** - * int32 index = 8; - * @return This builder for chaining. - */ - public Builder clearIndex() { - - index_ = 0; - onChanged(); - return this; - } - - private io.aelf.protobuf.generated.Client.Hash stateHash_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> stateHashBuilder_; - /** - * .Hash state_hash = 9; - * @return Whether the stateHash field is set. - */ - public boolean hasStateHash() { - return stateHashBuilder_ != null || stateHash_ != null; - } - /** - * .Hash state_hash = 9; - * @return The stateHash. - */ - public io.aelf.protobuf.generated.Client.Hash getStateHash() { - if (stateHashBuilder_ == null) { - return stateHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : stateHash_; - } else { - return stateHashBuilder_.getMessage(); - } - } - /** - * .Hash state_hash = 9; - */ - public Builder setStateHash(io.aelf.protobuf.generated.Client.Hash value) { - if (stateHashBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stateHash_ = value; - onChanged(); - } else { - stateHashBuilder_.setMessage(value); - } - - return this; - } - /** - * .Hash state_hash = 9; - */ - public Builder setStateHash( - io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { - if (stateHashBuilder_ == null) { - stateHash_ = builderForValue.build(); - onChanged(); - } else { - stateHashBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .Hash state_hash = 9; - */ - public Builder mergeStateHash(io.aelf.protobuf.generated.Client.Hash value) { - if (stateHashBuilder_ == null) { - if (stateHash_ != null) { - stateHash_ = - io.aelf.protobuf.generated.Client.Hash.newBuilder(stateHash_).mergeFrom(value).buildPartial(); - } else { - stateHash_ = value; - } - onChanged(); - } else { - stateHashBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .Hash state_hash = 9; - */ - public Builder clearStateHash() { - if (stateHashBuilder_ == null) { - stateHash_ = null; - onChanged(); - } else { - stateHash_ = null; - stateHashBuilder_ = null; - } - - return this; - } - /** - * .Hash state_hash = 9; - */ - public io.aelf.protobuf.generated.Client.Hash.Builder getStateHashBuilder() { - - onChanged(); - return getStateHashFieldBuilder().getBuilder(); - } - /** - * .Hash state_hash = 9; - */ - public io.aelf.protobuf.generated.Client.HashOrBuilder getStateHashOrBuilder() { - if (stateHashBuilder_ != null) { - return stateHashBuilder_.getMessageOrBuilder(); - } else { - return stateHash_ == null ? - io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : stateHash_; - } - } - /** - * .Hash state_hash = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> - getStateHashFieldBuilder() { - if (stateHashBuilder_ == null) { - stateHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( - getStateHash(), - getParentForChildren(), - isClean()); - stateHash_ = null; - } - return stateHashBuilder_; - } - - private java.lang.Object error_ = ""; - /** - *
-       * Merkle proof path for this transaction
-       * 
- * - * string error = 10; - * @return The error. - */ - public java.lang.String getError() { - java.lang.Object ref = error_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - error_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
-       * Merkle proof path for this transaction
-       * 
- * - * string error = 10; - * @return The bytes for error. - */ - public com.google.protobuf.ByteString - getErrorBytes() { - java.lang.Object ref = error_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - error_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
-       * Merkle proof path for this transaction
-       * 
- * - * string error = 10; - * @param value The error to set. - * @return This builder for chaining. - */ - public Builder setError( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - error_ = value; - onChanged(); - return this; - } - /** - *
-       * Merkle proof path for this transaction
-       * 
- * - * string error = 10; - * @return This builder for chaining. - */ - public Builder clearError() { - - error_ = getDefaultInstance().getError(); - onChanged(); - return this; - } - /** - *
-       * Merkle proof path for this transaction
-       * 
- * - * string error = 10; - * @param value The bytes for error to set. - * @return This builder for chaining. - */ - public Builder setErrorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - error_ = 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:TransactionResult) - } - - // @@protoc_insertion_point(class_scope:TransactionResult) - private static final io.aelf.protobuf.generated.Core.TransactionResult DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Core.TransactionResult(); - } - - public static io.aelf.protobuf.generated.Core.TransactionResult getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransactionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransactionResult(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 io.aelf.protobuf.generated.Core.TransactionResult getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TransactionFeeOrBuilder extends - // @@protoc_insertion_point(interface_extends:TransactionFee) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - int getValueCount(); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - boolean containsValue( - java.lang.String key); - /** - * Use {@link #getValueMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getValue(); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - java.util.Map - getValueMap(); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - long getValueOrDefault( - java.lang.String key, - long defaultValue); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - long getValueOrThrow( - java.lang.String key); - - /** - * bool is_failed_to_charge = 2; - * @return The isFailedToCharge. - */ - boolean getIsFailedToCharge(); - } - /** - * Protobuf type {@code TransactionFee} - */ - public static final class TransactionFee extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:TransactionFee) - TransactionFeeOrBuilder { - private static final long serialVersionUID = 0L; - // Use TransactionFee.newBuilder() to construct. - private TransactionFee(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TransactionFee() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new TransactionFee(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TransactionFee( - 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: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - value_ = com.google.protobuf.MapField.newMapField( - ValueDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - value__ = input.readMessage( - ValueDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - value_.getMutableMap().put( - value__.getKey(), value__.getValue()); - break; - } - case 16: { - - isFailedToCharge_ = input.readBool(); - 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 io.aelf.protobuf.generated.Core.internal_static_TransactionFee_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValue(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Core.internal_static_TransactionFee_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Core.TransactionFee.class, io.aelf.protobuf.generated.Core.TransactionFee.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private static final class ValueDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.aelf.protobuf.generated.Core.internal_static_TransactionFee_ValueEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.SINT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> value_; - private com.google.protobuf.MapField - internalGetValue() { - if (value_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValueDefaultEntryHolder.defaultEntry); - } - return value_; - } - - public int getValueCount() { - return internalGetValue().getMap().size(); - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - public boolean containsValue( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValue().getMap().containsKey(key); - } - /** - * Use {@link #getValueMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValue() { - return getValueMap(); - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - public java.util.Map getValueMap() { - return internalGetValue().getMap(); - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - public long getValueOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - public long getValueOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int IS_FAILED_TO_CHARGE_FIELD_NUMBER = 2; - private boolean isFailedToCharge_; - /** - * bool is_failed_to_charge = 2; - * @return The isFailedToCharge. - */ - public boolean getIsFailedToCharge() { - return isFailedToCharge_; - } - - 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 { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetValue(), - ValueDefaultEntryHolder.defaultEntry, - 1); - if (isFailedToCharge_ != false) { - output.writeBool(2, isFailedToCharge_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetValue().getMap().entrySet()) { - com.google.protobuf.MapEntry - value__ = ValueDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, value__); - } - if (isFailedToCharge_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, isFailedToCharge_); - } - 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 io.aelf.protobuf.generated.Core.TransactionFee)) { - return super.equals(obj); - } - io.aelf.protobuf.generated.Core.TransactionFee other = (io.aelf.protobuf.generated.Core.TransactionFee) obj; - - if (!internalGetValue().equals( - other.internalGetValue())) return false; - if (getIsFailedToCharge() - != other.getIsFailedToCharge()) 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 (!internalGetValue().getMap().isEmpty()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + internalGetValue().hashCode(); - } - hash = (37 * hash) + IS_FAILED_TO_CHARGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsFailedToCharge()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.aelf.protobuf.generated.Core.TransactionFee parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.Core.TransactionFee parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.Core.TransactionFee parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.Core.TransactionFee parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.Core.TransactionFee parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.Core.TransactionFee parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.Core.TransactionFee parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.Core.TransactionFee 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 io.aelf.protobuf.generated.Core.TransactionFee parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.Core.TransactionFee 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 io.aelf.protobuf.generated.Core.TransactionFee parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.Core.TransactionFee 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(io.aelf.protobuf.generated.Core.TransactionFee 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; - } - /** - * Protobuf type {@code TransactionFee} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:TransactionFee) - io.aelf.protobuf.generated.Core.TransactionFeeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.aelf.protobuf.generated.Core.internal_static_TransactionFee_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValue(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableValue(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Core.internal_static_TransactionFee_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Core.TransactionFee.class, io.aelf.protobuf.generated.Core.TransactionFee.Builder.class); - } - - // Construct using io.aelf.protobuf.generated.Core.TransactionFee.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(); - internalGetMutableValue().clear(); - isFailedToCharge_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.aelf.protobuf.generated.Core.internal_static_TransactionFee_descriptor; - } - - @java.lang.Override - public io.aelf.protobuf.generated.Core.TransactionFee getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Core.TransactionFee.getDefaultInstance(); - } - - @java.lang.Override - public io.aelf.protobuf.generated.Core.TransactionFee build() { - io.aelf.protobuf.generated.Core.TransactionFee result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.aelf.protobuf.generated.Core.TransactionFee buildPartial() { - io.aelf.protobuf.generated.Core.TransactionFee result = new io.aelf.protobuf.generated.Core.TransactionFee(this); - int from_bitField0_ = bitField0_; - result.value_ = internalGetValue(); - result.value_.makeImmutable(); - result.isFailedToCharge_ = isFailedToCharge_; - 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 io.aelf.protobuf.generated.Core.TransactionFee) { - return mergeFrom((io.aelf.protobuf.generated.Core.TransactionFee)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.aelf.protobuf.generated.Core.TransactionFee other) { - if (other == io.aelf.protobuf.generated.Core.TransactionFee.getDefaultInstance()) return this; - internalGetMutableValue().mergeFrom( - other.internalGetValue()); - if (other.getIsFailedToCharge() != false) { - setIsFailedToCharge(other.getIsFailedToCharge()); - } - 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 { - io.aelf.protobuf.generated.Core.TransactionFee parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Core.TransactionFee) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> value_; - private com.google.protobuf.MapField - internalGetValue() { - if (value_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValueDefaultEntryHolder.defaultEntry); - } - return value_; - } - private com.google.protobuf.MapField - internalGetMutableValue() { - onChanged();; - if (value_ == null) { - value_ = com.google.protobuf.MapField.newMapField( - ValueDefaultEntryHolder.defaultEntry); - } - if (!value_.isMutable()) { - value_ = value_.copy(); - } - return value_; - } - - public int getValueCount() { - return internalGetValue().getMap().size(); - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public boolean containsValue( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValue().getMap().containsKey(key); - } - /** - * Use {@link #getValueMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValue() { - return getValueMap(); - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public java.util.Map getValueMap() { - return internalGetValue().getMap(); - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public long getValueOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public long getValueOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearValue() { - internalGetMutableValue().getMutableMap() - .clear(); - return this; - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public Builder removeValue( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableValue().getMutableMap() - .remove(key); - return this; - } - /** - * Use alternate mutation accessors instead. - */ - @java.lang.Deprecated - public java.util.Map - getMutableValue() { - return internalGetMutableValue().getMutableMap(); - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - public Builder putValue( - java.lang.String key, - long value) { - if (key == null) { throw new java.lang.NullPointerException(); } - - internalGetMutableValue().getMutableMap() - .put(key, value); - return this; - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public Builder putAllValue( - java.util.Map values) { - internalGetMutableValue().getMutableMap() - .putAll(values); - return this; - } - - private boolean isFailedToCharge_ ; - /** - * bool is_failed_to_charge = 2; - * @return The isFailedToCharge. - */ - public boolean getIsFailedToCharge() { - return isFailedToCharge_; - } - /** - * bool is_failed_to_charge = 2; - * @param value The isFailedToCharge to set. - * @return This builder for chaining. - */ - public Builder setIsFailedToCharge(boolean value) { - - isFailedToCharge_ = value; - onChanged(); - return this; - } - /** - * bool is_failed_to_charge = 2; - * @return This builder for chaining. - */ - public Builder clearIsFailedToCharge() { - - isFailedToCharge_ = false; - 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:TransactionFee) - } - - // @@protoc_insertion_point(class_scope:TransactionFee) - private static final io.aelf.protobuf.generated.Core.TransactionFee DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Core.TransactionFee(); - } - - public static io.aelf.protobuf.generated.Core.TransactionFee getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransactionFee parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransactionFee(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 io.aelf.protobuf.generated.Core.TransactionFee getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ConsumedResourceTokensOrBuilder extends - // @@protoc_insertion_point(interface_extends:ConsumedResourceTokens) - com.google.protobuf.MessageOrBuilder { - - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - int getValueCount(); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - boolean containsValue( - java.lang.String key); - /** - * Use {@link #getValueMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getValue(); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - java.util.Map - getValueMap(); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - long getValueOrDefault( - java.lang.String key, - long defaultValue); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - long getValueOrThrow( - java.lang.String key); - - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> owning = 2; - */ - int getOwningCount(); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> owning = 2; - */ - boolean containsOwning( - java.lang.String key); - /** - * Use {@link #getOwningMap()} instead. - */ - @java.lang.Deprecated - java.util.Map - getOwning(); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> owning = 2; - */ - java.util.Map - getOwningMap(); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> owning = 2; - */ - - long getOwningOrDefault( - java.lang.String key, - long defaultValue); - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> owning = 2; - */ - - long getOwningOrThrow( - java.lang.String key); - - /** - * bool is_failed_to_charge = 3; - * @return The isFailedToCharge. - */ - boolean getIsFailedToCharge(); - } - /** - * Protobuf type {@code ConsumedResourceTokens} - */ - public static final class ConsumedResourceTokens extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:ConsumedResourceTokens) - ConsumedResourceTokensOrBuilder { - private static final long serialVersionUID = 0L; - // Use ConsumedResourceTokens.newBuilder() to construct. - private ConsumedResourceTokens(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ConsumedResourceTokens() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ConsumedResourceTokens(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ConsumedResourceTokens( - 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: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - value_ = com.google.protobuf.MapField.newMapField( - ValueDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - value__ = input.readMessage( - ValueDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - value_.getMutableMap().put( - value__.getKey(), value__.getValue()); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - owning_ = com.google.protobuf.MapField.newMapField( - OwningDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry - owning__ = input.readMessage( - OwningDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - owning_.getMutableMap().put( - owning__.getKey(), owning__.getValue()); - break; - } - case 24: { - - isFailedToCharge_ = input.readBool(); - 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 io.aelf.protobuf.generated.Core.internal_static_ConsumedResourceTokens_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValue(); - case 2: - return internalGetOwning(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Core.internal_static_ConsumedResourceTokens_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Core.ConsumedResourceTokens.class, io.aelf.protobuf.generated.Core.ConsumedResourceTokens.Builder.class); - } - - public static final int VALUE_FIELD_NUMBER = 1; - private static final class ValueDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.aelf.protobuf.generated.Core.internal_static_ConsumedResourceTokens_ValueEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.SINT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> value_; - private com.google.protobuf.MapField - internalGetValue() { - if (value_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValueDefaultEntryHolder.defaultEntry); - } - return value_; - } - - public int getValueCount() { - return internalGetValue().getMap().size(); - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - public boolean containsValue( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValue().getMap().containsKey(key); - } - /** - * Use {@link #getValueMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValue() { - return getValueMap(); - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - public java.util.Map getValueMap() { - return internalGetValue().getMap(); - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - public long getValueOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> value = 1; - */ - - public long getValueOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int OWNING_FIELD_NUMBER = 2; - private static final class OwningDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.aelf.protobuf.generated.Core.internal_static_ConsumedResourceTokens_OwningEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.SINT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> owning_; - private com.google.protobuf.MapField - internalGetOwning() { - if (owning_ == null) { - return com.google.protobuf.MapField.emptyMapField( - OwningDefaultEntryHolder.defaultEntry); - } - return owning_; - } - - public int getOwningCount() { - return internalGetOwning().getMap().size(); - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> owning = 2; - */ - - public boolean containsOwning( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetOwning().getMap().containsKey(key); - } - /** - * Use {@link #getOwningMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getOwning() { - return getOwningMap(); - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> owning = 2; - */ - - public java.util.Map getOwningMap() { - return internalGetOwning().getMap(); - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> owning = 2; - */ - - public long getOwningOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetOwning().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-     * symbol -> amount
-     * 
- * - * map<string, sint64> owning = 2; - */ - - public long getOwningOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetOwning().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int IS_FAILED_TO_CHARGE_FIELD_NUMBER = 3; - private boolean isFailedToCharge_; - /** - * bool is_failed_to_charge = 3; - * @return The isFailedToCharge. - */ - public boolean getIsFailedToCharge() { - return isFailedToCharge_; - } - - 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 { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetValue(), - ValueDefaultEntryHolder.defaultEntry, - 1); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetOwning(), - OwningDefaultEntryHolder.defaultEntry, - 2); - if (isFailedToCharge_ != false) { - output.writeBool(3, isFailedToCharge_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (java.util.Map.Entry entry - : internalGetValue().getMap().entrySet()) { - com.google.protobuf.MapEntry - value__ = ValueDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, value__); - } - for (java.util.Map.Entry entry - : internalGetOwning().getMap().entrySet()) { - com.google.protobuf.MapEntry - owning__ = OwningDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, owning__); - } - if (isFailedToCharge_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, isFailedToCharge_); - } - 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 io.aelf.protobuf.generated.Core.ConsumedResourceTokens)) { - return super.equals(obj); - } - io.aelf.protobuf.generated.Core.ConsumedResourceTokens other = (io.aelf.protobuf.generated.Core.ConsumedResourceTokens) obj; - - if (!internalGetValue().equals( - other.internalGetValue())) return false; - if (!internalGetOwning().equals( - other.internalGetOwning())) return false; - if (getIsFailedToCharge() - != other.getIsFailedToCharge()) 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 (!internalGetValue().getMap().isEmpty()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + internalGetValue().hashCode(); - } - if (!internalGetOwning().getMap().isEmpty()) { - hash = (37 * hash) + OWNING_FIELD_NUMBER; - hash = (53 * hash) + internalGetOwning().hashCode(); - } - hash = (37 * hash) + IS_FAILED_TO_CHARGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsFailedToCharge()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens 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 io.aelf.protobuf.generated.Core.ConsumedResourceTokens parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens 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 io.aelf.protobuf.generated.Core.ConsumedResourceTokens parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens 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(io.aelf.protobuf.generated.Core.ConsumedResourceTokens 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; - } - /** - * Protobuf type {@code ConsumedResourceTokens} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:ConsumedResourceTokens) - io.aelf.protobuf.generated.Core.ConsumedResourceTokensOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.aelf.protobuf.generated.Core.internal_static_ConsumedResourceTokens_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 1: - return internalGetValue(); - case 2: - return internalGetOwning(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 1: - return internalGetMutableValue(); - case 2: - return internalGetMutableOwning(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.Core.internal_static_ConsumedResourceTokens_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.Core.ConsumedResourceTokens.class, io.aelf.protobuf.generated.Core.ConsumedResourceTokens.Builder.class); - } - - // Construct using io.aelf.protobuf.generated.Core.ConsumedResourceTokens.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(); - internalGetMutableValue().clear(); - internalGetMutableOwning().clear(); - isFailedToCharge_ = false; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.aelf.protobuf.generated.Core.internal_static_ConsumedResourceTokens_descriptor; - } - - @java.lang.Override - public io.aelf.protobuf.generated.Core.ConsumedResourceTokens getDefaultInstanceForType() { - return io.aelf.protobuf.generated.Core.ConsumedResourceTokens.getDefaultInstance(); - } - - @java.lang.Override - public io.aelf.protobuf.generated.Core.ConsumedResourceTokens build() { - io.aelf.protobuf.generated.Core.ConsumedResourceTokens result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.aelf.protobuf.generated.Core.ConsumedResourceTokens buildPartial() { - io.aelf.protobuf.generated.Core.ConsumedResourceTokens result = new io.aelf.protobuf.generated.Core.ConsumedResourceTokens(this); - int from_bitField0_ = bitField0_; - result.value_ = internalGetValue(); - result.value_.makeImmutable(); - result.owning_ = internalGetOwning(); - result.owning_.makeImmutable(); - result.isFailedToCharge_ = isFailedToCharge_; - 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 io.aelf.protobuf.generated.Core.ConsumedResourceTokens) { - return mergeFrom((io.aelf.protobuf.generated.Core.ConsumedResourceTokens)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.aelf.protobuf.generated.Core.ConsumedResourceTokens other) { - if (other == io.aelf.protobuf.generated.Core.ConsumedResourceTokens.getDefaultInstance()) return this; - internalGetMutableValue().mergeFrom( - other.internalGetValue()); - internalGetMutableOwning().mergeFrom( - other.internalGetOwning()); - if (other.getIsFailedToCharge() != false) { - setIsFailedToCharge(other.getIsFailedToCharge()); - } - 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 { - io.aelf.protobuf.generated.Core.ConsumedResourceTokens parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.Core.ConsumedResourceTokens) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> value_; - private com.google.protobuf.MapField - internalGetValue() { - if (value_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ValueDefaultEntryHolder.defaultEntry); - } - return value_; - } - private com.google.protobuf.MapField - internalGetMutableValue() { - onChanged();; - if (value_ == null) { - value_ = com.google.protobuf.MapField.newMapField( - ValueDefaultEntryHolder.defaultEntry); - } - if (!value_.isMutable()) { - value_ = value_.copy(); - } - return value_; - } - - public int getValueCount() { - return internalGetValue().getMap().size(); - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public boolean containsValue( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetValue().getMap().containsKey(key); - } - /** - * Use {@link #getValueMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getValue() { - return getValueMap(); - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public java.util.Map getValueMap() { - return internalGetValue().getMap(); - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public long getValueOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public long getValueOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetValue().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearValue() { - internalGetMutableValue().getMutableMap() - .clear(); - return this; - } - /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; - */ - - public Builder removeValue( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableValue().getMutableMap() - .remove(key); + public Builder clearReturnValue() { + + returnValue_ = getDefaultInstance().getReturnValue(); + onChanged(); return this; } + + private long blockNumber_ ; /** - * Use alternate mutation accessors instead. + * int64 block_number = 6; + * @return The blockNumber. */ - @java.lang.Deprecated - public java.util.Map - getMutableValue() { - return internalGetMutableValue().getMutableMap(); + public long getBlockNumber() { + return blockNumber_; } /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; + * int64 block_number = 6; + * @param value The blockNumber to set. + * @return This builder for chaining. */ - public Builder putValue( - java.lang.String key, - long value) { - if (key == null) { throw new java.lang.NullPointerException(); } + public Builder setBlockNumber(long value) { - internalGetMutableValue().getMutableMap() - .put(key, value); + blockNumber_ = value; + onChanged(); return this; } /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> value = 1; + * int64 block_number = 6; + * @return This builder for chaining. */ - - public Builder putAllValue( - java.util.Map values) { - internalGetMutableValue().getMutableMap() - .putAll(values); + public Builder clearBlockNumber() { + + blockNumber_ = 0L; + onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> owning_; - private com.google.protobuf.MapField - internalGetOwning() { - if (owning_ == null) { - return com.google.protobuf.MapField.emptyMapField( - OwningDefaultEntryHolder.defaultEntry); - } - return owning_; - } - private com.google.protobuf.MapField - internalGetMutableOwning() { - onChanged();; - if (owning_ == null) { - owning_ = com.google.protobuf.MapField.newMapField( - OwningDefaultEntryHolder.defaultEntry); - } - if (!owning_.isMutable()) { - owning_ = owning_.copy(); - } - return owning_; - } - - public int getOwningCount() { - return internalGetOwning().getMap().size(); - } + private io.aelf.protobuf.generated.Client.Hash blockHash_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> blockHashBuilder_; /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> owning = 2; + * .Hash block_hash = 7; + * @return Whether the blockHash field is set. */ - - public boolean containsOwning( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetOwning().getMap().containsKey(key); + public boolean hasBlockHash() { + return blockHashBuilder_ != null || blockHash_ != null; } /** - * Use {@link #getOwningMap()} instead. + * .Hash block_hash = 7; + * @return The blockHash. */ - @java.lang.Deprecated - public java.util.Map getOwning() { - return getOwningMap(); + public io.aelf.protobuf.generated.Client.Hash getBlockHash() { + if (blockHashBuilder_ == null) { + return blockHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHash_; + } else { + return blockHashBuilder_.getMessage(); + } } /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> owning = 2; + * .Hash block_hash = 7; */ + public Builder setBlockHash(io.aelf.protobuf.generated.Client.Hash value) { + if (blockHashBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + blockHash_ = value; + onChanged(); + } else { + blockHashBuilder_.setMessage(value); + } - public java.util.Map getOwningMap() { - return internalGetOwning().getMap(); + return this; } /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> owning = 2; + * .Hash block_hash = 7; */ + public Builder setBlockHash( + io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { + if (blockHashBuilder_ == null) { + blockHash_ = builderForValue.build(); + onChanged(); + } else { + blockHashBuilder_.setMessage(builderForValue.build()); + } - public long getOwningOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetOwning().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + return this; } /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> owning = 2; + * .Hash block_hash = 7; */ - - public long getOwningOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetOwning().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + public Builder mergeBlockHash(io.aelf.protobuf.generated.Client.Hash value) { + if (blockHashBuilder_ == null) { + if (blockHash_ != null) { + blockHash_ = + io.aelf.protobuf.generated.Client.Hash.newBuilder(blockHash_).mergeFrom(value).buildPartial(); + } else { + blockHash_ = value; + } + onChanged(); + } else { + blockHashBuilder_.mergeFrom(value); } - return map.get(key); - } - public Builder clearOwning() { - internalGetMutableOwning().getMutableMap() - .clear(); return this; } /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> owning = 2; + * .Hash block_hash = 7; */ + public Builder clearBlockHash() { + if (blockHashBuilder_ == null) { + blockHash_ = null; + onChanged(); + } else { + blockHash_ = null; + blockHashBuilder_ = null; + } - public Builder removeOwning( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableOwning().getMutableMap() - .remove(key); return this; } /** - * Use alternate mutation accessors instead. + * .Hash block_hash = 7; */ - @java.lang.Deprecated - public java.util.Map - getMutableOwning() { - return internalGetMutableOwning().getMutableMap(); + public io.aelf.protobuf.generated.Client.Hash.Builder getBlockHashBuilder() { + + onChanged(); + return getBlockHashFieldBuilder().getBuilder(); } /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> owning = 2; + * .Hash block_hash = 7; */ - public Builder putOwning( - java.lang.String key, - long value) { - if (key == null) { throw new java.lang.NullPointerException(); } - - internalGetMutableOwning().getMutableMap() - .put(key, value); - return this; + public io.aelf.protobuf.generated.Client.HashOrBuilder getBlockHashOrBuilder() { + if (blockHashBuilder_ != null) { + return blockHashBuilder_.getMessageOrBuilder(); + } else { + return blockHash_ == null ? + io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : blockHash_; + } } /** - *
-       * symbol -> amount
-       * 
- * - * map<string, sint64> owning = 2; + * .Hash block_hash = 7; */ - - public Builder putAllOwning( - java.util.Map values) { - internalGetMutableOwning().getMutableMap() - .putAll(values); - return this; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> + getBlockHashFieldBuilder() { + if (blockHashBuilder_ == null) { + blockHashBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( + getBlockHash(), + getParentForChildren(), + isClean()); + blockHash_ = null; + } + return blockHashBuilder_; } - private boolean isFailedToCharge_ ; + private java.lang.Object error_ = ""; + /** + * string error = 10; + * @return The error. + */ + public java.lang.String getError() { + java.lang.Object ref = error_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + error_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string error = 10; + * @return The bytes for error. + */ + public com.google.protobuf.ByteString + getErrorBytes() { + java.lang.Object ref = error_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + error_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } /** - * bool is_failed_to_charge = 3; - * @return The isFailedToCharge. + * string error = 10; + * @param value The error to set. + * @return This builder for chaining. */ - public boolean getIsFailedToCharge() { - return isFailedToCharge_; + public Builder setError( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + error_ = value; + onChanged(); + return this; } /** - * bool is_failed_to_charge = 3; - * @param value The isFailedToCharge to set. + * string error = 10; * @return This builder for chaining. */ - public Builder setIsFailedToCharge(boolean value) { + public Builder clearError() { - isFailedToCharge_ = value; + error_ = getDefaultInstance().getError(); onChanged(); return this; } /** - * bool is_failed_to_charge = 3; + * string error = 10; + * @param value The bytes for error to set. * @return This builder for chaining. */ - public Builder clearIsFailedToCharge() { + public Builder setErrorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); - isFailedToCharge_ = false; + error_ = value; onChanged(); return this; } @@ -5388,41 +3028,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:ConsumedResourceTokens) + // @@protoc_insertion_point(builder_scope:TransactionResult) } - // @@protoc_insertion_point(class_scope:ConsumedResourceTokens) - private static final io.aelf.protobuf.generated.Core.ConsumedResourceTokens DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:TransactionResult) + private static final io.aelf.protobuf.generated.Core.TransactionResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Core.ConsumedResourceTokens(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.Core.TransactionResult(); } - public static io.aelf.protobuf.generated.Core.ConsumedResourceTokens getDefaultInstance() { + public static io.aelf.protobuf.generated.Core.TransactionResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ConsumedResourceTokens parsePartialFrom( + public TransactionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ConsumedResourceTokens(input, extensionRegistry); + return new TransactionResult(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.Core.ConsumedResourceTokens getDefaultInstanceForType() { + public io.aelf.protobuf.generated.Core.TransactionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -8713,31 +6353,6 @@ public io.aelf.protobuf.generated.Core.SInt64Value getDefaultInstanceForType() { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_TransactionResult_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_TransactionFee_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_TransactionFee_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_TransactionFee_ValueEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_TransactionFee_ValueEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ConsumedResourceTokens_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_ConsumedResourceTokens_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ConsumedResourceTokens_ValueEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_ConsumedResourceTokens_ValueEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ConsumedResourceTokens_OwningEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_ConsumedResourceTokens_OwningEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_LogEvent_descriptor; private static final @@ -8786,40 +6401,30 @@ public io.aelf.protobuf.generated.Core.SInt64Value getDefaultInstanceForType() { "on\022\026\n\004from\030\001 \001(\0132\010.Address\022\024\n\002to\030\002 \001(\0132\010" + ".Address\022\030\n\020ref_block_number\030\003 \001(\003\022\030\n\020re" + "f_block_prefix\030\004 \001(\014\022\023\n\013method_name\030\005 \001(" + - "\t\022\016\n\006params\030\006 \001(\014\022\022\n\tsignature\030\220N \001(\014\"\204\002" + + "\t\022\016\n\006params\030\006 \001(\014\022\022\n\tsignature\030\220N \001(\014\"\332\001" + "\n\021TransactionResult\022\035\n\016transaction_id\030\001 " + "\001(\0132\005.Hash\022(\n\006status\030\002 \001(\0162\030.Transaction" + "ResultStatus\022\027\n\004logs\030\003 \003(\0132\t.LogEvent\022\r\n" + "\005bloom\030\004 \001(\014\022\024\n\014return_value\030\005 \001(\014\022\024\n\014bl" + "ock_number\030\006 \001(\003\022\031\n\nblock_hash\030\007 \001(\0132\005.H" + - "ash\022\r\n\005index\030\010 \001(\005\022\031\n\nstate_hash\030\t \001(\0132\005" + - ".Hash\022\r\n\005error\030\n \001(\t\"\206\001\n\016TransactionFee\022" + - ")\n\005value\030\001 \003(\0132\032.TransactionFee.ValueEnt" + - "ry\022\033\n\023is_failed_to_charge\030\002 \001(\010\032,\n\nValue" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\022:\0028\001\"\372\001" + - "\n\026ConsumedResourceTokens\0221\n\005value\030\001 \003(\0132" + - "\".ConsumedResourceTokens.ValueEntry\0223\n\006o" + - "wning\030\002 \003(\0132#.ConsumedResourceTokens.Own" + - "ingEntry\022\033\n\023is_failed_to_charge\030\003 \001(\010\032,\n" + - "\nValueEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\022:" + - "\0028\001\032-\n\013OwningEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + - "\030\002 \001(\022:\0028\001\"Y\n\010LogEvent\022\031\n\007address\030\001 \001(\0132" + - "\010.Address\022\014\n\004name\030\002 \001(\t\022\017\n\007indexed\030\003 \003(\014" + - "\022\023\n\013non_indexed\030\004 \001(\014\"\334\002\n\034TransactionExe" + - "cutingStateSet\0229\n\006writes\030\001 \003(\0132).Transac" + - "tionExecutingStateSet.WritesEntry\0227\n\005rea" + - "ds\030\002 \003(\0132(.TransactionExecutingStateSet." + - "ReadsEntry\022;\n\007deletes\030\003 \003(\0132*.Transactio" + - "nExecutingStateSet.DeletesEntry\032-\n\013Write" + - "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\032," + - "\n\nReadsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\010" + - ":\0028\001\032.\n\014DeletesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + - "ue\030\002 \001(\010:\0028\001\"\034\n\013SInt32Value\022\r\n\005value\030\001 \001" + - "(\021\"\034\n\013SInt64Value\022\r\n\005value\030\001 \001(\022*n\n\027Tran" + - "sactionResultStatus\022\017\n\013NOT_EXISTED\020\000\022\013\n\007" + - "PENDING\020\001\022\n\n\006FAILED\020\002\022\t\n\005MINED\020\003\022\020\n\014UNEX" + - "ECUTABLE\020\004\022\014\n\010CONFLICT\020\005B\034\n\032io.aelf.prot" + - "obuf.generatedb\006proto3" + "ash\022\r\n\005error\030\n \001(\t\"Y\n\010LogEvent\022\031\n\007addres" + + "s\030\001 \001(\0132\010.Address\022\014\n\004name\030\002 \001(\t\022\017\n\007index" + + "ed\030\003 \003(\014\022\023\n\013non_indexed\030\004 \001(\014\"\334\002\n\034Transa" + + "ctionExecutingStateSet\0229\n\006writes\030\001 \003(\0132)" + + ".TransactionExecutingStateSet.WritesEntr" + + "y\0227\n\005reads\030\002 \003(\0132(.TransactionExecutingS" + + "tateSet.ReadsEntry\022;\n\007deletes\030\003 \003(\0132*.Tr" + + "ansactionExecutingStateSet.DeletesEntry\032" + + "-\n\013WritesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\014:\0028\001\032,\n\nReadsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\010:\0028\001\032.\n\014DeletesEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\010:\0028\001\"\034\n\013SInt32Value\022\r\n\005v" + + "alue\030\001 \001(\021\"\034\n\013SInt64Value\022\r\n\005value\030\001 \001(\022" + + "*\220\001\n\027TransactionResultStatus\022\017\n\013NOT_EXIS" + + "TED\020\000\022\013\n\007PENDING\020\001\022\n\n\006FAILED\020\002\022\t\n\005MINED\020" + + "\003\022\014\n\010CONFLICT\020\004\022\026\n\022PENDING_VALIDATION\020\005\022" + + "\032\n\026NODE_VALIDATION_FAILED\020\006B\034\n\032io.aelf.p" + + "rotobuf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -8837,45 +6442,15 @@ public io.aelf.protobuf.generated.Core.SInt64Value getDefaultInstanceForType() { internal_static_TransactionResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_TransactionResult_descriptor, - new java.lang.String[] { "TransactionId", "Status", "Logs", "Bloom", "ReturnValue", "BlockNumber", "BlockHash", "Index", "StateHash", "Error", }); - internal_static_TransactionFee_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_TransactionFee_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_TransactionFee_descriptor, - new java.lang.String[] { "Value", "IsFailedToCharge", }); - internal_static_TransactionFee_ValueEntry_descriptor = - internal_static_TransactionFee_descriptor.getNestedTypes().get(0); - internal_static_TransactionFee_ValueEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_TransactionFee_ValueEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_ConsumedResourceTokens_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_ConsumedResourceTokens_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_ConsumedResourceTokens_descriptor, - new java.lang.String[] { "Value", "Owning", "IsFailedToCharge", }); - internal_static_ConsumedResourceTokens_ValueEntry_descriptor = - internal_static_ConsumedResourceTokens_descriptor.getNestedTypes().get(0); - internal_static_ConsumedResourceTokens_ValueEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_ConsumedResourceTokens_ValueEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_ConsumedResourceTokens_OwningEntry_descriptor = - internal_static_ConsumedResourceTokens_descriptor.getNestedTypes().get(1); - internal_static_ConsumedResourceTokens_OwningEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_ConsumedResourceTokens_OwningEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); + new java.lang.String[] { "TransactionId", "Status", "Logs", "Bloom", "ReturnValue", "BlockNumber", "BlockHash", "Error", }); internal_static_LogEvent_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(2); internal_static_LogEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LogEvent_descriptor, new java.lang.String[] { "Address", "Name", "Indexed", "NonIndexed", }); internal_static_TransactionExecutingStateSet_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(3); internal_static_TransactionExecutingStateSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_TransactionExecutingStateSet_descriptor, @@ -8899,13 +6474,13 @@ public io.aelf.protobuf.generated.Core.SInt64Value getDefaultInstanceForType() { internal_static_TransactionExecutingStateSet_DeletesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_SInt32Value_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(4); internal_static_SInt32Value_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_SInt32Value_descriptor, new java.lang.String[] { "Value", }); internal_static_SInt64Value_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(5); internal_static_SInt64Value_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_SInt64Value_descriptor, diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/CrossChainContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/CrossChainContract.java index 8fd843a..5a90fdd 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/CrossChainContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/CrossChainContract.java @@ -19,42 +19,74 @@ public interface VerifyTransactionInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The cross chain transaction id to verify.
+     * 
+ * * .Hash transaction_id = 1; * @return Whether the transactionId field is set. */ boolean hasTransactionId(); /** + *
+     * The cross chain transaction id to verify.
+     * 
+ * * .Hash transaction_id = 1; * @return The transactionId. */ io.aelf.protobuf.generated.Client.Hash getTransactionId(); /** + *
+     * The cross chain transaction id to verify.
+     * 
+ * * .Hash transaction_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionIdOrBuilder(); /** + *
+     * The merkle path of the transaction.
+     * 
+ * * .MerklePath path = 2; * @return Whether the path field is set. */ boolean hasPath(); /** + *
+     * The merkle path of the transaction.
+     * 
+ * * .MerklePath path = 2; * @return The path. */ io.aelf.protobuf.generated.Client.MerklePath getPath(); /** + *
+     * The merkle path of the transaction.
+     * 
+ * * .MerklePath path = 2; */ io.aelf.protobuf.generated.Client.MerklePathOrBuilder getPathOrBuilder(); /** - * sint64 parent_chain_height = 3; + *
+     * The height of parent chain that indexing this transaction.
+     * 
+ * + * int64 parent_chain_height = 3; * @return The parentChainHeight. */ long getParentChainHeight(); /** + *
+     * The chain if to verify.
+     * 
+ * * int32 verified_chain_id = 4; * @return The verifiedChainId. */ @@ -137,7 +169,7 @@ private VerifyTransactionInput( } case 24: { - parentChainHeight_ = input.readSInt64(); + parentChainHeight_ = input.readInt64(); break; } case 32: { @@ -180,6 +212,10 @@ private VerifyTransactionInput( public static final int TRANSACTION_ID_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Hash transactionId_; /** + *
+     * The cross chain transaction id to verify.
+     * 
+ * * .Hash transaction_id = 1; * @return Whether the transactionId field is set. */ @@ -187,6 +223,10 @@ public boolean hasTransactionId() { return transactionId_ != null; } /** + *
+     * The cross chain transaction id to verify.
+     * 
+ * * .Hash transaction_id = 1; * @return The transactionId. */ @@ -194,6 +234,10 @@ public io.aelf.protobuf.generated.Client.Hash getTransactionId() { return transactionId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : transactionId_; } /** + *
+     * The cross chain transaction id to verify.
+     * 
+ * * .Hash transaction_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionIdOrBuilder() { @@ -203,6 +247,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionIdOrBuilder public static final int PATH_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.MerklePath path_; /** + *
+     * The merkle path of the transaction.
+     * 
+ * * .MerklePath path = 2; * @return Whether the path field is set. */ @@ -210,6 +258,10 @@ public boolean hasPath() { return path_ != null; } /** + *
+     * The merkle path of the transaction.
+     * 
+ * * .MerklePath path = 2; * @return The path. */ @@ -217,6 +269,10 @@ public io.aelf.protobuf.generated.Client.MerklePath getPath() { return path_ == null ? io.aelf.protobuf.generated.Client.MerklePath.getDefaultInstance() : path_; } /** + *
+     * The merkle path of the transaction.
+     * 
+ * * .MerklePath path = 2; */ public io.aelf.protobuf.generated.Client.MerklePathOrBuilder getPathOrBuilder() { @@ -226,7 +282,11 @@ public io.aelf.protobuf.generated.Client.MerklePathOrBuilder getPathOrBuilder() public static final int PARENT_CHAIN_HEIGHT_FIELD_NUMBER = 3; private long parentChainHeight_; /** - * sint64 parent_chain_height = 3; + *
+     * The height of parent chain that indexing this transaction.
+     * 
+ * + * int64 parent_chain_height = 3; * @return The parentChainHeight. */ public long getParentChainHeight() { @@ -236,6 +296,10 @@ public long getParentChainHeight() { public static final int VERIFIED_CHAIN_ID_FIELD_NUMBER = 4; private int verifiedChainId_; /** + *
+     * The chain if to verify.
+     * 
+ * * int32 verified_chain_id = 4; * @return The verifiedChainId. */ @@ -264,7 +328,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, getPath()); } if (parentChainHeight_ != 0L) { - output.writeSInt64(3, parentChainHeight_); + output.writeInt64(3, parentChainHeight_); } if (verifiedChainId_ != 0) { output.writeInt32(4, verifiedChainId_); @@ -288,7 +352,7 @@ public int getSerializedSize() { } if (parentChainHeight_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, parentChainHeight_); + .computeInt64Size(3, parentChainHeight_); } if (verifiedChainId_ != 0) { size += com.google.protobuf.CodedOutputStream @@ -631,6 +695,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> transactionIdBuilder_; /** + *
+       * The cross chain transaction id to verify.
+       * 
+ * * .Hash transaction_id = 1; * @return Whether the transactionId field is set. */ @@ -638,6 +706,10 @@ public boolean hasTransactionId() { return transactionIdBuilder_ != null || transactionId_ != null; } /** + *
+       * The cross chain transaction id to verify.
+       * 
+ * * .Hash transaction_id = 1; * @return The transactionId. */ @@ -649,6 +721,10 @@ public io.aelf.protobuf.generated.Client.Hash getTransactionId() { } } /** + *
+       * The cross chain transaction id to verify.
+       * 
+ * * .Hash transaction_id = 1; */ public Builder setTransactionId(io.aelf.protobuf.generated.Client.Hash value) { @@ -665,6 +741,10 @@ public Builder setTransactionId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The cross chain transaction id to verify.
+       * 
+ * * .Hash transaction_id = 1; */ public Builder setTransactionId( @@ -679,6 +759,10 @@ public Builder setTransactionId( return this; } /** + *
+       * The cross chain transaction id to verify.
+       * 
+ * * .Hash transaction_id = 1; */ public Builder mergeTransactionId(io.aelf.protobuf.generated.Client.Hash value) { @@ -697,6 +781,10 @@ public Builder mergeTransactionId(io.aelf.protobuf.generated.Client.Hash value) return this; } /** + *
+       * The cross chain transaction id to verify.
+       * 
+ * * .Hash transaction_id = 1; */ public Builder clearTransactionId() { @@ -711,6 +799,10 @@ public Builder clearTransactionId() { return this; } /** + *
+       * The cross chain transaction id to verify.
+       * 
+ * * .Hash transaction_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getTransactionIdBuilder() { @@ -719,6 +811,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getTransactionIdBuilder() return getTransactionIdFieldBuilder().getBuilder(); } /** + *
+       * The cross chain transaction id to verify.
+       * 
+ * * .Hash transaction_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionIdOrBuilder() { @@ -730,6 +826,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionIdOrBuilder } } /** + *
+       * The cross chain transaction id to verify.
+       * 
+ * * .Hash transaction_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -750,6 +850,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getTransactionIdOrBuilder private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.MerklePath, io.aelf.protobuf.generated.Client.MerklePath.Builder, io.aelf.protobuf.generated.Client.MerklePathOrBuilder> pathBuilder_; /** + *
+       * The merkle path of the transaction.
+       * 
+ * * .MerklePath path = 2; * @return Whether the path field is set. */ @@ -757,6 +861,10 @@ public boolean hasPath() { return pathBuilder_ != null || path_ != null; } /** + *
+       * The merkle path of the transaction.
+       * 
+ * * .MerklePath path = 2; * @return The path. */ @@ -768,6 +876,10 @@ public io.aelf.protobuf.generated.Client.MerklePath getPath() { } } /** + *
+       * The merkle path of the transaction.
+       * 
+ * * .MerklePath path = 2; */ public Builder setPath(io.aelf.protobuf.generated.Client.MerklePath value) { @@ -784,6 +896,10 @@ public Builder setPath(io.aelf.protobuf.generated.Client.MerklePath value) { return this; } /** + *
+       * The merkle path of the transaction.
+       * 
+ * * .MerklePath path = 2; */ public Builder setPath( @@ -798,6 +914,10 @@ public Builder setPath( return this; } /** + *
+       * The merkle path of the transaction.
+       * 
+ * * .MerklePath path = 2; */ public Builder mergePath(io.aelf.protobuf.generated.Client.MerklePath value) { @@ -816,6 +936,10 @@ public Builder mergePath(io.aelf.protobuf.generated.Client.MerklePath value) { return this; } /** + *
+       * The merkle path of the transaction.
+       * 
+ * * .MerklePath path = 2; */ public Builder clearPath() { @@ -830,6 +954,10 @@ public Builder clearPath() { return this; } /** + *
+       * The merkle path of the transaction.
+       * 
+ * * .MerklePath path = 2; */ public io.aelf.protobuf.generated.Client.MerklePath.Builder getPathBuilder() { @@ -838,6 +966,10 @@ public io.aelf.protobuf.generated.Client.MerklePath.Builder getPathBuilder() { return getPathFieldBuilder().getBuilder(); } /** + *
+       * The merkle path of the transaction.
+       * 
+ * * .MerklePath path = 2; */ public io.aelf.protobuf.generated.Client.MerklePathOrBuilder getPathOrBuilder() { @@ -849,6 +981,10 @@ public io.aelf.protobuf.generated.Client.MerklePathOrBuilder getPathOrBuilder() } } /** + *
+       * The merkle path of the transaction.
+       * 
+ * * .MerklePath path = 2; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -867,14 +1003,22 @@ public io.aelf.protobuf.generated.Client.MerklePathOrBuilder getPathOrBuilder() private long parentChainHeight_ ; /** - * sint64 parent_chain_height = 3; + *
+       * The height of parent chain that indexing this transaction.
+       * 
+ * + * int64 parent_chain_height = 3; * @return The parentChainHeight. */ public long getParentChainHeight() { return parentChainHeight_; } /** - * sint64 parent_chain_height = 3; + *
+       * The height of parent chain that indexing this transaction.
+       * 
+ * + * int64 parent_chain_height = 3; * @param value The parentChainHeight to set. * @return This builder for chaining. */ @@ -885,7 +1029,11 @@ public Builder setParentChainHeight(long value) { return this; } /** - * sint64 parent_chain_height = 3; + *
+       * The height of parent chain that indexing this transaction.
+       * 
+ * + * int64 parent_chain_height = 3; * @return This builder for chaining. */ public Builder clearParentChainHeight() { @@ -897,6 +1045,10 @@ public Builder clearParentChainHeight() { private int verifiedChainId_ ; /** + *
+       * The chain if to verify.
+       * 
+ * * int32 verified_chain_id = 4; * @return The verifiedChainId. */ @@ -904,6 +1056,10 @@ public int getVerifiedChainId() { return verifiedChainId_; } /** + *
+       * The chain if to verify.
+       * 
+ * * int32 verified_chain_id = 4; * @param value The verifiedChainId to set. * @return This builder for chaining. @@ -915,6 +1071,10 @@ public Builder setVerifiedChainId(int value) { return this; } /** + *
+       * The chain if to verify.
+       * 
+ * * int32 verified_chain_id = 4; * @return This builder for chaining. */ @@ -994,7 +1154,7 @@ public io.aelf.protobuf.generated.CrossChainContract.VerifyTransactionInput getD "\n\032cross_chain_contract.proto\032\014client.pro" + "to\"\212\001\n\026VerifyTransactionInput\022\035\n\016transac" + "tion_id\030\001 \001(\0132\005.Hash\022\031\n\004path\030\002 \001(\0132\013.Mer" + - "klePath\022\033\n\023parent_chain_height\030\003 \001(\022\022\031\n\021" + + "klePath\022\033\n\023parent_chain_height\030\003 \001(\003\022\031\n\021" + "verified_chain_id\030\004 \001(\005B\034\n\032io.aelf.proto" + "buf.generatedb\006proto3" }; diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/ElectionContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/ElectionContract.java index 8752df4..caa53c7 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/ElectionContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/ElectionContract.java @@ -19,11 +19,19 @@ public interface CandidateInformationOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * Candidate’s public key.
+     * 
+ * * string pubkey = 1; * @return The pubkey. */ java.lang.String getPubkey(); /** + *
+     * Candidate’s public key.
+     * 
+ * * string pubkey = 1; * @return The bytes for pubkey. */ @@ -31,56 +39,96 @@ public interface CandidateInformationOrBuilder extends getPubkeyBytes(); /** - * repeated sint64 terms = 2; + *
+     * The number of terms that the candidate is elected.
+     * 
+ * + * repeated int64 terms = 2; * @return A list containing the terms. */ java.util.List getTermsList(); /** - * repeated sint64 terms = 2; + *
+     * The number of terms that the candidate is elected.
+     * 
+ * + * repeated int64 terms = 2; * @return The count of terms. */ int getTermsCount(); /** - * repeated sint64 terms = 2; + *
+     * The number of terms that the candidate is elected.
+     * 
+ * + * repeated int64 terms = 2; * @param index The index of the element to return. * @return The terms at the given index. */ long getTerms(int index); /** - * sint64 produced_blocks = 3; + *
+     * The number of blocks the candidate has produced.
+     * 
+ * + * int64 produced_blocks = 3; * @return The producedBlocks. */ long getProducedBlocks(); /** - * sint64 missed_time_slots = 4; + *
+     * The time slot for which the candidate failed to produce blocks.
+     * 
+ * + * int64 missed_time_slots = 4; * @return The missedTimeSlots. */ long getMissedTimeSlots(); /** - * sint64 continual_appointment_count = 5; + *
+     * The count of continual appointment.
+     * 
+ * + * int64 continual_appointment_count = 5; * @return The continualAppointmentCount. */ long getContinualAppointmentCount(); /** + *
+     * The transaction id when the candidate announced.
+     * 
+ * * .Hash announcement_transaction_id = 6; * @return Whether the announcementTransactionId field is set. */ boolean hasAnnouncementTransactionId(); /** + *
+     * The transaction id when the candidate announced.
+     * 
+ * * .Hash announcement_transaction_id = 6; * @return The announcementTransactionId. */ io.aelf.protobuf.generated.Client.Hash getAnnouncementTransactionId(); /** + *
+     * The transaction id when the candidate announced.
+     * 
+ * * .Hash announcement_transaction_id = 6; */ io.aelf.protobuf.generated.Client.HashOrBuilder getAnnouncementTransactionIdOrBuilder(); /** + *
+     * Indicate whether the candidate can be elected in the current term.
+     * 
+ * * bool is_current_candidate = 7; * @return The isCurrentCandidate. */ @@ -149,7 +197,7 @@ private CandidateInformation( terms_ = newLongList(); mutable_bitField0_ |= 0x00000001; } - terms_.addLong(input.readSInt64()); + terms_.addLong(input.readInt64()); break; } case 18: { @@ -160,24 +208,24 @@ private CandidateInformation( mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { - terms_.addLong(input.readSInt64()); + terms_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 24: { - producedBlocks_ = input.readSInt64(); + producedBlocks_ = input.readInt64(); break; } case 32: { - missedTimeSlots_ = input.readSInt64(); + missedTimeSlots_ = input.readInt64(); break; } case 40: { - continualAppointmentCount_ = input.readSInt64(); + continualAppointmentCount_ = input.readInt64(); break; } case 50: { @@ -236,6 +284,10 @@ private CandidateInformation( public static final int PUBKEY_FIELD_NUMBER = 1; private volatile java.lang.Object pubkey_; /** + *
+     * Candidate’s public key.
+     * 
+ * * string pubkey = 1; * @return The pubkey. */ @@ -252,6 +304,10 @@ public java.lang.String getPubkey() { } } /** + *
+     * Candidate’s public key.
+     * 
+ * * string pubkey = 1; * @return The bytes for pubkey. */ @@ -272,7 +328,11 @@ public java.lang.String getPubkey() { public static final int TERMS_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList terms_; /** - * repeated sint64 terms = 2; + *
+     * The number of terms that the candidate is elected.
+     * 
+ * + * repeated int64 terms = 2; * @return A list containing the terms. */ public java.util.List @@ -280,14 +340,22 @@ public java.lang.String getPubkey() { return terms_; } /** - * repeated sint64 terms = 2; + *
+     * The number of terms that the candidate is elected.
+     * 
+ * + * repeated int64 terms = 2; * @return The count of terms. */ public int getTermsCount() { return terms_.size(); } /** - * repeated sint64 terms = 2; + *
+     * The number of terms that the candidate is elected.
+     * 
+ * + * repeated int64 terms = 2; * @param index The index of the element to return. * @return The terms at the given index. */ @@ -299,7 +367,11 @@ public long getTerms(int index) { public static final int PRODUCED_BLOCKS_FIELD_NUMBER = 3; private long producedBlocks_; /** - * sint64 produced_blocks = 3; + *
+     * The number of blocks the candidate has produced.
+     * 
+ * + * int64 produced_blocks = 3; * @return The producedBlocks. */ public long getProducedBlocks() { @@ -309,7 +381,11 @@ public long getProducedBlocks() { public static final int MISSED_TIME_SLOTS_FIELD_NUMBER = 4; private long missedTimeSlots_; /** - * sint64 missed_time_slots = 4; + *
+     * The time slot for which the candidate failed to produce blocks.
+     * 
+ * + * int64 missed_time_slots = 4; * @return The missedTimeSlots. */ public long getMissedTimeSlots() { @@ -319,7 +395,11 @@ public long getMissedTimeSlots() { public static final int CONTINUAL_APPOINTMENT_COUNT_FIELD_NUMBER = 5; private long continualAppointmentCount_; /** - * sint64 continual_appointment_count = 5; + *
+     * The count of continual appointment.
+     * 
+ * + * int64 continual_appointment_count = 5; * @return The continualAppointmentCount. */ public long getContinualAppointmentCount() { @@ -329,6 +409,10 @@ public long getContinualAppointmentCount() { public static final int ANNOUNCEMENT_TRANSACTION_ID_FIELD_NUMBER = 6; private io.aelf.protobuf.generated.Client.Hash announcementTransactionId_; /** + *
+     * The transaction id when the candidate announced.
+     * 
+ * * .Hash announcement_transaction_id = 6; * @return Whether the announcementTransactionId field is set. */ @@ -336,6 +420,10 @@ public boolean hasAnnouncementTransactionId() { return announcementTransactionId_ != null; } /** + *
+     * The transaction id when the candidate announced.
+     * 
+ * * .Hash announcement_transaction_id = 6; * @return The announcementTransactionId. */ @@ -343,6 +431,10 @@ public io.aelf.protobuf.generated.Client.Hash getAnnouncementTransactionId() { return announcementTransactionId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : announcementTransactionId_; } /** + *
+     * The transaction id when the candidate announced.
+     * 
+ * * .Hash announcement_transaction_id = 6; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getAnnouncementTransactionIdOrBuilder() { @@ -352,6 +444,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getAnnouncementTransactio public static final int IS_CURRENT_CANDIDATE_FIELD_NUMBER = 7; private boolean isCurrentCandidate_; /** + *
+     * Indicate whether the candidate can be elected in the current term.
+     * 
+ * * bool is_current_candidate = 7; * @return The isCurrentCandidate. */ @@ -382,16 +478,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeUInt32NoTag(termsMemoizedSerializedSize); } for (int i = 0; i < terms_.size(); i++) { - output.writeSInt64NoTag(terms_.getLong(i)); + output.writeInt64NoTag(terms_.getLong(i)); } if (producedBlocks_ != 0L) { - output.writeSInt64(3, producedBlocks_); + output.writeInt64(3, producedBlocks_); } if (missedTimeSlots_ != 0L) { - output.writeSInt64(4, missedTimeSlots_); + output.writeInt64(4, missedTimeSlots_); } if (continualAppointmentCount_ != 0L) { - output.writeSInt64(5, continualAppointmentCount_); + output.writeInt64(5, continualAppointmentCount_); } if (announcementTransactionId_ != null) { output.writeMessage(6, getAnnouncementTransactionId()); @@ -415,7 +511,7 @@ public int getSerializedSize() { int dataSize = 0; for (int i = 0; i < terms_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeSInt64SizeNoTag(terms_.getLong(i)); + .computeInt64SizeNoTag(terms_.getLong(i)); } size += dataSize; if (!getTermsList().isEmpty()) { @@ -427,15 +523,15 @@ public int getSerializedSize() { } if (producedBlocks_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, producedBlocks_); + .computeInt64Size(3, producedBlocks_); } if (missedTimeSlots_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, missedTimeSlots_); + .computeInt64Size(4, missedTimeSlots_); } if (continualAppointmentCount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(5, continualAppointmentCount_); + .computeInt64Size(5, continualAppointmentCount_); } if (announcementTransactionId_ != null) { size += com.google.protobuf.CodedOutputStream @@ -816,6 +912,10 @@ public Builder mergeFrom( private java.lang.Object pubkey_ = ""; /** + *
+       * Candidate’s public key.
+       * 
+ * * string pubkey = 1; * @return The pubkey. */ @@ -832,6 +932,10 @@ public java.lang.String getPubkey() { } } /** + *
+       * Candidate’s public key.
+       * 
+ * * string pubkey = 1; * @return The bytes for pubkey. */ @@ -849,6 +953,10 @@ public java.lang.String getPubkey() { } } /** + *
+       * Candidate’s public key.
+       * 
+ * * string pubkey = 1; * @param value The pubkey to set. * @return This builder for chaining. @@ -864,6 +972,10 @@ public Builder setPubkey( return this; } /** + *
+       * Candidate’s public key.
+       * 
+ * * string pubkey = 1; * @return This builder for chaining. */ @@ -874,6 +986,10 @@ public Builder clearPubkey() { return this; } /** + *
+       * Candidate’s public key.
+       * 
+ * * string pubkey = 1; * @param value The bytes for pubkey to set. * @return This builder for chaining. @@ -898,7 +1014,11 @@ private void ensureTermsIsMutable() { } } /** - * repeated sint64 terms = 2; + *
+       * The number of terms that the candidate is elected.
+       * 
+ * + * repeated int64 terms = 2; * @return A list containing the terms. */ public java.util.List @@ -907,14 +1027,22 @@ private void ensureTermsIsMutable() { java.util.Collections.unmodifiableList(terms_) : terms_; } /** - * repeated sint64 terms = 2; + *
+       * The number of terms that the candidate is elected.
+       * 
+ * + * repeated int64 terms = 2; * @return The count of terms. */ public int getTermsCount() { return terms_.size(); } /** - * repeated sint64 terms = 2; + *
+       * The number of terms that the candidate is elected.
+       * 
+ * + * repeated int64 terms = 2; * @param index The index of the element to return. * @return The terms at the given index. */ @@ -922,7 +1050,11 @@ public long getTerms(int index) { return terms_.getLong(index); } /** - * repeated sint64 terms = 2; + *
+       * The number of terms that the candidate is elected.
+       * 
+ * + * repeated int64 terms = 2; * @param index The index to set the value at. * @param value The terms to set. * @return This builder for chaining. @@ -935,7 +1067,11 @@ public Builder setTerms( return this; } /** - * repeated sint64 terms = 2; + *
+       * The number of terms that the candidate is elected.
+       * 
+ * + * repeated int64 terms = 2; * @param value The terms to add. * @return This builder for chaining. */ @@ -946,7 +1082,11 @@ public Builder addTerms(long value) { return this; } /** - * repeated sint64 terms = 2; + *
+       * The number of terms that the candidate is elected.
+       * 
+ * + * repeated int64 terms = 2; * @param values The terms to add. * @return This builder for chaining. */ @@ -959,7 +1099,11 @@ public Builder addAllTerms( return this; } /** - * repeated sint64 terms = 2; + *
+       * The number of terms that the candidate is elected.
+       * 
+ * + * repeated int64 terms = 2; * @return This builder for chaining. */ public Builder clearTerms() { @@ -971,14 +1115,22 @@ public Builder clearTerms() { private long producedBlocks_ ; /** - * sint64 produced_blocks = 3; + *
+       * The number of blocks the candidate has produced.
+       * 
+ * + * int64 produced_blocks = 3; * @return The producedBlocks. */ public long getProducedBlocks() { return producedBlocks_; } /** - * sint64 produced_blocks = 3; + *
+       * The number of blocks the candidate has produced.
+       * 
+ * + * int64 produced_blocks = 3; * @param value The producedBlocks to set. * @return This builder for chaining. */ @@ -989,7 +1141,11 @@ public Builder setProducedBlocks(long value) { return this; } /** - * sint64 produced_blocks = 3; + *
+       * The number of blocks the candidate has produced.
+       * 
+ * + * int64 produced_blocks = 3; * @return This builder for chaining. */ public Builder clearProducedBlocks() { @@ -1001,14 +1157,22 @@ public Builder clearProducedBlocks() { private long missedTimeSlots_ ; /** - * sint64 missed_time_slots = 4; + *
+       * The time slot for which the candidate failed to produce blocks.
+       * 
+ * + * int64 missed_time_slots = 4; * @return The missedTimeSlots. */ public long getMissedTimeSlots() { return missedTimeSlots_; } /** - * sint64 missed_time_slots = 4; + *
+       * The time slot for which the candidate failed to produce blocks.
+       * 
+ * + * int64 missed_time_slots = 4; * @param value The missedTimeSlots to set. * @return This builder for chaining. */ @@ -1019,7 +1183,11 @@ public Builder setMissedTimeSlots(long value) { return this; } /** - * sint64 missed_time_slots = 4; + *
+       * The time slot for which the candidate failed to produce blocks.
+       * 
+ * + * int64 missed_time_slots = 4; * @return This builder for chaining. */ public Builder clearMissedTimeSlots() { @@ -1031,14 +1199,22 @@ public Builder clearMissedTimeSlots() { private long continualAppointmentCount_ ; /** - * sint64 continual_appointment_count = 5; + *
+       * The count of continual appointment.
+       * 
+ * + * int64 continual_appointment_count = 5; * @return The continualAppointmentCount. */ public long getContinualAppointmentCount() { return continualAppointmentCount_; } /** - * sint64 continual_appointment_count = 5; + *
+       * The count of continual appointment.
+       * 
+ * + * int64 continual_appointment_count = 5; * @param value The continualAppointmentCount to set. * @return This builder for chaining. */ @@ -1049,7 +1225,11 @@ public Builder setContinualAppointmentCount(long value) { return this; } /** - * sint64 continual_appointment_count = 5; + *
+       * The count of continual appointment.
+       * 
+ * + * int64 continual_appointment_count = 5; * @return This builder for chaining. */ public Builder clearContinualAppointmentCount() { @@ -1063,6 +1243,10 @@ public Builder clearContinualAppointmentCount() { private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> announcementTransactionIdBuilder_; /** + *
+       * The transaction id when the candidate announced.
+       * 
+ * * .Hash announcement_transaction_id = 6; * @return Whether the announcementTransactionId field is set. */ @@ -1070,6 +1254,10 @@ public boolean hasAnnouncementTransactionId() { return announcementTransactionIdBuilder_ != null || announcementTransactionId_ != null; } /** + *
+       * The transaction id when the candidate announced.
+       * 
+ * * .Hash announcement_transaction_id = 6; * @return The announcementTransactionId. */ @@ -1081,6 +1269,10 @@ public io.aelf.protobuf.generated.Client.Hash getAnnouncementTransactionId() { } } /** + *
+       * The transaction id when the candidate announced.
+       * 
+ * * .Hash announcement_transaction_id = 6; */ public Builder setAnnouncementTransactionId(io.aelf.protobuf.generated.Client.Hash value) { @@ -1097,6 +1289,10 @@ public Builder setAnnouncementTransactionId(io.aelf.protobuf.generated.Client.Ha return this; } /** + *
+       * The transaction id when the candidate announced.
+       * 
+ * * .Hash announcement_transaction_id = 6; */ public Builder setAnnouncementTransactionId( @@ -1111,6 +1307,10 @@ public Builder setAnnouncementTransactionId( return this; } /** + *
+       * The transaction id when the candidate announced.
+       * 
+ * * .Hash announcement_transaction_id = 6; */ public Builder mergeAnnouncementTransactionId(io.aelf.protobuf.generated.Client.Hash value) { @@ -1129,6 +1329,10 @@ public Builder mergeAnnouncementTransactionId(io.aelf.protobuf.generated.Client. return this; } /** + *
+       * The transaction id when the candidate announced.
+       * 
+ * * .Hash announcement_transaction_id = 6; */ public Builder clearAnnouncementTransactionId() { @@ -1143,6 +1347,10 @@ public Builder clearAnnouncementTransactionId() { return this; } /** + *
+       * The transaction id when the candidate announced.
+       * 
+ * * .Hash announcement_transaction_id = 6; */ public io.aelf.protobuf.generated.Client.Hash.Builder getAnnouncementTransactionIdBuilder() { @@ -1151,6 +1359,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getAnnouncementTransaction return getAnnouncementTransactionIdFieldBuilder().getBuilder(); } /** + *
+       * The transaction id when the candidate announced.
+       * 
+ * * .Hash announcement_transaction_id = 6; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getAnnouncementTransactionIdOrBuilder() { @@ -1162,6 +1374,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getAnnouncementTransactio } } /** + *
+       * The transaction id when the candidate announced.
+       * 
+ * * .Hash announcement_transaction_id = 6; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -1180,6 +1396,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getAnnouncementTransactio private boolean isCurrentCandidate_ ; /** + *
+       * Indicate whether the candidate can be elected in the current term.
+       * 
+ * * bool is_current_candidate = 7; * @return The isCurrentCandidate. */ @@ -1187,6 +1407,10 @@ public boolean getIsCurrentCandidate() { return isCurrentCandidate_; } /** + *
+       * Indicate whether the candidate can be elected in the current term.
+       * 
+ * * bool is_current_candidate = 7; * @param value The isCurrentCandidate to set. * @return This builder for chaining. @@ -1198,6 +1422,10 @@ public Builder setIsCurrentCandidate(boolean value) { return this; } /** + *
+       * Indicate whether the candidate can be elected in the current term.
+       * 
+ * * bool is_current_candidate = 7; * @return This builder for chaining. */ @@ -1265,7 +1493,11 @@ public interface GetTermSnapshotInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * sint64 term_number = 1; + *
+     * The term number.
+     * 
+ * + * int64 term_number = 1; * @return The termNumber. */ long getTermNumber(); @@ -1317,7 +1549,7 @@ private GetTermSnapshotInput( break; case 8: { - termNumber_ = input.readSInt64(); + termNumber_ = input.readInt64(); break; } default: { @@ -1355,7 +1587,11 @@ private GetTermSnapshotInput( public static final int TERM_NUMBER_FIELD_NUMBER = 1; private long termNumber_; /** - * sint64 term_number = 1; + *
+     * The term number.
+     * 
+ * + * int64 term_number = 1; * @return The termNumber. */ public long getTermNumber() { @@ -1377,7 +1613,7 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (termNumber_ != 0L) { - output.writeSInt64(1, termNumber_); + output.writeInt64(1, termNumber_); } unknownFields.writeTo(output); } @@ -1390,7 +1626,7 @@ public int getSerializedSize() { size = 0; if (termNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, termNumber_); + .computeInt64Size(1, termNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1667,14 +1903,22 @@ public Builder mergeFrom( private long termNumber_ ; /** - * sint64 term_number = 1; + *
+       * The term number.
+       * 
+ * + * int64 term_number = 1; * @return The termNumber. */ public long getTermNumber() { return termNumber_; } /** - * sint64 term_number = 1; + *
+       * The term number.
+       * 
+ * + * int64 term_number = 1; * @param value The termNumber to set. * @return This builder for chaining. */ @@ -1685,7 +1929,11 @@ public Builder setTermNumber(long value) { return this; } /** - * sint64 term_number = 1; + *
+       * The term number.
+       * 
+ * + * int64 term_number = 1; * @return This builder for chaining. */ public Builder clearTermNumber() { @@ -1752,23 +2000,39 @@ public interface TermSnapshotOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * sint64 end_round_number = 1; + *
+     * The end round number of this term.
+     * 
+ * + * int64 end_round_number = 1; * @return The endRoundNumber. */ long getEndRoundNumber(); /** - * sint64 mined_blocks = 2; + *
+     * The number of blocks mined in this term. 
+     * 
+ * + * int64 mined_blocks = 2; * @return The minedBlocks. */ long getMinedBlocks(); /** - * map<string, sint64> election_result = 3; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> election_result = 3; */ int getElectionResultCount(); /** - * map<string, sint64> election_result = 3; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> election_result = 3; */ boolean containsElectionResult( java.lang.String key); @@ -1779,19 +2043,31 @@ boolean containsElectionResult( java.util.Map getElectionResult(); /** - * map<string, sint64> election_result = 3; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> election_result = 3; */ java.util.Map getElectionResultMap(); /** - * map<string, sint64> election_result = 3; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> election_result = 3; */ long getElectionResultOrDefault( java.lang.String key, long defaultValue); /** - * map<string, sint64> election_result = 3; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> election_result = 3; */ long getElectionResultOrThrow( @@ -1845,12 +2121,12 @@ private TermSnapshot( break; case 8: { - endRoundNumber_ = input.readSInt64(); + endRoundNumber_ = input.readInt64(); break; } case 16: { - minedBlocks_ = input.readSInt64(); + minedBlocks_ = input.readInt64(); break; } case 26: { @@ -1913,7 +2189,11 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int END_ROUND_NUMBER_FIELD_NUMBER = 1; private long endRoundNumber_; /** - * sint64 end_round_number = 1; + *
+     * The end round number of this term.
+     * 
+ * + * int64 end_round_number = 1; * @return The endRoundNumber. */ public long getEndRoundNumber() { @@ -1923,7 +2203,11 @@ public long getEndRoundNumber() { public static final int MINED_BLOCKS_FIELD_NUMBER = 2; private long minedBlocks_; /** - * sint64 mined_blocks = 2; + *
+     * The number of blocks mined in this term. 
+     * 
+ * + * int64 mined_blocks = 2; * @return The minedBlocks. */ public long getMinedBlocks() { @@ -1939,7 +2223,7 @@ private static final class ElectionResultDefaultEntryHolder { io.aelf.protobuf.generated.ElectionContract.internal_static_TermSnapshot_ElectionResultEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.SINT64, + com.google.protobuf.WireFormat.FieldType.INT64, 0L); } private com.google.protobuf.MapField< @@ -1957,7 +2241,11 @@ public int getElectionResultCount() { return internalGetElectionResult().getMap().size(); } /** - * map<string, sint64> election_result = 3; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> election_result = 3; */ public boolean containsElectionResult( @@ -1973,14 +2261,22 @@ public java.util.Map getElectionResult() { return getElectionResultMap(); } /** - * map<string, sint64> election_result = 3; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> election_result = 3; */ public java.util.Map getElectionResultMap() { return internalGetElectionResult().getMap(); } /** - * map<string, sint64> election_result = 3; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> election_result = 3; */ public long getElectionResultOrDefault( @@ -1992,7 +2288,11 @@ public long getElectionResultOrDefault( return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, sint64> election_result = 3; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> election_result = 3; */ public long getElectionResultOrThrow( @@ -2021,10 +2321,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (endRoundNumber_ != 0L) { - output.writeSInt64(1, endRoundNumber_); + output.writeInt64(1, endRoundNumber_); } if (minedBlocks_ != 0L) { - output.writeSInt64(2, minedBlocks_); + output.writeInt64(2, minedBlocks_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( @@ -2043,11 +2343,11 @@ public int getSerializedSize() { size = 0; if (endRoundNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, endRoundNumber_); + .computeInt64Size(1, endRoundNumber_); } if (minedBlocks_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, minedBlocks_); + .computeInt64Size(2, minedBlocks_); } for (java.util.Map.Entry entry : internalGetElectionResult().getMap().entrySet()) { @@ -2380,14 +2680,22 @@ public Builder mergeFrom( private long endRoundNumber_ ; /** - * sint64 end_round_number = 1; + *
+       * The end round number of this term.
+       * 
+ * + * int64 end_round_number = 1; * @return The endRoundNumber. */ public long getEndRoundNumber() { return endRoundNumber_; } /** - * sint64 end_round_number = 1; + *
+       * The end round number of this term.
+       * 
+ * + * int64 end_round_number = 1; * @param value The endRoundNumber to set. * @return This builder for chaining. */ @@ -2398,7 +2706,11 @@ public Builder setEndRoundNumber(long value) { return this; } /** - * sint64 end_round_number = 1; + *
+       * The end round number of this term.
+       * 
+ * + * int64 end_round_number = 1; * @return This builder for chaining. */ public Builder clearEndRoundNumber() { @@ -2410,14 +2722,22 @@ public Builder clearEndRoundNumber() { private long minedBlocks_ ; /** - * sint64 mined_blocks = 2; + *
+       * The number of blocks mined in this term. 
+       * 
+ * + * int64 mined_blocks = 2; * @return The minedBlocks. */ public long getMinedBlocks() { return minedBlocks_; } /** - * sint64 mined_blocks = 2; + *
+       * The number of blocks mined in this term. 
+       * 
+ * + * int64 mined_blocks = 2; * @param value The minedBlocks to set. * @return This builder for chaining. */ @@ -2428,7 +2748,11 @@ public Builder setMinedBlocks(long value) { return this; } /** - * sint64 mined_blocks = 2; + *
+       * The number of blocks mined in this term. 
+       * 
+ * + * int64 mined_blocks = 2; * @return This builder for chaining. */ public Builder clearMinedBlocks() { @@ -2465,7 +2789,11 @@ public int getElectionResultCount() { return internalGetElectionResult().getMap().size(); } /** - * map<string, sint64> election_result = 3; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> election_result = 3; */ public boolean containsElectionResult( @@ -2481,14 +2809,22 @@ public java.util.Map getElectionResult() { return getElectionResultMap(); } /** - * map<string, sint64> election_result = 3; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> election_result = 3; */ public java.util.Map getElectionResultMap() { return internalGetElectionResult().getMap(); } /** - * map<string, sint64> election_result = 3; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> election_result = 3; */ public long getElectionResultOrDefault( @@ -2500,7 +2836,11 @@ public long getElectionResultOrDefault( return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, sint64> election_result = 3; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> election_result = 3; */ public long getElectionResultOrThrow( @@ -2520,8 +2860,12 @@ public Builder clearElectionResult() { return this; } /** - * map<string, sint64> election_result = 3; - */ + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> election_result = 3; + */ public Builder removeElectionResult( java.lang.String key) { @@ -2539,7 +2883,11 @@ public Builder removeElectionResult( return internalGetMutableElectionResult().getMutableMap(); } /** - * map<string, sint64> election_result = 3; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> election_result = 3; */ public Builder putElectionResult( java.lang.String key, @@ -2551,7 +2899,11 @@ public Builder putElectionResult( return this; } /** - * map<string, sint64> election_result = 3; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> election_result = 3; */ public Builder putAllElectionResult( @@ -2618,7 +2970,11 @@ public interface GetElectionResultInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * sint64 term_number = 1; + *
+     * The term number.
+     * 
+ * + * int64 term_number = 1; * @return The termNumber. */ long getTermNumber(); @@ -2670,7 +3026,7 @@ private GetElectionResultInput( break; case 8: { - termNumber_ = input.readSInt64(); + termNumber_ = input.readInt64(); break; } default: { @@ -2708,7 +3064,11 @@ private GetElectionResultInput( public static final int TERM_NUMBER_FIELD_NUMBER = 1; private long termNumber_; /** - * sint64 term_number = 1; + *
+     * The term number.
+     * 
+ * + * int64 term_number = 1; * @return The termNumber. */ public long getTermNumber() { @@ -2730,7 +3090,7 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (termNumber_ != 0L) { - output.writeSInt64(1, termNumber_); + output.writeInt64(1, termNumber_); } unknownFields.writeTo(output); } @@ -2743,7 +3103,7 @@ public int getSerializedSize() { size = 0; if (termNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, termNumber_); + .computeInt64Size(1, termNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3020,14 +3380,22 @@ public Builder mergeFrom( private long termNumber_ ; /** - * sint64 term_number = 1; + *
+       * The term number.
+       * 
+ * + * int64 term_number = 1; * @return The termNumber. */ public long getTermNumber() { return termNumber_; } /** - * sint64 term_number = 1; + *
+       * The term number.
+       * 
+ * + * int64 term_number = 1; * @param value The termNumber to set. * @return This builder for chaining. */ @@ -3038,7 +3406,11 @@ public Builder setTermNumber(long value) { return this; } /** - * sint64 term_number = 1; + *
+       * The term number.
+       * 
+ * + * int64 term_number = 1; * @return This builder for chaining. */ public Builder clearTermNumber() { @@ -3105,17 +3477,29 @@ public interface ElectionResultOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * sint64 term_number = 1; + *
+     * The term number
+     * 
+ * + * int64 term_number = 1; * @return The termNumber. */ long getTermNumber(); /** - * map<string, sint64> results = 2; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> results = 2; */ int getResultsCount(); /** - * map<string, sint64> results = 2; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> results = 2; */ boolean containsResults( java.lang.String key); @@ -3126,25 +3510,41 @@ boolean containsResults( java.util.Map getResults(); /** - * map<string, sint64> results = 2; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> results = 2; */ java.util.Map getResultsMap(); /** - * map<string, sint64> results = 2; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> results = 2; */ long getResultsOrDefault( java.lang.String key, long defaultValue); /** - * map<string, sint64> results = 2; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> results = 2; */ long getResultsOrThrow( java.lang.String key); /** + *
+     * Whether an election is currently being held.
+     * 
+ * * bool is_active = 3; * @return The isActive. */ @@ -3198,7 +3598,7 @@ private ElectionResult( break; case 8: { - termNumber_ = input.readSInt64(); + termNumber_ = input.readInt64(); break; } case 18: { @@ -3266,7 +3666,11 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int TERM_NUMBER_FIELD_NUMBER = 1; private long termNumber_; /** - * sint64 term_number = 1; + *
+     * The term number
+     * 
+ * + * int64 term_number = 1; * @return The termNumber. */ public long getTermNumber() { @@ -3282,7 +3686,7 @@ private static final class ResultsDefaultEntryHolder { io.aelf.protobuf.generated.ElectionContract.internal_static_ElectionResult_ResultsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.SINT64, + com.google.protobuf.WireFormat.FieldType.INT64, 0L); } private com.google.protobuf.MapField< @@ -3300,7 +3704,11 @@ public int getResultsCount() { return internalGetResults().getMap().size(); } /** - * map<string, sint64> results = 2; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> results = 2; */ public boolean containsResults( @@ -3316,14 +3724,22 @@ public java.util.Map getResults() { return getResultsMap(); } /** - * map<string, sint64> results = 2; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> results = 2; */ public java.util.Map getResultsMap() { return internalGetResults().getMap(); } /** - * map<string, sint64> results = 2; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> results = 2; */ public long getResultsOrDefault( @@ -3335,7 +3751,11 @@ public long getResultsOrDefault( return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, sint64> results = 2; + *
+     * The election result, candidates’ public key -> number of votes.
+     * 
+ * + * map<string, int64> results = 2; */ public long getResultsOrThrow( @@ -3352,6 +3772,10 @@ public long getResultsOrThrow( public static final int IS_ACTIVE_FIELD_NUMBER = 3; private boolean isActive_; /** + *
+     * Whether an election is currently being held.
+     * 
+ * * bool is_active = 3; * @return The isActive. */ @@ -3374,7 +3798,7 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (termNumber_ != 0L) { - output.writeSInt64(1, termNumber_); + output.writeInt64(1, termNumber_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( @@ -3396,7 +3820,7 @@ public int getSerializedSize() { size = 0; if (termNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, termNumber_); + .computeInt64Size(1, termNumber_); } for (java.util.Map.Entry entry : internalGetResults().getMap().entrySet()) { @@ -3733,14 +4157,22 @@ public Builder mergeFrom( private long termNumber_ ; /** - * sint64 term_number = 1; + *
+       * The term number
+       * 
+ * + * int64 term_number = 1; * @return The termNumber. */ public long getTermNumber() { return termNumber_; } /** - * sint64 term_number = 1; + *
+       * The term number
+       * 
+ * + * int64 term_number = 1; * @param value The termNumber to set. * @return This builder for chaining. */ @@ -3751,7 +4183,11 @@ public Builder setTermNumber(long value) { return this; } /** - * sint64 term_number = 1; + *
+       * The term number
+       * 
+ * + * int64 term_number = 1; * @return This builder for chaining. */ public Builder clearTermNumber() { @@ -3788,7 +4224,11 @@ public int getResultsCount() { return internalGetResults().getMap().size(); } /** - * map<string, sint64> results = 2; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> results = 2; */ public boolean containsResults( @@ -3804,14 +4244,22 @@ public java.util.Map getResults() { return getResultsMap(); } /** - * map<string, sint64> results = 2; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> results = 2; */ public java.util.Map getResultsMap() { return internalGetResults().getMap(); } /** - * map<string, sint64> results = 2; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> results = 2; */ public long getResultsOrDefault( @@ -3823,7 +4271,11 @@ public long getResultsOrDefault( return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, sint64> results = 2; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> results = 2; */ public long getResultsOrThrow( @@ -3843,7 +4295,11 @@ public Builder clearResults() { return this; } /** - * map<string, sint64> results = 2; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> results = 2; */ public Builder removeResults( @@ -3862,7 +4318,11 @@ public Builder removeResults( return internalGetMutableResults().getMutableMap(); } /** - * map<string, sint64> results = 2; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> results = 2; */ public Builder putResults( java.lang.String key, @@ -3874,7 +4334,11 @@ public Builder putResults( return this; } /** - * map<string, sint64> results = 2; + *
+       * The election result, candidates’ public key -> number of votes.
+       * 
+ * + * map<string, int64> results = 2; */ public Builder putAllResults( @@ -3886,6 +4350,10 @@ public Builder putAllResults( private boolean isActive_ ; /** + *
+       * Whether an election is currently being held.
+       * 
+ * * bool is_active = 3; * @return The isActive. */ @@ -3893,6 +4361,10 @@ public boolean getIsActive() { return isActive_; } /** + *
+       * Whether an election is currently being held.
+       * 
+ * * bool is_active = 3; * @param value The isActive to set. * @return This builder for chaining. @@ -3904,6 +4376,10 @@ public Builder setIsActive(boolean value) { return this; } /** + *
+       * Whether an election is currently being held.
+       * 
+ * * bool is_active = 3; * @return This builder for chaining. */ @@ -3972,7 +4448,7 @@ public interface ElectorVoteOrBuilder extends /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -3981,7 +4457,7 @@ public interface ElectorVoteOrBuilder extends getActiveVotingRecordIdsList(); /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -3989,7 +4465,7 @@ public interface ElectorVoteOrBuilder extends io.aelf.protobuf.generated.Client.Hash getActiveVotingRecordIds(int index); /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -3997,7 +4473,7 @@ public interface ElectorVoteOrBuilder extends int getActiveVotingRecordIdsCount(); /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -4006,7 +4482,7 @@ public interface ElectorVoteOrBuilder extends getActiveVotingRecordIdsOrBuilderList(); /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -4015,90 +4491,162 @@ io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotingRecordIdsOrBuilde int index); /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ java.util.List getWithdrawnVotingRecordIdsList(); /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ io.aelf.protobuf.generated.Client.Hash getWithdrawnVotingRecordIds(int index); /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ int getWithdrawnVotingRecordIdsCount(); /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ java.util.List getWithdrawnVotingRecordIdsOrBuilderList(); /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotingRecordIdsOrBuilder( int index); /** - * sint64 active_voted_votes_amount = 3; + *
+     * The total number of active votes.
+     * 
+ * + * int64 active_voted_votes_amount = 3; * @return The activeVotedVotesAmount. */ long getActiveVotedVotesAmount(); /** - * sint64 all_voted_votes_amount = 4; + *
+     * The total number of votes (including the number of votes withdrawn).
+     * 
+ * + * int64 all_voted_votes_amount = 4; * @return The allVotedVotesAmount. */ long getAllVotedVotesAmount(); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ java.util.List getActiveVotingRecordsList(); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getActiveVotingRecords(int index); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ int getActiveVotingRecordsCount(); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ java.util.List getActiveVotingRecordsOrBuilderList(); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getActiveVotingRecordsOrBuilder( int index); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ java.util.List getWithdrawnVotesRecordsList(); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getWithdrawnVotesRecords(int index); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ int getWithdrawnVotesRecordsCount(); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ java.util.List getWithdrawnVotesRecordsOrBuilderList(); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getWithdrawnVotesRecordsOrBuilder( int index); /** + *
+     * Public key for voter.
+     * 
+ * * bytes pubkey = 7; * @return The pubkey. */ @@ -4175,12 +4723,12 @@ private ElectorVote( } case 24: { - activeVotedVotesAmount_ = input.readSInt64(); + activeVotedVotesAmount_ = input.readInt64(); break; } case 32: { - allVotedVotesAmount_ = input.readSInt64(); + allVotedVotesAmount_ = input.readInt64(); break; } case 42: { @@ -4254,7 +4802,7 @@ private ElectorVote( private java.util.List activeVotingRecordIds_; /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -4264,7 +4812,7 @@ public java.util.List getActiveVotingRec } /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -4275,7 +4823,7 @@ public java.util.List getActiveVotingRec } /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -4285,7 +4833,7 @@ public int getActiveVotingRecordIdsCount() { } /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -4295,7 +4843,7 @@ public io.aelf.protobuf.generated.Client.Hash getActiveVotingRecordIds(int index } /** *
-     * Not withdrawn.
+     * The active voting record ids.
      * 
* * repeated .Hash active_voting_record_ids = 1; @@ -4308,12 +4856,20 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotingRecordIdsO public static final int WITHDRAWN_VOTING_RECORD_IDS_FIELD_NUMBER = 2; private java.util.List withdrawnVotingRecordIds_; /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public java.util.List getWithdrawnVotingRecordIdsList() { return withdrawnVotingRecordIds_; } /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public java.util.List @@ -4321,18 +4877,30 @@ public java.util.List getWithdrawnVoting return withdrawnVotingRecordIds_; } /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public int getWithdrawnVotingRecordIdsCount() { return withdrawnVotingRecordIds_.size(); } /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash getWithdrawnVotingRecordIds(int index) { return withdrawnVotingRecordIds_.get(index); } /** + *
+     * The voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotingRecordIdsOrBuilder( @@ -4343,7 +4911,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotingRecordI public static final int ACTIVE_VOTED_VOTES_AMOUNT_FIELD_NUMBER = 3; private long activeVotedVotesAmount_; /** - * sint64 active_voted_votes_amount = 3; + *
+     * The total number of active votes.
+     * 
+ * + * int64 active_voted_votes_amount = 3; * @return The activeVotedVotesAmount. */ public long getActiveVotedVotesAmount() { @@ -4353,7 +4925,11 @@ public long getActiveVotedVotesAmount() { public static final int ALL_VOTED_VOTES_AMOUNT_FIELD_NUMBER = 4; private long allVotedVotesAmount_; /** - * sint64 all_voted_votes_amount = 4; + *
+     * The total number of votes (including the number of votes withdrawn).
+     * 
+ * + * int64 all_voted_votes_amount = 4; * @return The allVotedVotesAmount. */ public long getAllVotedVotesAmount() { @@ -4363,12 +4939,20 @@ public long getAllVotedVotesAmount() { public static final int ACTIVE_VOTING_RECORDS_FIELD_NUMBER = 5; private java.util.List activeVotingRecords_; /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public java.util.List getActiveVotingRecordsList() { return activeVotingRecords_; } /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public java.util.List @@ -4376,18 +4960,30 @@ public java.util.List + * The active voting records. + *
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public int getActiveVotingRecordsCount() { return activeVotingRecords_.size(); } /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getActiveVotingRecords(int index) { return activeVotingRecords_.get(index); } /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getActiveVotingRecordsOrBuilder( @@ -4398,12 +4994,20 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder public static final int WITHDRAWN_VOTES_RECORDS_FIELD_NUMBER = 6; private java.util.List withdrawnVotesRecords_; /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public java.util.List getWithdrawnVotesRecordsList() { return withdrawnVotesRecords_; } /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public java.util.List @@ -4411,18 +5015,30 @@ public java.util.List + * The voting records that were withdrawn. + *
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public int getWithdrawnVotesRecordsCount() { return withdrawnVotesRecords_.size(); } /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getWithdrawnVotesRecords(int index) { return withdrawnVotesRecords_.get(index); } /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getWithdrawnVotesRecordsOrBuilder( @@ -4433,6 +5049,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder public static final int PUBKEY_FIELD_NUMBER = 7; private com.google.protobuf.ByteString pubkey_; /** + *
+     * Public key for voter.
+     * 
+ * * bytes pubkey = 7; * @return The pubkey. */ @@ -4461,10 +5081,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, withdrawnVotingRecordIds_.get(i)); } if (activeVotedVotesAmount_ != 0L) { - output.writeSInt64(3, activeVotedVotesAmount_); + output.writeInt64(3, activeVotedVotesAmount_); } if (allVotedVotesAmount_ != 0L) { - output.writeSInt64(4, allVotedVotesAmount_); + output.writeInt64(4, allVotedVotesAmount_); } for (int i = 0; i < activeVotingRecords_.size(); i++) { output.writeMessage(5, activeVotingRecords_.get(i)); @@ -4494,11 +5114,11 @@ public int getSerializedSize() { } if (activeVotedVotesAmount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, activeVotedVotesAmount_); + .computeInt64Size(3, activeVotedVotesAmount_); } if (allVotedVotesAmount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, allVotedVotesAmount_); + .computeInt64Size(4, allVotedVotesAmount_); } for (int i = 0; i < activeVotingRecords_.size(); i++) { size += com.google.protobuf.CodedOutputStream @@ -5014,7 +5634,7 @@ private void ensureActiveVotingRecordIdsIsMutable() { /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5028,7 +5648,7 @@ public java.util.List getActiveVotingRec } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5042,7 +5662,7 @@ public int getActiveVotingRecordIdsCount() { } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5056,7 +5676,7 @@ public io.aelf.protobuf.generated.Client.Hash getActiveVotingRecordIds(int index } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5077,7 +5697,7 @@ public Builder setActiveVotingRecordIds( } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5095,7 +5715,7 @@ public Builder setActiveVotingRecordIds( } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5115,7 +5735,7 @@ public Builder addActiveVotingRecordIds(io.aelf.protobuf.generated.Client.Hash v } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5136,7 +5756,7 @@ public Builder addActiveVotingRecordIds( } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5154,7 +5774,7 @@ public Builder addActiveVotingRecordIds( } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5172,7 +5792,7 @@ public Builder addActiveVotingRecordIds( } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5191,7 +5811,7 @@ public Builder addAllActiveVotingRecordIds( } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5208,7 +5828,7 @@ public Builder clearActiveVotingRecordIds() { } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5225,7 +5845,7 @@ public Builder removeActiveVotingRecordIds(int index) { } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5236,7 +5856,7 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getActiveVotingRecordIdsBu } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5250,7 +5870,7 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotingRecordIdsO } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5265,7 +5885,7 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotingRecordIdsO } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5276,7 +5896,7 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addActiveVotingRecordIdsBu } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5288,7 +5908,7 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addActiveVotingRecordIdsBu } /** *
-       * Not withdrawn.
+       * The active voting record ids.
        * 
* * repeated .Hash active_voting_record_ids = 1; @@ -5325,6 +5945,10 @@ private void ensureWithdrawnVotingRecordIdsIsMutable() { io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> withdrawnVotingRecordIdsBuilder_; /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public java.util.List getWithdrawnVotingRecordIdsList() { @@ -5335,6 +5959,10 @@ public java.util.List getWithdrawnVoting } } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public int getWithdrawnVotingRecordIdsCount() { @@ -5345,6 +5973,10 @@ public int getWithdrawnVotingRecordIdsCount() { } } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash getWithdrawnVotingRecordIds(int index) { @@ -5355,6 +5987,10 @@ public io.aelf.protobuf.generated.Client.Hash getWithdrawnVotingRecordIds(int in } } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public Builder setWithdrawnVotingRecordIds( @@ -5372,6 +6008,10 @@ public Builder setWithdrawnVotingRecordIds( return this; } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public Builder setWithdrawnVotingRecordIds( @@ -5386,6 +6026,10 @@ public Builder setWithdrawnVotingRecordIds( return this; } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public Builder addWithdrawnVotingRecordIds(io.aelf.protobuf.generated.Client.Hash value) { @@ -5402,6 +6046,10 @@ public Builder addWithdrawnVotingRecordIds(io.aelf.protobuf.generated.Client.Has return this; } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public Builder addWithdrawnVotingRecordIds( @@ -5419,6 +6067,10 @@ public Builder addWithdrawnVotingRecordIds( return this; } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public Builder addWithdrawnVotingRecordIds( @@ -5433,6 +6085,10 @@ public Builder addWithdrawnVotingRecordIds( return this; } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public Builder addWithdrawnVotingRecordIds( @@ -5447,6 +6103,10 @@ public Builder addWithdrawnVotingRecordIds( return this; } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public Builder addAllWithdrawnVotingRecordIds( @@ -5462,6 +6122,10 @@ public Builder addAllWithdrawnVotingRecordIds( return this; } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public Builder clearWithdrawnVotingRecordIds() { @@ -5475,6 +6139,10 @@ public Builder clearWithdrawnVotingRecordIds() { return this; } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public Builder removeWithdrawnVotingRecordIds(int index) { @@ -5488,6 +6156,10 @@ public Builder removeWithdrawnVotingRecordIds(int index) { return this; } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder getWithdrawnVotingRecordIdsBuilder( @@ -5495,6 +6167,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getWithdrawnVotingRecordId return getWithdrawnVotingRecordIdsFieldBuilder().getBuilder(index); } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotingRecordIdsOrBuilder( @@ -5505,6 +6181,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotingRecordI } } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public java.util.List @@ -5516,6 +6196,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotingRecordI } } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder addWithdrawnVotingRecordIdsBuilder() { @@ -5523,6 +6207,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addWithdrawnVotingRecordId io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder addWithdrawnVotingRecordIdsBuilder( @@ -5531,6 +6219,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addWithdrawnVotingRecordId index, io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash withdrawn_voting_record_ids = 2; */ public java.util.List @@ -5554,14 +6246,22 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addWithdrawnVotingRecordId private long activeVotedVotesAmount_ ; /** - * sint64 active_voted_votes_amount = 3; + *
+       * The total number of active votes.
+       * 
+ * + * int64 active_voted_votes_amount = 3; * @return The activeVotedVotesAmount. */ public long getActiveVotedVotesAmount() { return activeVotedVotesAmount_; } /** - * sint64 active_voted_votes_amount = 3; + *
+       * The total number of active votes.
+       * 
+ * + * int64 active_voted_votes_amount = 3; * @param value The activeVotedVotesAmount to set. * @return This builder for chaining. */ @@ -5572,7 +6272,11 @@ public Builder setActiveVotedVotesAmount(long value) { return this; } /** - * sint64 active_voted_votes_amount = 3; + *
+       * The total number of active votes.
+       * 
+ * + * int64 active_voted_votes_amount = 3; * @return This builder for chaining. */ public Builder clearActiveVotedVotesAmount() { @@ -5584,14 +6288,22 @@ public Builder clearActiveVotedVotesAmount() { private long allVotedVotesAmount_ ; /** - * sint64 all_voted_votes_amount = 4; + *
+       * The total number of votes (including the number of votes withdrawn).
+       * 
+ * + * int64 all_voted_votes_amount = 4; * @return The allVotedVotesAmount. */ public long getAllVotedVotesAmount() { return allVotedVotesAmount_; } /** - * sint64 all_voted_votes_amount = 4; + *
+       * The total number of votes (including the number of votes withdrawn).
+       * 
+ * + * int64 all_voted_votes_amount = 4; * @param value The allVotedVotesAmount to set. * @return This builder for chaining. */ @@ -5602,7 +6314,11 @@ public Builder setAllVotedVotesAmount(long value) { return this; } /** - * sint64 all_voted_votes_amount = 4; + *
+       * The total number of votes (including the number of votes withdrawn).
+       * 
+ * + * int64 all_voted_votes_amount = 4; * @return This builder for chaining. */ public Builder clearAllVotedVotesAmount() { @@ -5625,6 +6341,10 @@ private void ensureActiveVotingRecordsIsMutable() { io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder> activeVotingRecordsBuilder_; /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public java.util.List getActiveVotingRecordsList() { @@ -5635,6 +6355,10 @@ public java.util.List + * The active voting records. + *
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public int getActiveVotingRecordsCount() { @@ -5645,6 +6369,10 @@ public int getActiveVotingRecordsCount() { } } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getActiveVotingRecords(int index) { @@ -5655,6 +6383,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getActiv } } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public Builder setActiveVotingRecords( @@ -5672,6 +6404,10 @@ public Builder setActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public Builder setActiveVotingRecords( @@ -5686,6 +6422,10 @@ public Builder setActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public Builder addActiveVotingRecords(io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord value) { @@ -5702,6 +6442,10 @@ public Builder addActiveVotingRecords(io.aelf.protobuf.generated.ElectionContrac return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public Builder addActiveVotingRecords( @@ -5719,6 +6463,10 @@ public Builder addActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public Builder addActiveVotingRecords( @@ -5733,6 +6481,10 @@ public Builder addActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public Builder addActiveVotingRecords( @@ -5747,6 +6499,10 @@ public Builder addActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public Builder addAllActiveVotingRecords( @@ -5762,6 +6518,10 @@ public Builder addAllActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public Builder clearActiveVotingRecords() { @@ -5775,6 +6535,10 @@ public Builder clearActiveVotingRecords() { return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public Builder removeActiveVotingRecords(int index) { @@ -5788,6 +6552,10 @@ public Builder removeActiveVotingRecords(int index) { return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder getActiveVotingRecordsBuilder( @@ -5795,6 +6563,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder return getActiveVotingRecordsFieldBuilder().getBuilder(index); } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getActiveVotingRecordsOrBuilder( @@ -5805,6 +6577,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder } } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public java.util.List @@ -5816,6 +6592,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder } } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder addActiveVotingRecordsBuilder() { @@ -5823,6 +6603,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.getDefaultInstance()); } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder addActiveVotingRecordsBuilder( @@ -5831,6 +6615,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder index, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.getDefaultInstance()); } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord active_voting_records = 5; */ public java.util.List @@ -5865,6 +6653,10 @@ private void ensureWithdrawnVotesRecordsIsMutable() { io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder> withdrawnVotesRecordsBuilder_; /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public java.util.List getWithdrawnVotesRecordsList() { @@ -5875,6 +6667,10 @@ public java.util.List + * The voting records that were withdrawn. + *
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public int getWithdrawnVotesRecordsCount() { @@ -5885,6 +6681,10 @@ public int getWithdrawnVotesRecordsCount() { } } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getWithdrawnVotesRecords(int index) { @@ -5895,6 +6695,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getWithd } } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public Builder setWithdrawnVotesRecords( @@ -5912,6 +6716,10 @@ public Builder setWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public Builder setWithdrawnVotesRecords( @@ -5926,6 +6734,10 @@ public Builder setWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public Builder addWithdrawnVotesRecords(io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord value) { @@ -5942,6 +6754,10 @@ public Builder addWithdrawnVotesRecords(io.aelf.protobuf.generated.ElectionContr return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public Builder addWithdrawnVotesRecords( @@ -5959,6 +6775,10 @@ public Builder addWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public Builder addWithdrawnVotesRecords( @@ -5973,6 +6793,10 @@ public Builder addWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public Builder addWithdrawnVotesRecords( @@ -5987,6 +6811,10 @@ public Builder addWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public Builder addAllWithdrawnVotesRecords( @@ -6002,6 +6830,10 @@ public Builder addAllWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public Builder clearWithdrawnVotesRecords() { @@ -6015,6 +6847,10 @@ public Builder clearWithdrawnVotesRecords() { return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public Builder removeWithdrawnVotesRecords(int index) { @@ -6028,6 +6864,10 @@ public Builder removeWithdrawnVotesRecords(int index) { return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder getWithdrawnVotesRecordsBuilder( @@ -6035,6 +6875,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder return getWithdrawnVotesRecordsFieldBuilder().getBuilder(index); } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getWithdrawnVotesRecordsOrBuilder( @@ -6045,6 +6889,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder } } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public java.util.List @@ -6056,6 +6904,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder } } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder addWithdrawnVotesRecordsBuilder() { @@ -6063,6 +6915,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.getDefaultInstance()); } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder addWithdrawnVotesRecordsBuilder( @@ -6071,6 +6927,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder index, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.getDefaultInstance()); } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord withdrawn_votes_records = 6; */ public java.util.List @@ -6094,6 +6954,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder private com.google.protobuf.ByteString pubkey_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * Public key for voter.
+       * 
+ * * bytes pubkey = 7; * @return The pubkey. */ @@ -6101,6 +6965,10 @@ public com.google.protobuf.ByteString getPubkey() { return pubkey_; } /** + *
+       * Public key for voter.
+       * 
+ * * bytes pubkey = 7; * @param value The pubkey to set. * @return This builder for chaining. @@ -6115,6 +6983,10 @@ public Builder setPubkey(com.google.protobuf.ByteString value) { return this; } /** + *
+       * Public key for voter.
+       * 
+ * * bytes pubkey = 7; * @return This builder for chaining. */ @@ -6182,26 +7054,46 @@ public interface ElectionVotingRecordOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 1; * @return Whether the voter field is set. */ boolean hasVoter(); /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 1; * @return The voter. */ io.aelf.protobuf.generated.Client.Address getVoter(); /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 1; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder(); /** + *
+     * The public key of candidate.
+     * 
+ * * string candidate = 2; * @return The candidate. */ java.lang.String getCandidate(); /** + *
+     * The public key of candidate.
+     * 
+ * * string candidate = 2; * @return The bytes for candidate. */ @@ -6209,97 +7101,169 @@ public interface ElectionVotingRecordOrBuilder extends getCandidateBytes(); /** - * sint64 amount = 3; + *
+     * Amount of voting.
+     * 
+ * + * int64 amount = 3; * @return The amount. */ long getAmount(); /** - * sint64 term_number = 4; + *
+     * The term number of voting.
+     * 
+ * + * int64 term_number = 4; * @return The termNumber. */ long getTermNumber(); /** + *
+     * The vote id.
+     * 
+ * * .Hash vote_id = 5; * @return Whether the voteId field is set. */ boolean hasVoteId(); /** + *
+     * The vote id.
+     * 
+ * * .Hash vote_id = 5; * @return The voteId. */ io.aelf.protobuf.generated.Client.Hash getVoteId(); /** + *
+     * The vote id.
+     * 
+ * * .Hash vote_id = 5; */ io.aelf.protobuf.generated.Client.HashOrBuilder getVoteIdOrBuilder(); /** - * sint64 lock_time = 7; + *
+     * Vote lock time.
+     * 
+ * + * int64 lock_time = 6; * @return The lockTime. */ long getLockTime(); /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+     * The unlock timestamp.
+     * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; * @return Whether the unlockTimestamp field is set. */ boolean hasUnlockTimestamp(); /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+     * The unlock timestamp.
+     * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; * @return The unlockTimestamp. */ com.google.protobuf.Timestamp getUnlockTimestamp(); /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+     * The unlock timestamp.
+     * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; */ com.google.protobuf.TimestampOrBuilder getUnlockTimestampOrBuilder(); /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+     * The withdraw timestamp.
+     * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; * @return Whether the withdrawTimestamp field is set. */ boolean hasWithdrawTimestamp(); /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+     * The withdraw timestamp.
+     * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; * @return The withdrawTimestamp. */ com.google.protobuf.Timestamp getWithdrawTimestamp(); /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+     * The withdraw timestamp.
+     * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; */ com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder(); /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+     * The vote timestamp.
+     * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; * @return Whether the voteTimestamp field is set. */ boolean hasVoteTimestamp(); /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+     * The vote timestamp.
+     * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; * @return The voteTimestamp. */ com.google.protobuf.Timestamp getVoteTimestamp(); /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+     * The vote timestamp.
+     * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; */ com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder(); /** - * bool is_withdrawn = 13; + *
+     * Indicates if the vote has been withdrawn.
+     * 
+ * + * bool is_withdrawn = 10; * @return The isWithdrawn. */ boolean getIsWithdrawn(); /** - * sint64 weight = 14; + *
+     * Vote weight for sharing bonus.
+     * 
+ * + * int64 weight = 11; * @return The weight. */ long getWeight(); /** - * bool is_change_target = 15; + *
+     * Whether vote others.
+     * 
+ * + * bool is_change_target = 12; * @return The isChangeTarget. */ boolean getIsChangeTarget(); @@ -6371,12 +7335,12 @@ private ElectionVotingRecord( } case 24: { - amount_ = input.readSInt64(); + amount_ = input.readInt64(); break; } case 32: { - termNumber_ = input.readSInt64(); + termNumber_ = input.readInt64(); break; } case 42: { @@ -6392,12 +7356,12 @@ private ElectionVotingRecord( break; } - case 56: { + case 48: { - lockTime_ = input.readSInt64(); + lockTime_ = input.readInt64(); break; } - case 82: { + case 58: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (unlockTimestamp_ != null) { subBuilder = unlockTimestamp_.toBuilder(); @@ -6410,7 +7374,7 @@ private ElectionVotingRecord( break; } - case 90: { + case 66: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (withdrawTimestamp_ != null) { subBuilder = withdrawTimestamp_.toBuilder(); @@ -6423,7 +7387,7 @@ private ElectionVotingRecord( break; } - case 98: { + case 74: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (voteTimestamp_ != null) { subBuilder = voteTimestamp_.toBuilder(); @@ -6436,17 +7400,17 @@ private ElectionVotingRecord( break; } - case 104: { + case 80: { isWithdrawn_ = input.readBool(); break; } - case 112: { + case 88: { - weight_ = input.readSInt64(); + weight_ = input.readInt64(); break; } - case 120: { + case 96: { isChangeTarget_ = input.readBool(); break; @@ -6486,6 +7450,10 @@ private ElectionVotingRecord( public static final int VOTER_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Address voter_; /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 1; * @return Whether the voter field is set. */ @@ -6493,6 +7461,10 @@ public boolean hasVoter() { return voter_ != null; } /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 1; * @return The voter. */ @@ -6500,6 +7472,10 @@ public io.aelf.protobuf.generated.Client.Address getVoter() { return voter_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : voter_; } /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { @@ -6509,6 +7485,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { public static final int CANDIDATE_FIELD_NUMBER = 2; private volatile java.lang.Object candidate_; /** + *
+     * The public key of candidate.
+     * 
+ * * string candidate = 2; * @return The candidate. */ @@ -6525,6 +7505,10 @@ public java.lang.String getCandidate() { } } /** + *
+     * The public key of candidate.
+     * 
+ * * string candidate = 2; * @return The bytes for candidate. */ @@ -6545,7 +7529,11 @@ public java.lang.String getCandidate() { public static final int AMOUNT_FIELD_NUMBER = 3; private long amount_; /** - * sint64 amount = 3; + *
+     * Amount of voting.
+     * 
+ * + * int64 amount = 3; * @return The amount. */ public long getAmount() { @@ -6555,7 +7543,11 @@ public long getAmount() { public static final int TERM_NUMBER_FIELD_NUMBER = 4; private long termNumber_; /** - * sint64 term_number = 4; + *
+     * The term number of voting.
+     * 
+ * + * int64 term_number = 4; * @return The termNumber. */ public long getTermNumber() { @@ -6565,6 +7557,10 @@ public long getTermNumber() { public static final int VOTE_ID_FIELD_NUMBER = 5; private io.aelf.protobuf.generated.Client.Hash voteId_; /** + *
+     * The vote id.
+     * 
+ * * .Hash vote_id = 5; * @return Whether the voteId field is set. */ @@ -6572,6 +7568,10 @@ public boolean hasVoteId() { return voteId_ != null; } /** + *
+     * The vote id.
+     * 
+ * * .Hash vote_id = 5; * @return The voteId. */ @@ -6579,115 +7579,171 @@ public io.aelf.protobuf.generated.Client.Hash getVoteId() { return voteId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : voteId_; } /** + *
+     * The vote id.
+     * 
+ * * .Hash vote_id = 5; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVoteIdOrBuilder() { return getVoteId(); } - public static final int LOCK_TIME_FIELD_NUMBER = 7; + public static final int LOCK_TIME_FIELD_NUMBER = 6; private long lockTime_; /** - * sint64 lock_time = 7; + *
+     * Vote lock time.
+     * 
+ * + * int64 lock_time = 6; * @return The lockTime. */ public long getLockTime() { return lockTime_; } - public static final int UNLOCK_TIMESTAMP_FIELD_NUMBER = 10; + public static final int UNLOCK_TIMESTAMP_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp unlockTimestamp_; /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+     * The unlock timestamp.
+     * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; * @return Whether the unlockTimestamp field is set. */ public boolean hasUnlockTimestamp() { return unlockTimestamp_ != null; } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+     * The unlock timestamp.
+     * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; * @return The unlockTimestamp. */ public com.google.protobuf.Timestamp getUnlockTimestamp() { return unlockTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : unlockTimestamp_; } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+     * The unlock timestamp.
+     * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; */ public com.google.protobuf.TimestampOrBuilder getUnlockTimestampOrBuilder() { return getUnlockTimestamp(); } - public static final int WITHDRAW_TIMESTAMP_FIELD_NUMBER = 11; + public static final int WITHDRAW_TIMESTAMP_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp withdrawTimestamp_; /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+     * The withdraw timestamp.
+     * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; * @return Whether the withdrawTimestamp field is set. */ public boolean hasWithdrawTimestamp() { return withdrawTimestamp_ != null; } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+     * The withdraw timestamp.
+     * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; * @return The withdrawTimestamp. */ public com.google.protobuf.Timestamp getWithdrawTimestamp() { return withdrawTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : withdrawTimestamp_; } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+     * The withdraw timestamp.
+     * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; */ public com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder() { return getWithdrawTimestamp(); } - public static final int VOTE_TIMESTAMP_FIELD_NUMBER = 12; + public static final int VOTE_TIMESTAMP_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp voteTimestamp_; /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+     * The vote timestamp.
+     * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; * @return Whether the voteTimestamp field is set. */ public boolean hasVoteTimestamp() { return voteTimestamp_ != null; } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+     * The vote timestamp.
+     * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; * @return The voteTimestamp. */ public com.google.protobuf.Timestamp getVoteTimestamp() { return voteTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : voteTimestamp_; } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+     * The vote timestamp.
+     * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; */ public com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder() { return getVoteTimestamp(); } - public static final int IS_WITHDRAWN_FIELD_NUMBER = 13; + public static final int IS_WITHDRAWN_FIELD_NUMBER = 10; private boolean isWithdrawn_; /** - * bool is_withdrawn = 13; + *
+     * Indicates if the vote has been withdrawn.
+     * 
+ * + * bool is_withdrawn = 10; * @return The isWithdrawn. */ public boolean getIsWithdrawn() { return isWithdrawn_; } - public static final int WEIGHT_FIELD_NUMBER = 14; + public static final int WEIGHT_FIELD_NUMBER = 11; private long weight_; /** - * sint64 weight = 14; + *
+     * Vote weight for sharing bonus.
+     * 
+ * + * int64 weight = 11; * @return The weight. */ public long getWeight() { return weight_; } - public static final int IS_CHANGE_TARGET_FIELD_NUMBER = 15; + public static final int IS_CHANGE_TARGET_FIELD_NUMBER = 12; private boolean isChangeTarget_; /** - * bool is_change_target = 15; + *
+     * Whether vote others.
+     * 
+ * + * bool is_change_target = 12; * @return The isChangeTarget. */ public boolean getIsChangeTarget() { @@ -6715,34 +7771,34 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, candidate_); } if (amount_ != 0L) { - output.writeSInt64(3, amount_); + output.writeInt64(3, amount_); } if (termNumber_ != 0L) { - output.writeSInt64(4, termNumber_); + output.writeInt64(4, termNumber_); } if (voteId_ != null) { output.writeMessage(5, getVoteId()); } if (lockTime_ != 0L) { - output.writeSInt64(7, lockTime_); + output.writeInt64(6, lockTime_); } if (unlockTimestamp_ != null) { - output.writeMessage(10, getUnlockTimestamp()); + output.writeMessage(7, getUnlockTimestamp()); } if (withdrawTimestamp_ != null) { - output.writeMessage(11, getWithdrawTimestamp()); + output.writeMessage(8, getWithdrawTimestamp()); } if (voteTimestamp_ != null) { - output.writeMessage(12, getVoteTimestamp()); + output.writeMessage(9, getVoteTimestamp()); } if (isWithdrawn_ != false) { - output.writeBool(13, isWithdrawn_); + output.writeBool(10, isWithdrawn_); } if (weight_ != 0L) { - output.writeSInt64(14, weight_); + output.writeInt64(11, weight_); } if (isChangeTarget_ != false) { - output.writeBool(15, isChangeTarget_); + output.writeBool(12, isChangeTarget_); } unknownFields.writeTo(output); } @@ -6762,11 +7818,11 @@ public int getSerializedSize() { } if (amount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, amount_); + .computeInt64Size(3, amount_); } if (termNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, termNumber_); + .computeInt64Size(4, termNumber_); } if (voteId_ != null) { size += com.google.protobuf.CodedOutputStream @@ -6774,31 +7830,31 @@ public int getSerializedSize() { } if (lockTime_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(7, lockTime_); + .computeInt64Size(6, lockTime_); } if (unlockTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getUnlockTimestamp()); + .computeMessageSize(7, getUnlockTimestamp()); } if (withdrawTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getWithdrawTimestamp()); + .computeMessageSize(8, getWithdrawTimestamp()); } if (voteTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getVoteTimestamp()); + .computeMessageSize(9, getVoteTimestamp()); } if (isWithdrawn_ != false) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, isWithdrawn_); + .computeBoolSize(10, isWithdrawn_); } if (weight_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(14, weight_); + .computeInt64Size(11, weight_); } if (isChangeTarget_ != false) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, isChangeTarget_); + .computeBoolSize(12, isChangeTarget_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7258,6 +8314,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> voterBuilder_; /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 1; * @return Whether the voter field is set. */ @@ -7265,6 +8325,10 @@ public boolean hasVoter() { return voterBuilder_ != null || voter_ != null; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 1; * @return The voter. */ @@ -7276,6 +8340,10 @@ public io.aelf.protobuf.generated.Client.Address getVoter() { } } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 1; */ public Builder setVoter(io.aelf.protobuf.generated.Client.Address value) { @@ -7292,6 +8360,10 @@ public Builder setVoter(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 1; */ public Builder setVoter( @@ -7306,6 +8378,10 @@ public Builder setVoter( return this; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 1; */ public Builder mergeVoter(io.aelf.protobuf.generated.Client.Address value) { @@ -7324,6 +8400,10 @@ public Builder mergeVoter(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 1; */ public Builder clearVoter() { @@ -7338,6 +8418,10 @@ public Builder clearVoter() { return this; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 1; */ public io.aelf.protobuf.generated.Client.Address.Builder getVoterBuilder() { @@ -7346,6 +8430,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getVoterBuilder() { return getVoterFieldBuilder().getBuilder(); } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { @@ -7357,6 +8445,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { } } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -7375,6 +8467,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { private java.lang.Object candidate_ = ""; /** + *
+       * The public key of candidate.
+       * 
+ * * string candidate = 2; * @return The candidate. */ @@ -7391,6 +8487,10 @@ public java.lang.String getCandidate() { } } /** + *
+       * The public key of candidate.
+       * 
+ * * string candidate = 2; * @return The bytes for candidate. */ @@ -7408,6 +8508,10 @@ public java.lang.String getCandidate() { } } /** + *
+       * The public key of candidate.
+       * 
+ * * string candidate = 2; * @param value The candidate to set. * @return This builder for chaining. @@ -7423,6 +8527,10 @@ public Builder setCandidate( return this; } /** + *
+       * The public key of candidate.
+       * 
+ * * string candidate = 2; * @return This builder for chaining. */ @@ -7433,6 +8541,10 @@ public Builder clearCandidate() { return this; } /** + *
+       * The public key of candidate.
+       * 
+ * * string candidate = 2; * @param value The bytes for candidate to set. * @return This builder for chaining. @@ -7451,14 +8563,22 @@ public Builder setCandidateBytes( private long amount_ ; /** - * sint64 amount = 3; + *
+       * Amount of voting.
+       * 
+ * + * int64 amount = 3; * @return The amount. */ public long getAmount() { return amount_; } /** - * sint64 amount = 3; + *
+       * Amount of voting.
+       * 
+ * + * int64 amount = 3; * @param value The amount to set. * @return This builder for chaining. */ @@ -7469,7 +8589,11 @@ public Builder setAmount(long value) { return this; } /** - * sint64 amount = 3; + *
+       * Amount of voting.
+       * 
+ * + * int64 amount = 3; * @return This builder for chaining. */ public Builder clearAmount() { @@ -7481,14 +8605,22 @@ public Builder clearAmount() { private long termNumber_ ; /** - * sint64 term_number = 4; + *
+       * The term number of voting.
+       * 
+ * + * int64 term_number = 4; * @return The termNumber. */ public long getTermNumber() { return termNumber_; } /** - * sint64 term_number = 4; + *
+       * The term number of voting.
+       * 
+ * + * int64 term_number = 4; * @param value The termNumber to set. * @return This builder for chaining. */ @@ -7499,7 +8631,11 @@ public Builder setTermNumber(long value) { return this; } /** - * sint64 term_number = 4; + *
+       * The term number of voting.
+       * 
+ * + * int64 term_number = 4; * @return This builder for chaining. */ public Builder clearTermNumber() { @@ -7513,6 +8649,10 @@ public Builder clearTermNumber() { private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> voteIdBuilder_; /** + *
+       * The vote id.
+       * 
+ * * .Hash vote_id = 5; * @return Whether the voteId field is set. */ @@ -7520,6 +8660,10 @@ public boolean hasVoteId() { return voteIdBuilder_ != null || voteId_ != null; } /** + *
+       * The vote id.
+       * 
+ * * .Hash vote_id = 5; * @return The voteId. */ @@ -7531,6 +8675,10 @@ public io.aelf.protobuf.generated.Client.Hash getVoteId() { } } /** + *
+       * The vote id.
+       * 
+ * * .Hash vote_id = 5; */ public Builder setVoteId(io.aelf.protobuf.generated.Client.Hash value) { @@ -7547,6 +8695,10 @@ public Builder setVoteId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The vote id.
+       * 
+ * * .Hash vote_id = 5; */ public Builder setVoteId( @@ -7561,6 +8713,10 @@ public Builder setVoteId( return this; } /** + *
+       * The vote id.
+       * 
+ * * .Hash vote_id = 5; */ public Builder mergeVoteId(io.aelf.protobuf.generated.Client.Hash value) { @@ -7579,6 +8735,10 @@ public Builder mergeVoteId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The vote id.
+       * 
+ * * .Hash vote_id = 5; */ public Builder clearVoteId() { @@ -7593,6 +8753,10 @@ public Builder clearVoteId() { return this; } /** + *
+       * The vote id.
+       * 
+ * * .Hash vote_id = 5; */ public io.aelf.protobuf.generated.Client.Hash.Builder getVoteIdBuilder() { @@ -7601,6 +8765,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getVoteIdBuilder() { return getVoteIdFieldBuilder().getBuilder(); } /** + *
+       * The vote id.
+       * 
+ * * .Hash vote_id = 5; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVoteIdOrBuilder() { @@ -7612,6 +8780,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVoteIdOrBuilder() { } } /** + *
+       * The vote id.
+       * 
+ * * .Hash vote_id = 5; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -7630,14 +8802,22 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVoteIdOrBuilder() { private long lockTime_ ; /** - * sint64 lock_time = 7; + *
+       * Vote lock time.
+       * 
+ * + * int64 lock_time = 6; * @return The lockTime. */ public long getLockTime() { return lockTime_; } /** - * sint64 lock_time = 7; + *
+       * Vote lock time.
+       * 
+ * + * int64 lock_time = 6; * @param value The lockTime to set. * @return This builder for chaining. */ @@ -7648,7 +8828,11 @@ public Builder setLockTime(long value) { return this; } /** - * sint64 lock_time = 7; + *
+       * Vote lock time.
+       * 
+ * + * int64 lock_time = 6; * @return This builder for chaining. */ public Builder clearLockTime() { @@ -7662,14 +8846,22 @@ public Builder clearLockTime() { private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> unlockTimestampBuilder_; /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+       * The unlock timestamp.
+       * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; * @return Whether the unlockTimestamp field is set. */ public boolean hasUnlockTimestamp() { return unlockTimestampBuilder_ != null || unlockTimestamp_ != null; } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+       * The unlock timestamp.
+       * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; * @return The unlockTimestamp. */ public com.google.protobuf.Timestamp getUnlockTimestamp() { @@ -7680,7 +8872,11 @@ public com.google.protobuf.Timestamp getUnlockTimestamp() { } } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+       * The unlock timestamp.
+       * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; */ public Builder setUnlockTimestamp(com.google.protobuf.Timestamp value) { if (unlockTimestampBuilder_ == null) { @@ -7696,7 +8892,11 @@ public Builder setUnlockTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+       * The unlock timestamp.
+       * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; */ public Builder setUnlockTimestamp( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -7710,7 +8910,11 @@ public Builder setUnlockTimestamp( return this; } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+       * The unlock timestamp.
+       * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; */ public Builder mergeUnlockTimestamp(com.google.protobuf.Timestamp value) { if (unlockTimestampBuilder_ == null) { @@ -7728,7 +8932,11 @@ public Builder mergeUnlockTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+       * The unlock timestamp.
+       * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; */ public Builder clearUnlockTimestamp() { if (unlockTimestampBuilder_ == null) { @@ -7742,7 +8950,11 @@ public Builder clearUnlockTimestamp() { return this; } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+       * The unlock timestamp.
+       * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; */ public com.google.protobuf.Timestamp.Builder getUnlockTimestampBuilder() { @@ -7750,7 +8962,11 @@ public com.google.protobuf.Timestamp.Builder getUnlockTimestampBuilder() { return getUnlockTimestampFieldBuilder().getBuilder(); } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+       * The unlock timestamp.
+       * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; */ public com.google.protobuf.TimestampOrBuilder getUnlockTimestampOrBuilder() { if (unlockTimestampBuilder_ != null) { @@ -7761,7 +8977,11 @@ public com.google.protobuf.TimestampOrBuilder getUnlockTimestampOrBuilder() { } } /** - * .google.protobuf.Timestamp unlock_timestamp = 10; + *
+       * The unlock timestamp.
+       * 
+ * + * .google.protobuf.Timestamp unlock_timestamp = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -7781,14 +9001,22 @@ public com.google.protobuf.TimestampOrBuilder getUnlockTimestampOrBuilder() { private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> withdrawTimestampBuilder_; /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+       * The withdraw timestamp.
+       * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; * @return Whether the withdrawTimestamp field is set. */ public boolean hasWithdrawTimestamp() { return withdrawTimestampBuilder_ != null || withdrawTimestamp_ != null; } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+       * The withdraw timestamp.
+       * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; * @return The withdrawTimestamp. */ public com.google.protobuf.Timestamp getWithdrawTimestamp() { @@ -7799,7 +9027,11 @@ public com.google.protobuf.Timestamp getWithdrawTimestamp() { } } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+       * The withdraw timestamp.
+       * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; */ public Builder setWithdrawTimestamp(com.google.protobuf.Timestamp value) { if (withdrawTimestampBuilder_ == null) { @@ -7815,7 +9047,11 @@ public Builder setWithdrawTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+       * The withdraw timestamp.
+       * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; */ public Builder setWithdrawTimestamp( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -7829,7 +9065,11 @@ public Builder setWithdrawTimestamp( return this; } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+       * The withdraw timestamp.
+       * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; */ public Builder mergeWithdrawTimestamp(com.google.protobuf.Timestamp value) { if (withdrawTimestampBuilder_ == null) { @@ -7847,7 +9087,11 @@ public Builder mergeWithdrawTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+       * The withdraw timestamp.
+       * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; */ public Builder clearWithdrawTimestamp() { if (withdrawTimestampBuilder_ == null) { @@ -7861,7 +9105,11 @@ public Builder clearWithdrawTimestamp() { return this; } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+       * The withdraw timestamp.
+       * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; */ public com.google.protobuf.Timestamp.Builder getWithdrawTimestampBuilder() { @@ -7869,7 +9117,11 @@ public com.google.protobuf.Timestamp.Builder getWithdrawTimestampBuilder() { return getWithdrawTimestampFieldBuilder().getBuilder(); } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+       * The withdraw timestamp.
+       * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; */ public com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder() { if (withdrawTimestampBuilder_ != null) { @@ -7880,7 +9132,11 @@ public com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder() { } } /** - * .google.protobuf.Timestamp withdraw_timestamp = 11; + *
+       * The withdraw timestamp.
+       * 
+ * + * .google.protobuf.Timestamp withdraw_timestamp = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -7900,14 +9156,22 @@ public com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder() { private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> voteTimestampBuilder_; /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+       * The vote timestamp.
+       * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; * @return Whether the voteTimestamp field is set. */ public boolean hasVoteTimestamp() { return voteTimestampBuilder_ != null || voteTimestamp_ != null; } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+       * The vote timestamp.
+       * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; * @return The voteTimestamp. */ public com.google.protobuf.Timestamp getVoteTimestamp() { @@ -7918,7 +9182,11 @@ public com.google.protobuf.Timestamp getVoteTimestamp() { } } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+       * The vote timestamp.
+       * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; */ public Builder setVoteTimestamp(com.google.protobuf.Timestamp value) { if (voteTimestampBuilder_ == null) { @@ -7934,7 +9202,11 @@ public Builder setVoteTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+       * The vote timestamp.
+       * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; */ public Builder setVoteTimestamp( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -7948,7 +9220,11 @@ public Builder setVoteTimestamp( return this; } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+       * The vote timestamp.
+       * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; */ public Builder mergeVoteTimestamp(com.google.protobuf.Timestamp value) { if (voteTimestampBuilder_ == null) { @@ -7966,7 +9242,11 @@ public Builder mergeVoteTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+       * The vote timestamp.
+       * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; */ public Builder clearVoteTimestamp() { if (voteTimestampBuilder_ == null) { @@ -7980,7 +9260,11 @@ public Builder clearVoteTimestamp() { return this; } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+       * The vote timestamp.
+       * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; */ public com.google.protobuf.Timestamp.Builder getVoteTimestampBuilder() { @@ -7988,7 +9272,11 @@ public com.google.protobuf.Timestamp.Builder getVoteTimestampBuilder() { return getVoteTimestampFieldBuilder().getBuilder(); } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+       * The vote timestamp.
+       * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; */ public com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder() { if (voteTimestampBuilder_ != null) { @@ -7999,7 +9287,11 @@ public com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder() { } } /** - * .google.protobuf.Timestamp vote_timestamp = 12; + *
+       * The vote timestamp.
+       * 
+ * + * .google.protobuf.Timestamp vote_timestamp = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -8017,14 +9309,22 @@ public com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder() { private boolean isWithdrawn_ ; /** - * bool is_withdrawn = 13; + *
+       * Indicates if the vote has been withdrawn.
+       * 
+ * + * bool is_withdrawn = 10; * @return The isWithdrawn. */ public boolean getIsWithdrawn() { return isWithdrawn_; } /** - * bool is_withdrawn = 13; + *
+       * Indicates if the vote has been withdrawn.
+       * 
+ * + * bool is_withdrawn = 10; * @param value The isWithdrawn to set. * @return This builder for chaining. */ @@ -8035,7 +9335,11 @@ public Builder setIsWithdrawn(boolean value) { return this; } /** - * bool is_withdrawn = 13; + *
+       * Indicates if the vote has been withdrawn.
+       * 
+ * + * bool is_withdrawn = 10; * @return This builder for chaining. */ public Builder clearIsWithdrawn() { @@ -8047,14 +9351,22 @@ public Builder clearIsWithdrawn() { private long weight_ ; /** - * sint64 weight = 14; + *
+       * Vote weight for sharing bonus.
+       * 
+ * + * int64 weight = 11; * @return The weight. */ public long getWeight() { return weight_; } /** - * sint64 weight = 14; + *
+       * Vote weight for sharing bonus.
+       * 
+ * + * int64 weight = 11; * @param value The weight to set. * @return This builder for chaining. */ @@ -8065,7 +9377,11 @@ public Builder setWeight(long value) { return this; } /** - * sint64 weight = 14; + *
+       * Vote weight for sharing bonus.
+       * 
+ * + * int64 weight = 11; * @return This builder for chaining. */ public Builder clearWeight() { @@ -8077,14 +9393,22 @@ public Builder clearWeight() { private boolean isChangeTarget_ ; /** - * bool is_change_target = 15; + *
+       * Whether vote others.
+       * 
+ * + * bool is_change_target = 12; * @return The isChangeTarget. */ public boolean getIsChangeTarget() { return isChangeTarget_; } /** - * bool is_change_target = 15; + *
+       * Whether vote others.
+       * 
+ * + * bool is_change_target = 12; * @param value The isChangeTarget to set. * @return This builder for chaining. */ @@ -8095,7 +9419,11 @@ public Builder setIsChangeTarget(boolean value) { return this; } /** - * bool is_change_target = 15; + *
+       * Whether vote others.
+       * 
+ * + * bool is_change_target = 12; * @return This builder for chaining. */ public Builder clearIsChangeTarget() { @@ -8162,114 +9490,206 @@ public interface CandidateVoteOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ java.util.List getObtainedActiveVotingRecordIdsList(); /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ io.aelf.protobuf.generated.Client.Hash getObtainedActiveVotingRecordIds(int index); /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ int getObtainedActiveVotingRecordIdsCount(); /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ java.util.List getObtainedActiveVotingRecordIdsOrBuilderList(); /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedActiveVotingRecordIdsOrBuilder( int index); /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ java.util.List getObtainedWithdrawnVotingRecordIdsList(); /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ io.aelf.protobuf.generated.Client.Hash getObtainedWithdrawnVotingRecordIds(int index); /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ int getObtainedWithdrawnVotingRecordIdsCount(); /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ java.util.List getObtainedWithdrawnVotingRecordIdsOrBuilderList(); /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedWithdrawnVotingRecordIdsOrBuilder( int index); /** - * sint64 obtained_active_voted_votes_amount = 3; + *
+     * The total number of active votes obtained.
+     * 
+ * + * int64 obtained_active_voted_votes_amount = 3; * @return The obtainedActiveVotedVotesAmount. */ long getObtainedActiveVotedVotesAmount(); /** - * sint64 all_obtained_voted_votes_amount = 4; + *
+     * The total number of votes obtained.
+     * 
+ * + * int64 all_obtained_voted_votes_amount = 4; * @return The allObtainedVotedVotesAmount. */ long getAllObtainedVotedVotesAmount(); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ java.util.List getObtainedActiveVotingRecordsList(); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getObtainedActiveVotingRecords(int index); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ int getObtainedActiveVotingRecordsCount(); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ java.util.List getObtainedActiveVotingRecordsOrBuilderList(); /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getObtainedActiveVotingRecordsOrBuilder( int index); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ java.util.List getObtainedWithdrawnVotesRecordsList(); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getObtainedWithdrawnVotesRecords(int index); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ int getObtainedWithdrawnVotesRecordsCount(); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ java.util.List getObtainedWithdrawnVotesRecordsOrBuilderList(); /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getObtainedWithdrawnVotesRecordsOrBuilder( int index); /** + *
+     * Public key for candidate.
+     * 
+ * * bytes pubkey = 7; * @return The pubkey. */ @@ -8346,12 +9766,12 @@ private CandidateVote( } case 24: { - obtainedActiveVotedVotesAmount_ = input.readSInt64(); + obtainedActiveVotedVotesAmount_ = input.readInt64(); break; } case 32: { - allObtainedVotedVotesAmount_ = input.readSInt64(); + allObtainedVotedVotesAmount_ = input.readInt64(); break; } case 42: { @@ -8424,12 +9844,20 @@ private CandidateVote( public static final int OBTAINED_ACTIVE_VOTING_RECORD_IDS_FIELD_NUMBER = 1; private java.util.List obtainedActiveVotingRecordIds_; /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public java.util.List getObtainedActiveVotingRecordIdsList() { return obtainedActiveVotingRecordIds_; } /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public java.util.List @@ -8437,18 +9865,30 @@ public java.util.List getObtainedActiveV return obtainedActiveVotingRecordIds_; } /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public int getObtainedActiveVotingRecordIdsCount() { return obtainedActiveVotingRecordIds_.size(); } /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash getObtainedActiveVotingRecordIds(int index) { return obtainedActiveVotingRecordIds_.get(index); } /** + *
+     * The active voting record ids obtained.
+     * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedActiveVotingRecordIdsOrBuilder( @@ -8459,12 +9899,20 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedActiveVotingRe public static final int OBTAINED_WITHDRAWN_VOTING_RECORD_IDS_FIELD_NUMBER = 2; private java.util.List obtainedWithdrawnVotingRecordIds_; /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public java.util.List getObtainedWithdrawnVotingRecordIdsList() { return obtainedWithdrawnVotingRecordIds_; } /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public java.util.List @@ -8472,18 +9920,30 @@ public java.util.List getObtainedWithdra return obtainedWithdrawnVotingRecordIds_; } /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public int getObtainedWithdrawnVotingRecordIdsCount() { return obtainedWithdrawnVotingRecordIds_.size(); } /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash getObtainedWithdrawnVotingRecordIds(int index) { return obtainedWithdrawnVotingRecordIds_.get(index); } /** + *
+     * The active voting record ids that were withdrawn.
+     * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedWithdrawnVotingRecordIdsOrBuilder( @@ -8494,7 +9954,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedWithdrawnVotin public static final int OBTAINED_ACTIVE_VOTED_VOTES_AMOUNT_FIELD_NUMBER = 3; private long obtainedActiveVotedVotesAmount_; /** - * sint64 obtained_active_voted_votes_amount = 3; + *
+     * The total number of active votes obtained.
+     * 
+ * + * int64 obtained_active_voted_votes_amount = 3; * @return The obtainedActiveVotedVotesAmount. */ public long getObtainedActiveVotedVotesAmount() { @@ -8504,7 +9968,11 @@ public long getObtainedActiveVotedVotesAmount() { public static final int ALL_OBTAINED_VOTED_VOTES_AMOUNT_FIELD_NUMBER = 4; private long allObtainedVotedVotesAmount_; /** - * sint64 all_obtained_voted_votes_amount = 4; + *
+     * The total number of votes obtained.
+     * 
+ * + * int64 all_obtained_voted_votes_amount = 4; * @return The allObtainedVotedVotesAmount. */ public long getAllObtainedVotedVotesAmount() { @@ -8514,12 +9982,20 @@ public long getAllObtainedVotedVotesAmount() { public static final int OBTAINED_ACTIVE_VOTING_RECORDS_FIELD_NUMBER = 5; private java.util.List obtainedActiveVotingRecords_; /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public java.util.List getObtainedActiveVotingRecordsList() { return obtainedActiveVotingRecords_; } /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public java.util.List @@ -8527,18 +10003,30 @@ public java.util.List + * The active voting records. + * + * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public int getObtainedActiveVotingRecordsCount() { return obtainedActiveVotingRecords_.size(); } /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getObtainedActiveVotingRecords(int index) { return obtainedActiveVotingRecords_.get(index); } /** + *
+     * The active voting records.
+     * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getObtainedActiveVotingRecordsOrBuilder( @@ -8549,12 +10037,20 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder public static final int OBTAINED_WITHDRAWN_VOTES_RECORDS_FIELD_NUMBER = 6; private java.util.List obtainedWithdrawnVotesRecords_; /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public java.util.List getObtainedWithdrawnVotesRecordsList() { return obtainedWithdrawnVotesRecords_; } /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public java.util.List @@ -8562,18 +10058,30 @@ public java.util.List + * The voting records that were withdrawn. + * + * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public int getObtainedWithdrawnVotesRecordsCount() { return obtainedWithdrawnVotesRecords_.size(); } /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getObtainedWithdrawnVotesRecords(int index) { return obtainedWithdrawnVotesRecords_.get(index); } /** + *
+     * The voting records that were withdrawn.
+     * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getObtainedWithdrawnVotesRecordsOrBuilder( @@ -8584,6 +10092,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder public static final int PUBKEY_FIELD_NUMBER = 7; private com.google.protobuf.ByteString pubkey_; /** + *
+     * Public key for candidate.
+     * 
+ * * bytes pubkey = 7; * @return The pubkey. */ @@ -8612,10 +10124,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, obtainedWithdrawnVotingRecordIds_.get(i)); } if (obtainedActiveVotedVotesAmount_ != 0L) { - output.writeSInt64(3, obtainedActiveVotedVotesAmount_); + output.writeInt64(3, obtainedActiveVotedVotesAmount_); } if (allObtainedVotedVotesAmount_ != 0L) { - output.writeSInt64(4, allObtainedVotedVotesAmount_); + output.writeInt64(4, allObtainedVotedVotesAmount_); } for (int i = 0; i < obtainedActiveVotingRecords_.size(); i++) { output.writeMessage(5, obtainedActiveVotingRecords_.get(i)); @@ -8645,11 +10157,11 @@ public int getSerializedSize() { } if (obtainedActiveVotedVotesAmount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, obtainedActiveVotedVotesAmount_); + .computeInt64Size(3, obtainedActiveVotedVotesAmount_); } if (allObtainedVotedVotesAmount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, allObtainedVotedVotesAmount_); + .computeInt64Size(4, allObtainedVotedVotesAmount_); } for (int i = 0; i < obtainedActiveVotingRecords_.size(); i++) { size += com.google.protobuf.CodedOutputStream @@ -9164,6 +10676,10 @@ private void ensureObtainedActiveVotingRecordIdsIsMutable() { io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> obtainedActiveVotingRecordIdsBuilder_; /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public java.util.List getObtainedActiveVotingRecordIdsList() { @@ -9174,6 +10690,10 @@ public java.util.List getObtainedActiveV } } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public int getObtainedActiveVotingRecordIdsCount() { @@ -9184,6 +10704,10 @@ public int getObtainedActiveVotingRecordIdsCount() { } } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash getObtainedActiveVotingRecordIds(int index) { @@ -9194,6 +10718,10 @@ public io.aelf.protobuf.generated.Client.Hash getObtainedActiveVotingRecordIds(i } } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public Builder setObtainedActiveVotingRecordIds( @@ -9211,6 +10739,10 @@ public Builder setObtainedActiveVotingRecordIds( return this; } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public Builder setObtainedActiveVotingRecordIds( @@ -9225,6 +10757,10 @@ public Builder setObtainedActiveVotingRecordIds( return this; } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public Builder addObtainedActiveVotingRecordIds(io.aelf.protobuf.generated.Client.Hash value) { @@ -9241,6 +10777,10 @@ public Builder addObtainedActiveVotingRecordIds(io.aelf.protobuf.generated.Clien return this; } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public Builder addObtainedActiveVotingRecordIds( @@ -9258,6 +10798,10 @@ public Builder addObtainedActiveVotingRecordIds( return this; } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public Builder addObtainedActiveVotingRecordIds( @@ -9272,6 +10816,10 @@ public Builder addObtainedActiveVotingRecordIds( return this; } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public Builder addObtainedActiveVotingRecordIds( @@ -9286,6 +10834,10 @@ public Builder addObtainedActiveVotingRecordIds( return this; } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public Builder addAllObtainedActiveVotingRecordIds( @@ -9301,6 +10853,10 @@ public Builder addAllObtainedActiveVotingRecordIds( return this; } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public Builder clearObtainedActiveVotingRecordIds() { @@ -9314,6 +10870,10 @@ public Builder clearObtainedActiveVotingRecordIds() { return this; } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public Builder removeObtainedActiveVotingRecordIds(int index) { @@ -9327,6 +10887,10 @@ public Builder removeObtainedActiveVotingRecordIds(int index) { return this; } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getObtainedActiveVotingRecordIdsBuilder( @@ -9334,6 +10898,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getObtainedActiveVotingRec return getObtainedActiveVotingRecordIdsFieldBuilder().getBuilder(index); } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedActiveVotingRecordIdsOrBuilder( @@ -9344,6 +10912,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedActiveVotingRe } } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public java.util.List @@ -9355,6 +10927,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedActiveVotingRe } } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addObtainedActiveVotingRecordIdsBuilder() { @@ -9362,6 +10938,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addObtainedActiveVotingRec io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addObtainedActiveVotingRecordIdsBuilder( @@ -9370,6 +10950,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addObtainedActiveVotingRec index, io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The active voting record ids obtained.
+       * 
+ * * repeated .Hash obtained_active_voting_record_ids = 1; */ public java.util.List @@ -9404,6 +10988,10 @@ private void ensureObtainedWithdrawnVotingRecordIdsIsMutable() { io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> obtainedWithdrawnVotingRecordIdsBuilder_; /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public java.util.List getObtainedWithdrawnVotingRecordIdsList() { @@ -9414,6 +11002,10 @@ public java.util.List getObtainedWithdra } } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public int getObtainedWithdrawnVotingRecordIdsCount() { @@ -9424,6 +11016,10 @@ public int getObtainedWithdrawnVotingRecordIdsCount() { } } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash getObtainedWithdrawnVotingRecordIds(int index) { @@ -9434,6 +11030,10 @@ public io.aelf.protobuf.generated.Client.Hash getObtainedWithdrawnVotingRecordId } } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public Builder setObtainedWithdrawnVotingRecordIds( @@ -9451,6 +11051,10 @@ public Builder setObtainedWithdrawnVotingRecordIds( return this; } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public Builder setObtainedWithdrawnVotingRecordIds( @@ -9465,6 +11069,10 @@ public Builder setObtainedWithdrawnVotingRecordIds( return this; } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public Builder addObtainedWithdrawnVotingRecordIds(io.aelf.protobuf.generated.Client.Hash value) { @@ -9481,6 +11089,10 @@ public Builder addObtainedWithdrawnVotingRecordIds(io.aelf.protobuf.generated.Cl return this; } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public Builder addObtainedWithdrawnVotingRecordIds( @@ -9498,6 +11110,10 @@ public Builder addObtainedWithdrawnVotingRecordIds( return this; } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public Builder addObtainedWithdrawnVotingRecordIds( @@ -9512,6 +11128,10 @@ public Builder addObtainedWithdrawnVotingRecordIds( return this; } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public Builder addObtainedWithdrawnVotingRecordIds( @@ -9526,6 +11146,10 @@ public Builder addObtainedWithdrawnVotingRecordIds( return this; } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public Builder addAllObtainedWithdrawnVotingRecordIds( @@ -9541,6 +11165,10 @@ public Builder addAllObtainedWithdrawnVotingRecordIds( return this; } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public Builder clearObtainedWithdrawnVotingRecordIds() { @@ -9554,6 +11182,10 @@ public Builder clearObtainedWithdrawnVotingRecordIds() { return this; } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public Builder removeObtainedWithdrawnVotingRecordIds(int index) { @@ -9567,6 +11199,10 @@ public Builder removeObtainedWithdrawnVotingRecordIds(int index) { return this; } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder getObtainedWithdrawnVotingRecordIdsBuilder( @@ -9574,6 +11210,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getObtainedWithdrawnVoting return getObtainedWithdrawnVotingRecordIdsFieldBuilder().getBuilder(index); } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedWithdrawnVotingRecordIdsOrBuilder( @@ -9584,6 +11224,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedWithdrawnVotin } } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public java.util.List @@ -9595,6 +11239,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getObtainedWithdrawnVotin } } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder addObtainedWithdrawnVotingRecordIdsBuilder() { @@ -9602,6 +11250,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addObtainedWithdrawnVoting io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder addObtainedWithdrawnVotingRecordIdsBuilder( @@ -9610,6 +11262,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addObtainedWithdrawnVoting index, io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The active voting record ids that were withdrawn.
+       * 
+ * * repeated .Hash obtained_withdrawn_voting_record_ids = 2; */ public java.util.List @@ -9633,14 +11289,22 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addObtainedWithdrawnVoting private long obtainedActiveVotedVotesAmount_ ; /** - * sint64 obtained_active_voted_votes_amount = 3; + *
+       * The total number of active votes obtained.
+       * 
+ * + * int64 obtained_active_voted_votes_amount = 3; * @return The obtainedActiveVotedVotesAmount. */ public long getObtainedActiveVotedVotesAmount() { return obtainedActiveVotedVotesAmount_; } /** - * sint64 obtained_active_voted_votes_amount = 3; + *
+       * The total number of active votes obtained.
+       * 
+ * + * int64 obtained_active_voted_votes_amount = 3; * @param value The obtainedActiveVotedVotesAmount to set. * @return This builder for chaining. */ @@ -9651,7 +11315,11 @@ public Builder setObtainedActiveVotedVotesAmount(long value) { return this; } /** - * sint64 obtained_active_voted_votes_amount = 3; + *
+       * The total number of active votes obtained.
+       * 
+ * + * int64 obtained_active_voted_votes_amount = 3; * @return This builder for chaining. */ public Builder clearObtainedActiveVotedVotesAmount() { @@ -9663,14 +11331,22 @@ public Builder clearObtainedActiveVotedVotesAmount() { private long allObtainedVotedVotesAmount_ ; /** - * sint64 all_obtained_voted_votes_amount = 4; + *
+       * The total number of votes obtained.
+       * 
+ * + * int64 all_obtained_voted_votes_amount = 4; * @return The allObtainedVotedVotesAmount. */ public long getAllObtainedVotedVotesAmount() { return allObtainedVotedVotesAmount_; } /** - * sint64 all_obtained_voted_votes_amount = 4; + *
+       * The total number of votes obtained.
+       * 
+ * + * int64 all_obtained_voted_votes_amount = 4; * @param value The allObtainedVotedVotesAmount to set. * @return This builder for chaining. */ @@ -9681,7 +11357,11 @@ public Builder setAllObtainedVotedVotesAmount(long value) { return this; } /** - * sint64 all_obtained_voted_votes_amount = 4; + *
+       * The total number of votes obtained.
+       * 
+ * + * int64 all_obtained_voted_votes_amount = 4; * @return This builder for chaining. */ public Builder clearAllObtainedVotedVotesAmount() { @@ -9704,6 +11384,10 @@ private void ensureObtainedActiveVotingRecordsIsMutable() { io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder> obtainedActiveVotingRecordsBuilder_; /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public java.util.List getObtainedActiveVotingRecordsList() { @@ -9714,6 +11398,10 @@ public java.util.List + * The active voting records. + * + * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public int getObtainedActiveVotingRecordsCount() { @@ -9724,6 +11412,10 @@ public int getObtainedActiveVotingRecordsCount() { } } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getObtainedActiveVotingRecords(int index) { @@ -9734,6 +11426,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getObtai } } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public Builder setObtainedActiveVotingRecords( @@ -9751,6 +11447,10 @@ public Builder setObtainedActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public Builder setObtainedActiveVotingRecords( @@ -9765,6 +11465,10 @@ public Builder setObtainedActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public Builder addObtainedActiveVotingRecords(io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord value) { @@ -9781,6 +11485,10 @@ public Builder addObtainedActiveVotingRecords(io.aelf.protobuf.generated.Electio return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public Builder addObtainedActiveVotingRecords( @@ -9798,6 +11506,10 @@ public Builder addObtainedActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public Builder addObtainedActiveVotingRecords( @@ -9812,6 +11524,10 @@ public Builder addObtainedActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public Builder addObtainedActiveVotingRecords( @@ -9826,6 +11542,10 @@ public Builder addObtainedActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public Builder addAllObtainedActiveVotingRecords( @@ -9841,6 +11561,10 @@ public Builder addAllObtainedActiveVotingRecords( return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public Builder clearObtainedActiveVotingRecords() { @@ -9854,6 +11578,10 @@ public Builder clearObtainedActiveVotingRecords() { return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public Builder removeObtainedActiveVotingRecords(int index) { @@ -9867,6 +11595,10 @@ public Builder removeObtainedActiveVotingRecords(int index) { return this; } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder getObtainedActiveVotingRecordsBuilder( @@ -9874,6 +11606,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder return getObtainedActiveVotingRecordsFieldBuilder().getBuilder(index); } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getObtainedActiveVotingRecordsOrBuilder( @@ -9884,6 +11620,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder } } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public java.util.List @@ -9895,6 +11635,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder } } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder addObtainedActiveVotingRecordsBuilder() { @@ -9902,6 +11646,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.getDefaultInstance()); } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder addObtainedActiveVotingRecordsBuilder( @@ -9910,6 +11658,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder index, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.getDefaultInstance()); } /** + *
+       * The active voting records.
+       * 
+ * * repeated .ElectionVotingRecord obtained_active_voting_records = 5; */ public java.util.List @@ -9944,6 +11696,10 @@ private void ensureObtainedWithdrawnVotesRecordsIsMutable() { io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder> obtainedWithdrawnVotesRecordsBuilder_; /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public java.util.List getObtainedWithdrawnVotesRecordsList() { @@ -9954,6 +11710,10 @@ public java.util.List + * The voting records that were withdrawn. + * + * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public int getObtainedWithdrawnVotesRecordsCount() { @@ -9964,6 +11724,10 @@ public int getObtainedWithdrawnVotesRecordsCount() { } } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getObtainedWithdrawnVotesRecords(int index) { @@ -9974,6 +11738,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord getObtai } } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public Builder setObtainedWithdrawnVotesRecords( @@ -9991,6 +11759,10 @@ public Builder setObtainedWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public Builder setObtainedWithdrawnVotesRecords( @@ -10005,6 +11777,10 @@ public Builder setObtainedWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public Builder addObtainedWithdrawnVotesRecords(io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord value) { @@ -10021,6 +11797,10 @@ public Builder addObtainedWithdrawnVotesRecords(io.aelf.protobuf.generated.Elect return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public Builder addObtainedWithdrawnVotesRecords( @@ -10038,6 +11818,10 @@ public Builder addObtainedWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public Builder addObtainedWithdrawnVotesRecords( @@ -10052,6 +11836,10 @@ public Builder addObtainedWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public Builder addObtainedWithdrawnVotesRecords( @@ -10066,6 +11854,10 @@ public Builder addObtainedWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public Builder addAllObtainedWithdrawnVotesRecords( @@ -10081,6 +11873,10 @@ public Builder addAllObtainedWithdrawnVotesRecords( return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public Builder clearObtainedWithdrawnVotesRecords() { @@ -10094,6 +11890,10 @@ public Builder clearObtainedWithdrawnVotesRecords() { return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public Builder removeObtainedWithdrawnVotesRecords(int index) { @@ -10107,6 +11907,10 @@ public Builder removeObtainedWithdrawnVotesRecords(int index) { return this; } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder getObtainedWithdrawnVotesRecordsBuilder( @@ -10114,6 +11918,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder return getObtainedWithdrawnVotesRecordsFieldBuilder().getBuilder(index); } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder getObtainedWithdrawnVotesRecordsOrBuilder( @@ -10124,6 +11932,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder } } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public java.util.List @@ -10135,6 +11947,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecordOrBuilder } } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder addObtainedWithdrawnVotesRecordsBuilder() { @@ -10142,6 +11958,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.getDefaultInstance()); } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder addObtainedWithdrawnVotesRecordsBuilder( @@ -10150,6 +11970,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder index, io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.getDefaultInstance()); } /** + *
+       * The voting records that were withdrawn.
+       * 
+ * * repeated .ElectionVotingRecord obtained_withdrawn_votes_records = 6; */ public java.util.List @@ -10173,6 +11997,10 @@ public io.aelf.protobuf.generated.ElectionContract.ElectionVotingRecord.Builder private com.google.protobuf.ByteString pubkey_ = com.google.protobuf.ByteString.EMPTY; /** + *
+       * Public key for candidate.
+       * 
+ * * bytes pubkey = 7; * @return The pubkey. */ @@ -10180,6 +12008,10 @@ public com.google.protobuf.ByteString getPubkey() { return pubkey_; } /** + *
+       * Public key for candidate.
+       * 
+ * * bytes pubkey = 7; * @param value The pubkey to set. * @return This builder for chaining. @@ -10194,6 +12026,10 @@ public Builder setPubkey(com.google.protobuf.ByteString value) { return this; } /** + *
+       * Public key for candidate.
+       * 
+ * * bytes pubkey = 7; * @return This builder for chaining. */ @@ -10261,17 +12097,29 @@ public interface GetWelfareRewardAmountSampleInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * repeated sint64 value = 1; + *
+     * Token lock time.
+     * 
+ * + * repeated int64 value = 1; * @return A list containing the value. */ java.util.List getValueList(); /** - * repeated sint64 value = 1; + *
+     * Token lock time.
+     * 
+ * + * repeated int64 value = 1; * @return The count of value. */ int getValueCount(); /** - * repeated sint64 value = 1; + *
+     * Token lock time.
+     * 
+ * + * repeated int64 value = 1; * @param index The index of the element to return. * @return The value at the given index. */ @@ -10329,7 +12177,7 @@ private GetWelfareRewardAmountSampleInput( value_ = newLongList(); mutable_bitField0_ |= 0x00000001; } - value_.addLong(input.readSInt64()); + value_.addLong(input.readInt64()); break; } case 10: { @@ -10340,7 +12188,7 @@ private GetWelfareRewardAmountSampleInput( mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { - value_.addLong(input.readSInt64()); + value_.addLong(input.readInt64()); } input.popLimit(limit); break; @@ -10383,7 +12231,11 @@ private GetWelfareRewardAmountSampleInput( public static final int VALUE_FIELD_NUMBER = 1; private com.google.protobuf.Internal.LongList value_; /** - * repeated sint64 value = 1; + *
+     * Token lock time.
+     * 
+ * + * repeated int64 value = 1; * @return A list containing the value. */ public java.util.List @@ -10391,14 +12243,22 @@ private GetWelfareRewardAmountSampleInput( return value_; } /** - * repeated sint64 value = 1; + *
+     * Token lock time.
+     * 
+ * + * repeated int64 value = 1; * @return The count of value. */ public int getValueCount() { return value_.size(); } /** - * repeated sint64 value = 1; + *
+     * Token lock time.
+     * 
+ * + * repeated int64 value = 1; * @param index The index of the element to return. * @return The value at the given index. */ @@ -10427,7 +12287,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeUInt32NoTag(valueMemoizedSerializedSize); } for (int i = 0; i < value_.size(); i++) { - output.writeSInt64NoTag(value_.getLong(i)); + output.writeInt64NoTag(value_.getLong(i)); } unknownFields.writeTo(output); } @@ -10442,7 +12302,7 @@ public int getSerializedSize() { int dataSize = 0; for (int i = 0; i < value_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeSInt64SizeNoTag(value_.getLong(i)); + .computeInt64SizeNoTag(value_.getLong(i)); } size += dataSize; if (!getValueList().isEmpty()) { @@ -10747,7 +12607,11 @@ private void ensureValueIsMutable() { } } /** - * repeated sint64 value = 1; + *
+       * Token lock time.
+       * 
+ * + * repeated int64 value = 1; * @return A list containing the value. */ public java.util.List @@ -10756,14 +12620,22 @@ private void ensureValueIsMutable() { java.util.Collections.unmodifiableList(value_) : value_; } /** - * repeated sint64 value = 1; + *
+       * Token lock time.
+       * 
+ * + * repeated int64 value = 1; * @return The count of value. */ public int getValueCount() { return value_.size(); } /** - * repeated sint64 value = 1; + *
+       * Token lock time.
+       * 
+ * + * repeated int64 value = 1; * @param index The index of the element to return. * @return The value at the given index. */ @@ -10771,7 +12643,11 @@ public long getValue(int index) { return value_.getLong(index); } /** - * repeated sint64 value = 1; + *
+       * Token lock time.
+       * 
+ * + * repeated int64 value = 1; * @param index The index to set the value at. * @param value The value to set. * @return This builder for chaining. @@ -10784,7 +12660,11 @@ public Builder setValue( return this; } /** - * repeated sint64 value = 1; + *
+       * Token lock time.
+       * 
+ * + * repeated int64 value = 1; * @param value The value to add. * @return This builder for chaining. */ @@ -10795,7 +12675,11 @@ public Builder addValue(long value) { return this; } /** - * repeated sint64 value = 1; + *
+       * Token lock time.
+       * 
+ * + * repeated int64 value = 1; * @param values The value to add. * @return This builder for chaining. */ @@ -10808,7 +12692,11 @@ public Builder addAllValue( return this; } /** - * repeated sint64 value = 1; + *
+       * Token lock time.
+       * 
+ * + * repeated int64 value = 1; * @return This builder for chaining. */ public Builder clearValue() { @@ -10875,17 +12763,29 @@ public interface GetWelfareRewardAmountSampleOutputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * repeated sint64 value = 1; + *
+     * The weight calculated.
+     * 
+ * + * repeated int64 value = 1; * @return A list containing the value. */ java.util.List getValueList(); /** - * repeated sint64 value = 1; + *
+     * The weight calculated.
+     * 
+ * + * repeated int64 value = 1; * @return The count of value. */ int getValueCount(); /** - * repeated sint64 value = 1; + *
+     * The weight calculated.
+     * 
+ * + * repeated int64 value = 1; * @param index The index of the element to return. * @return The value at the given index. */ @@ -10943,7 +12843,7 @@ private GetWelfareRewardAmountSampleOutput( value_ = newLongList(); mutable_bitField0_ |= 0x00000001; } - value_.addLong(input.readSInt64()); + value_.addLong(input.readInt64()); break; } case 10: { @@ -10954,7 +12854,7 @@ private GetWelfareRewardAmountSampleOutput( mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { - value_.addLong(input.readSInt64()); + value_.addLong(input.readInt64()); } input.popLimit(limit); break; @@ -10997,7 +12897,11 @@ private GetWelfareRewardAmountSampleOutput( public static final int VALUE_FIELD_NUMBER = 1; private com.google.protobuf.Internal.LongList value_; /** - * repeated sint64 value = 1; + *
+     * The weight calculated.
+     * 
+ * + * repeated int64 value = 1; * @return A list containing the value. */ public java.util.List @@ -11005,14 +12909,22 @@ private GetWelfareRewardAmountSampleOutput( return value_; } /** - * repeated sint64 value = 1; + *
+     * The weight calculated.
+     * 
+ * + * repeated int64 value = 1; * @return The count of value. */ public int getValueCount() { return value_.size(); } /** - * repeated sint64 value = 1; + *
+     * The weight calculated.
+     * 
+ * + * repeated int64 value = 1; * @param index The index of the element to return. * @return The value at the given index. */ @@ -11041,7 +12953,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeUInt32NoTag(valueMemoizedSerializedSize); } for (int i = 0; i < value_.size(); i++) { - output.writeSInt64NoTag(value_.getLong(i)); + output.writeInt64NoTag(value_.getLong(i)); } unknownFields.writeTo(output); } @@ -11056,7 +12968,7 @@ public int getSerializedSize() { int dataSize = 0; for (int i = 0; i < value_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeSInt64SizeNoTag(value_.getLong(i)); + .computeInt64SizeNoTag(value_.getLong(i)); } size += dataSize; if (!getValueList().isEmpty()) { @@ -11361,7 +13273,11 @@ private void ensureValueIsMutable() { } } /** - * repeated sint64 value = 1; + *
+       * The weight calculated.
+       * 
+ * + * repeated int64 value = 1; * @return A list containing the value. */ public java.util.List @@ -11370,14 +13286,22 @@ private void ensureValueIsMutable() { java.util.Collections.unmodifiableList(value_) : value_; } /** - * repeated sint64 value = 1; + *
+       * The weight calculated.
+       * 
+ * + * repeated int64 value = 1; * @return The count of value. */ public int getValueCount() { return value_.size(); } /** - * repeated sint64 value = 1; + *
+       * The weight calculated.
+       * 
+ * + * repeated int64 value = 1; * @param index The index of the element to return. * @return The value at the given index. */ @@ -11385,7 +13309,11 @@ public long getValue(int index) { return value_.getLong(index); } /** - * repeated sint64 value = 1; + *
+       * The weight calculated.
+       * 
+ * + * repeated int64 value = 1; * @param index The index to set the value at. * @param value The value to set. * @return This builder for chaining. @@ -11398,7 +13326,11 @@ public Builder setValue( return this; } /** - * repeated sint64 value = 1; + *
+       * The weight calculated.
+       * 
+ * + * repeated int64 value = 1; * @param value The value to add. * @return This builder for chaining. */ @@ -11409,7 +13341,11 @@ public Builder addValue(long value) { return this; } /** - * repeated sint64 value = 1; + *
+       * The weight calculated.
+       * 
+ * + * repeated int64 value = 1; * @param values The value to add. * @return This builder for chaining. */ @@ -11422,7 +13358,11 @@ public Builder addAllValue( return this; } /** - * repeated sint64 value = 1; + *
+       * The weight calculated.
+       * 
+ * + * repeated int64 value = 1; * @return This builder for chaining. */ public Builder clearValue() { @@ -11489,13 +13429,21 @@ public interface PageInformationOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * sint32 start = 1; + *
+     * The start index.
+     * 
+ * + * int32 start = 1; * @return The start. */ int getStart(); /** - * sint32 length = 2; + *
+     * The number of records.
+     * 
+ * + * int32 length = 2; * @return The length. */ int getLength(); @@ -11547,12 +13495,12 @@ private PageInformation( break; case 8: { - start_ = input.readSInt32(); + start_ = input.readInt32(); break; } case 16: { - length_ = input.readSInt32(); + length_ = input.readInt32(); break; } default: { @@ -11590,7 +13538,11 @@ private PageInformation( public static final int START_FIELD_NUMBER = 1; private int start_; /** - * sint32 start = 1; + *
+     * The start index.
+     * 
+ * + * int32 start = 1; * @return The start. */ public int getStart() { @@ -11600,7 +13552,11 @@ public int getStart() { public static final int LENGTH_FIELD_NUMBER = 2; private int length_; /** - * sint32 length = 2; + *
+     * The number of records.
+     * 
+ * + * int32 length = 2; * @return The length. */ public int getLength() { @@ -11622,10 +13578,10 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (start_ != 0) { - output.writeSInt32(1, start_); + output.writeInt32(1, start_); } if (length_ != 0) { - output.writeSInt32(2, length_); + output.writeInt32(2, length_); } unknownFields.writeTo(output); } @@ -11638,11 +13594,11 @@ public int getSerializedSize() { size = 0; if (start_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeSInt32Size(1, start_); + .computeInt32Size(1, start_); } if (length_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeSInt32Size(2, length_); + .computeInt32Size(2, length_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11928,14 +13884,22 @@ public Builder mergeFrom( private int start_ ; /** - * sint32 start = 1; + *
+       * The start index.
+       * 
+ * + * int32 start = 1; * @return The start. */ public int getStart() { return start_; } /** - * sint32 start = 1; + *
+       * The start index.
+       * 
+ * + * int32 start = 1; * @param value The start to set. * @return This builder for chaining. */ @@ -11946,7 +13910,11 @@ public Builder setStart(int value) { return this; } /** - * sint32 start = 1; + *
+       * The start index.
+       * 
+ * + * int32 start = 1; * @return This builder for chaining. */ public Builder clearStart() { @@ -11958,14 +13926,22 @@ public Builder clearStart() { private int length_ ; /** - * sint32 length = 2; + *
+       * The number of records.
+       * 
+ * + * int32 length = 2; * @return The length. */ public int getLength() { return length_; } /** - * sint32 length = 2; + *
+       * The number of records.
+       * 
+ * + * int32 length = 2; * @param value The length to set. * @return This builder for chaining. */ @@ -11976,7 +13952,11 @@ public Builder setLength(int value) { return this; } /** - * sint32 length = 2; + *
+       * The number of records.
+       * 
+ * + * int32 length = 2; * @return This builder for chaining. */ public Builder clearLength() { @@ -12043,22 +14023,38 @@ public interface CandidateDetailOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The candidate information.
+     * 
+ * * .CandidateInformation candidate_information = 1; * @return Whether the candidateInformation field is set. */ boolean hasCandidateInformation(); /** + *
+     * The candidate information.
+     * 
+ * * .CandidateInformation candidate_information = 1; * @return The candidateInformation. */ io.aelf.protobuf.generated.ElectionContract.CandidateInformation getCandidateInformation(); /** + *
+     * The candidate information.
+     * 
+ * * .CandidateInformation candidate_information = 1; */ io.aelf.protobuf.generated.ElectionContract.CandidateInformationOrBuilder getCandidateInformationOrBuilder(); /** - * sint64 obtained_votes_amount = 2; + *
+     * The number of votes a candidate has obtained.
+     * 
+ * + * int64 obtained_votes_amount = 2; * @return The obtainedVotesAmount. */ long getObtainedVotesAmount(); @@ -12123,7 +14119,7 @@ private CandidateDetail( } case 16: { - obtainedVotesAmount_ = input.readSInt64(); + obtainedVotesAmount_ = input.readInt64(); break; } default: { @@ -12161,6 +14157,10 @@ private CandidateDetail( public static final int CANDIDATE_INFORMATION_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.ElectionContract.CandidateInformation candidateInformation_; /** + *
+     * The candidate information.
+     * 
+ * * .CandidateInformation candidate_information = 1; * @return Whether the candidateInformation field is set. */ @@ -12168,6 +14168,10 @@ public boolean hasCandidateInformation() { return candidateInformation_ != null; } /** + *
+     * The candidate information.
+     * 
+ * * .CandidateInformation candidate_information = 1; * @return The candidateInformation. */ @@ -12175,6 +14179,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateInformation getCandi return candidateInformation_ == null ? io.aelf.protobuf.generated.ElectionContract.CandidateInformation.getDefaultInstance() : candidateInformation_; } /** + *
+     * The candidate information.
+     * 
+ * * .CandidateInformation candidate_information = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateInformationOrBuilder getCandidateInformationOrBuilder() { @@ -12184,7 +14192,11 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateInformationOrBuilder public static final int OBTAINED_VOTES_AMOUNT_FIELD_NUMBER = 2; private long obtainedVotesAmount_; /** - * sint64 obtained_votes_amount = 2; + *
+     * The number of votes a candidate has obtained.
+     * 
+ * + * int64 obtained_votes_amount = 2; * @return The obtainedVotesAmount. */ public long getObtainedVotesAmount() { @@ -12209,7 +14221,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(1, getCandidateInformation()); } if (obtainedVotesAmount_ != 0L) { - output.writeSInt64(2, obtainedVotesAmount_); + output.writeInt64(2, obtainedVotesAmount_); } unknownFields.writeTo(output); } @@ -12226,7 +14238,7 @@ public int getSerializedSize() { } if (obtainedVotesAmount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, obtainedVotesAmount_); + .computeInt64Size(2, obtainedVotesAmount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12528,6 +14540,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.ElectionContract.CandidateInformation, io.aelf.protobuf.generated.ElectionContract.CandidateInformation.Builder, io.aelf.protobuf.generated.ElectionContract.CandidateInformationOrBuilder> candidateInformationBuilder_; /** + *
+       * The candidate information.
+       * 
+ * * .CandidateInformation candidate_information = 1; * @return Whether the candidateInformation field is set. */ @@ -12535,6 +14551,10 @@ public boolean hasCandidateInformation() { return candidateInformationBuilder_ != null || candidateInformation_ != null; } /** + *
+       * The candidate information.
+       * 
+ * * .CandidateInformation candidate_information = 1; * @return The candidateInformation. */ @@ -12546,6 +14566,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateInformation getCandi } } /** + *
+       * The candidate information.
+       * 
+ * * .CandidateInformation candidate_information = 1; */ public Builder setCandidateInformation(io.aelf.protobuf.generated.ElectionContract.CandidateInformation value) { @@ -12562,6 +14586,10 @@ public Builder setCandidateInformation(io.aelf.protobuf.generated.ElectionContra return this; } /** + *
+       * The candidate information.
+       * 
+ * * .CandidateInformation candidate_information = 1; */ public Builder setCandidateInformation( @@ -12576,6 +14604,10 @@ public Builder setCandidateInformation( return this; } /** + *
+       * The candidate information.
+       * 
+ * * .CandidateInformation candidate_information = 1; */ public Builder mergeCandidateInformation(io.aelf.protobuf.generated.ElectionContract.CandidateInformation value) { @@ -12594,6 +14626,10 @@ public Builder mergeCandidateInformation(io.aelf.protobuf.generated.ElectionCont return this; } /** + *
+       * The candidate information.
+       * 
+ * * .CandidateInformation candidate_information = 1; */ public Builder clearCandidateInformation() { @@ -12608,6 +14644,10 @@ public Builder clearCandidateInformation() { return this; } /** + *
+       * The candidate information.
+       * 
+ * * .CandidateInformation candidate_information = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateInformation.Builder getCandidateInformationBuilder() { @@ -12616,6 +14656,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateInformation.Builder return getCandidateInformationFieldBuilder().getBuilder(); } /** + *
+       * The candidate information.
+       * 
+ * * .CandidateInformation candidate_information = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateInformationOrBuilder getCandidateInformationOrBuilder() { @@ -12627,6 +14671,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateInformationOrBuilder } } /** + *
+       * The candidate information.
+       * 
+ * * .CandidateInformation candidate_information = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -12645,14 +14693,22 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateInformationOrBuilder private long obtainedVotesAmount_ ; /** - * sint64 obtained_votes_amount = 2; + *
+       * The number of votes a candidate has obtained.
+       * 
+ * + * int64 obtained_votes_amount = 2; * @return The obtainedVotesAmount. */ public long getObtainedVotesAmount() { return obtainedVotesAmount_; } /** - * sint64 obtained_votes_amount = 2; + *
+       * The number of votes a candidate has obtained.
+       * 
+ * + * int64 obtained_votes_amount = 2; * @param value The obtainedVotesAmount to set. * @return This builder for chaining. */ @@ -12663,7 +14719,11 @@ public Builder setObtainedVotesAmount(long value) { return this; } /** - * sint64 obtained_votes_amount = 2; + *
+       * The number of votes a candidate has obtained.
+       * 
+ * + * int64 obtained_votes_amount = 2; * @return This builder for chaining. */ public Builder clearObtainedVotesAmount() { @@ -12730,24 +14790,44 @@ public interface GetPageableCandidateInformationOutputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The details of the candidates.
+     * 
+ * * repeated .CandidateDetail value = 1; */ java.util.List getValueList(); /** + *
+     * The details of the candidates.
+     * 
+ * * repeated .CandidateDetail value = 1; */ io.aelf.protobuf.generated.ElectionContract.CandidateDetail getValue(int index); /** + *
+     * The details of the candidates.
+     * 
+ * * repeated .CandidateDetail value = 1; */ int getValueCount(); /** + *
+     * The details of the candidates.
+     * 
+ * * repeated .CandidateDetail value = 1; */ java.util.List getValueOrBuilderList(); /** + *
+     * The details of the candidates.
+     * 
+ * * repeated .CandidateDetail value = 1; */ io.aelf.protobuf.generated.ElectionContract.CandidateDetailOrBuilder getValueOrBuilder( @@ -12847,12 +14927,20 @@ private GetPageableCandidateInformationOutput( public static final int VALUE_FIELD_NUMBER = 1; private java.util.List value_; /** + *
+     * The details of the candidates.
+     * 
+ * * repeated .CandidateDetail value = 1; */ public java.util.List getValueList() { return value_; } /** + *
+     * The details of the candidates.
+     * 
+ * * repeated .CandidateDetail value = 1; */ public java.util.List @@ -12860,18 +14948,30 @@ public java.util.List + * The details of the candidates. + * + * * repeated .CandidateDetail value = 1; */ public int getValueCount() { return value_.size(); } /** + *
+     * The details of the candidates.
+     * 
+ * * repeated .CandidateDetail value = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateDetail getValue(int index) { return value_.get(index); } /** + *
+     * The details of the candidates.
+     * 
+ * * repeated .CandidateDetail value = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateDetailOrBuilder getValueOrBuilder( @@ -13234,6 +15334,10 @@ private void ensureValueIsMutable() { io.aelf.protobuf.generated.ElectionContract.CandidateDetail, io.aelf.protobuf.generated.ElectionContract.CandidateDetail.Builder, io.aelf.protobuf.generated.ElectionContract.CandidateDetailOrBuilder> valueBuilder_; /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public java.util.List getValueList() { @@ -13244,6 +15348,10 @@ public java.util.List + * The details of the candidates. + * + * * repeated .CandidateDetail value = 1; */ public int getValueCount() { @@ -13254,6 +15362,10 @@ public int getValueCount() { } } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateDetail getValue(int index) { @@ -13264,6 +15376,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateDetail getValue(int } } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public Builder setValue( @@ -13281,6 +15397,10 @@ public Builder setValue( return this; } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public Builder setValue( @@ -13295,6 +15415,10 @@ public Builder setValue( return this; } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public Builder addValue(io.aelf.protobuf.generated.ElectionContract.CandidateDetail value) { @@ -13311,6 +15435,10 @@ public Builder addValue(io.aelf.protobuf.generated.ElectionContract.CandidateDet return this; } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public Builder addValue( @@ -13328,6 +15456,10 @@ public Builder addValue( return this; } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public Builder addValue( @@ -13342,6 +15474,10 @@ public Builder addValue( return this; } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public Builder addValue( @@ -13356,6 +15492,10 @@ public Builder addValue( return this; } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public Builder addAllValue( @@ -13371,6 +15511,10 @@ public Builder addAllValue( return this; } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public Builder clearValue() { @@ -13384,6 +15528,10 @@ public Builder clearValue() { return this; } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public Builder removeValue(int index) { @@ -13397,6 +15545,10 @@ public Builder removeValue(int index) { return this; } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateDetail.Builder getValueBuilder( @@ -13404,6 +15556,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateDetail.Builder getVa return getValueFieldBuilder().getBuilder(index); } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateDetailOrBuilder getValueOrBuilder( @@ -13414,6 +15570,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateDetailOrBuilder getV } } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public java.util.List @@ -13425,6 +15585,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateDetailOrBuilder getV } } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateDetail.Builder addValueBuilder() { @@ -13432,6 +15596,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateDetail.Builder addVa io.aelf.protobuf.generated.ElectionContract.CandidateDetail.getDefaultInstance()); } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public io.aelf.protobuf.generated.ElectionContract.CandidateDetail.Builder addValueBuilder( @@ -13440,6 +15608,10 @@ public io.aelf.protobuf.generated.ElectionContract.CandidateDetail.Builder addVa index, io.aelf.protobuf.generated.ElectionContract.CandidateDetail.getDefaultInstance()); } /** + *
+       * The details of the candidates.
+       * 
+ * * repeated .CandidateDetail value = 1; */ public java.util.List @@ -13518,11 +15690,19 @@ public interface DataCenterRankingListOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * map<string, sint64> data_centers = 1; + *
+     * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+     * 
+ * + * map<string, int64> data_centers = 1; */ int getDataCentersCount(); /** - * map<string, sint64> data_centers = 1; + *
+     * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+     * 
+ * + * map<string, int64> data_centers = 1; */ boolean containsDataCenters( java.lang.String key); @@ -13533,26 +15713,38 @@ boolean containsDataCenters( java.util.Map getDataCenters(); /** - * map<string, sint64> data_centers = 1; + *
+     * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+     * 
+ * + * map<string, int64> data_centers = 1; */ java.util.Map getDataCentersMap(); /** - * map<string, sint64> data_centers = 1; + *
+     * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+     * 
+ * + * map<string, int64> data_centers = 1; */ long getDataCentersOrDefault( java.lang.String key, long defaultValue); /** - * map<string, sint64> data_centers = 1; + *
+     * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+     * 
+ * + * map<string, int64> data_centers = 1; */ long getDataCentersOrThrow( java.lang.String key); /** - * sint64 minimum_votes = 2; + * int64 minimum_votes = 2; * @return The minimumVotes. */ long getMinimumVotes(); @@ -13618,7 +15810,7 @@ private DataCenterRankingList( } case 16: { - minimumVotes_ = input.readSInt64(); + minimumVotes_ = input.readInt64(); break; } default: { @@ -13674,7 +15866,7 @@ private static final class DataCentersDefaultEntryHolder { io.aelf.protobuf.generated.ElectionContract.internal_static_DataCenterRankingList_DataCentersEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.SINT64, + com.google.protobuf.WireFormat.FieldType.INT64, 0L); } private com.google.protobuf.MapField< @@ -13692,7 +15884,11 @@ public int getDataCentersCount() { return internalGetDataCenters().getMap().size(); } /** - * map<string, sint64> data_centers = 1; + *
+     * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+     * 
+ * + * map<string, int64> data_centers = 1; */ public boolean containsDataCenters( @@ -13708,14 +15904,22 @@ public java.util.Map getDataCenters() { return getDataCentersMap(); } /** - * map<string, sint64> data_centers = 1; + *
+     * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+     * 
+ * + * map<string, int64> data_centers = 1; */ public java.util.Map getDataCentersMap() { return internalGetDataCenters().getMap(); } /** - * map<string, sint64> data_centers = 1; + *
+     * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+     * 
+ * + * map<string, int64> data_centers = 1; */ public long getDataCentersOrDefault( @@ -13727,7 +15931,11 @@ public long getDataCentersOrDefault( return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, sint64> data_centers = 1; + *
+     * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+     * 
+ * + * map<string, int64> data_centers = 1; */ public long getDataCentersOrThrow( @@ -13744,7 +15952,7 @@ public long getDataCentersOrThrow( public static final int MINIMUM_VOTES_FIELD_NUMBER = 2; private long minimumVotes_; /** - * sint64 minimum_votes = 2; + * int64 minimum_votes = 2; * @return The minimumVotes. */ public long getMinimumVotes() { @@ -13772,7 +15980,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) DataCentersDefaultEntryHolder.defaultEntry, 1); if (minimumVotes_ != 0L) { - output.writeSInt64(2, minimumVotes_); + output.writeInt64(2, minimumVotes_); } unknownFields.writeTo(output); } @@ -13795,7 +16003,7 @@ public int getSerializedSize() { } if (minimumVotes_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, minimumVotes_); + .computeInt64Size(2, minimumVotes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14132,7 +16340,11 @@ public int getDataCentersCount() { return internalGetDataCenters().getMap().size(); } /** - * map<string, sint64> data_centers = 1; + *
+       * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+       * 
+ * + * map<string, int64> data_centers = 1; */ public boolean containsDataCenters( @@ -14148,14 +16360,22 @@ public java.util.Map getDataCenters() { return getDataCentersMap(); } /** - * map<string, sint64> data_centers = 1; + *
+       * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+       * 
+ * + * map<string, int64> data_centers = 1; */ public java.util.Map getDataCentersMap() { return internalGetDataCenters().getMap(); } /** - * map<string, sint64> data_centers = 1; + *
+       * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+       * 
+ * + * map<string, int64> data_centers = 1; */ public long getDataCentersOrDefault( @@ -14167,7 +16387,11 @@ public long getDataCentersOrDefault( return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, sint64> data_centers = 1; + *
+       * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+       * 
+ * + * map<string, int64> data_centers = 1; */ public long getDataCentersOrThrow( @@ -14187,7 +16411,11 @@ public Builder clearDataCenters() { return this; } /** - * map<string, sint64> data_centers = 1; + *
+       * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+       * 
+ * + * map<string, int64> data_centers = 1; */ public Builder removeDataCenters( @@ -14206,7 +16434,11 @@ public Builder removeDataCenters( return internalGetMutableDataCenters().getMutableMap(); } /** - * map<string, sint64> data_centers = 1; + *
+       * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+       * 
+ * + * map<string, int64> data_centers = 1; */ public Builder putDataCenters( java.lang.String key, @@ -14218,7 +16450,11 @@ public Builder putDataCenters( return this; } /** - * map<string, sint64> data_centers = 1; + *
+       * The top n * 5 candidates with vote amount, candidate public key -> vote amount.
+       * 
+ * + * map<string, int64> data_centers = 1; */ public Builder putAllDataCenters( @@ -14230,14 +16466,14 @@ public Builder putAllDataCenters( private long minimumVotes_ ; /** - * sint64 minimum_votes = 2; + * int64 minimum_votes = 2; * @return The minimumVotes. */ public long getMinimumVotes() { return minimumVotes_; } /** - * sint64 minimum_votes = 2; + * int64 minimum_votes = 2; * @param value The minimumVotes to set. * @return This builder for chaining. */ @@ -14248,7 +16484,7 @@ public Builder setMinimumVotes(long value) { return this; } /** - * sint64 minimum_votes = 2; + * int64 minimum_votes = 2; * @return This builder for chaining. */ public Builder clearMinimumVotes() { @@ -14407,59 +16643,59 @@ public io.aelf.protobuf.generated.ElectionContract.DataCenterRankingList getDefa "\n\027election_contract.proto\032\037google/protob" + "uf/timestamp.proto\032\014client.proto\"\330\001\n\024Can" + "didateInformation\022\016\n\006pubkey\030\001 \001(\t\022\r\n\005ter" + - "ms\030\002 \003(\022\022\027\n\017produced_blocks\030\003 \001(\022\022\031\n\021mis" + - "sed_time_slots\030\004 \001(\022\022#\n\033continual_appoin" + - "tment_count\030\005 \001(\022\022*\n\033announcement_transa" + + "ms\030\002 \003(\003\022\027\n\017produced_blocks\030\003 \001(\003\022\031\n\021mis" + + "sed_time_slots\030\004 \001(\003\022#\n\033continual_appoin" + + "tment_count\030\005 \001(\003\022*\n\033announcement_transa" + "ction_id\030\006 \001(\0132\005.Hash\022\034\n\024is_current_cand" + "idate\030\007 \001(\010\"+\n\024GetTermSnapshotInput\022\023\n\013t" + - "erm_number\030\001 \001(\022\"\261\001\n\014TermSnapshot\022\030\n\020end" + - "_round_number\030\001 \001(\022\022\024\n\014mined_blocks\030\002 \001(" + - "\022\022:\n\017election_result\030\003 \003(\0132!.TermSnapsho" + + "erm_number\030\001 \001(\003\"\261\001\n\014TermSnapshot\022\030\n\020end" + + "_round_number\030\001 \001(\003\022\024\n\014mined_blocks\030\002 \001(" + + "\003\022:\n\017election_result\030\003 \003(\0132!.TermSnapsho" + "t.ElectionResultEntry\0325\n\023ElectionResultE" + - "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\022:\0028\001\"-\n\026" + + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\"-\n\026" + "GetElectionResultInput\022\023\n\013term_number\030\001 " + - "\001(\022\"\227\001\n\016ElectionResult\022\023\n\013term_number\030\001 " + - "\001(\022\022-\n\007results\030\002 \003(\0132\034.ElectionResult.Re" + + "\001(\003\"\227\001\n\016ElectionResult\022\023\n\013term_number\030\001 " + + "\001(\003\022-\n\007results\030\002 \003(\0132\034.ElectionResult.Re" + "sultsEntry\022\021\n\tis_active\030\003 \001(\010\032.\n\014Results" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\022:\0028\001\"\243\002" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\"\243\002" + "\n\013ElectorVote\022\'\n\030active_voting_record_id" + "s\030\001 \003(\0132\005.Hash\022*\n\033withdrawn_voting_recor" + "d_ids\030\002 \003(\0132\005.Hash\022!\n\031active_voted_votes" + - "_amount\030\003 \001(\022\022\036\n\026all_voted_votes_amount\030" + - "\004 \001(\022\0224\n\025active_voting_records\030\005 \003(\0132\025.E" + + "_amount\030\003 \001(\003\022\036\n\026all_voted_votes_amount\030" + + "\004 \001(\003\0224\n\025active_voting_records\030\005 \003(\0132\025.E" + "lectionVotingRecord\0226\n\027withdrawn_votes_r" + "ecords\030\006 \003(\0132\025.ElectionVotingRecord\022\016\n\006p" + "ubkey\030\007 \001(\014\"\364\002\n\024ElectionVotingRecord\022\027\n\005" + "voter\030\001 \001(\0132\010.Address\022\021\n\tcandidate\030\002 \001(\t" + - "\022\016\n\006amount\030\003 \001(\022\022\023\n\013term_number\030\004 \001(\022\022\026\n" + - "\007vote_id\030\005 \001(\0132\005.Hash\022\021\n\tlock_time\030\007 \001(\022" + - "\0224\n\020unlock_timestamp\030\n \001(\0132\032.google.prot" + - "obuf.Timestamp\0226\n\022withdraw_timestamp\030\013 \001" + + "\022\016\n\006amount\030\003 \001(\003\022\023\n\013term_number\030\004 \001(\003\022\026\n" + + "\007vote_id\030\005 \001(\0132\005.Hash\022\021\n\tlock_time\030\006 \001(\003" + + "\0224\n\020unlock_timestamp\030\007 \001(\0132\032.google.prot" + + "obuf.Timestamp\0226\n\022withdraw_timestamp\030\010 \001" + "(\0132\032.google.protobuf.Timestamp\0222\n\016vote_t" + - "imestamp\030\014 \001(\0132\032.google.protobuf.Timesta" + - "mp\022\024\n\014is_withdrawn\030\r \001(\010\022\016\n\006weight\030\016 \001(\022" + - "\022\030\n\020is_change_target\030\017 \001(\010\"\333\002\n\rCandidate" + + "imestamp\030\t \001(\0132\032.google.protobuf.Timesta" + + "mp\022\024\n\014is_withdrawn\030\n \001(\010\022\016\n\006weight\030\013 \001(\003" + + "\022\030\n\020is_change_target\030\014 \001(\010\"\333\002\n\rCandidate" + "Vote\0220\n!obtained_active_voting_record_id" + "s\030\001 \003(\0132\005.Hash\0223\n$obtained_withdrawn_vot" + "ing_record_ids\030\002 \003(\0132\005.Hash\022*\n\"obtained_" + - "active_voted_votes_amount\030\003 \001(\022\022\'\n\037all_o" + - "btained_voted_votes_amount\030\004 \001(\022\022=\n\036obta" + + "active_voted_votes_amount\030\003 \001(\003\022\'\n\037all_o" + + "btained_voted_votes_amount\030\004 \001(\003\022=\n\036obta" + "ined_active_voting_records\030\005 \003(\0132\025.Elect" + "ionVotingRecord\022?\n obtained_withdrawn_vo" + "tes_records\030\006 \003(\0132\025.ElectionVotingRecord" + "\022\016\n\006pubkey\030\007 \001(\014\"2\n!GetWelfareRewardAmou" + - "ntSampleInput\022\r\n\005value\030\001 \003(\022\"3\n\"GetWelfa" + + "ntSampleInput\022\r\n\005value\030\001 \003(\003\"3\n\"GetWelfa" + "reRewardAmountSampleOutput\022\r\n\005value\030\001 \003(" + - "\022\"0\n\017PageInformation\022\r\n\005start\030\001 \001(\021\022\016\n\006l" + - "ength\030\002 \001(\021\"f\n\017CandidateDetail\0224\n\025candid" + + "\003\"0\n\017PageInformation\022\r\n\005start\030\001 \001(\005\022\016\n\006l" + + "ength\030\002 \001(\005\"f\n\017CandidateDetail\0224\n\025candid" + "ate_information\030\001 \001(\0132\025.CandidateInforma" + - "tion\022\035\n\025obtained_votes_amount\030\002 \001(\022\"H\n%G" + + "tion\022\035\n\025obtained_votes_amount\030\002 \001(\003\"H\n%G" + "etPageableCandidateInformationOutput\022\037\n\005" + "value\030\001 \003(\0132\020.CandidateDetail\"\241\001\n\025DataCe" + "nterRankingList\022=\n\014data_centers\030\001 \003(\0132\'." + "DataCenterRankingList.DataCentersEntry\022\025" + - "\n\rminimum_votes\030\002 \001(\022\0322\n\020DataCentersEntr" + - "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\022:\0028\001B\034\n\032io." + + "\n\rminimum_votes\030\002 \001(\003\0322\n\020DataCentersEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B\034\n\032io." + "aelf.protobuf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/ParliamentAuthContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/ParliamentAuthContract.java index bd53218..79a42a1 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/ParliamentAuthContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/ParliamentAuthContract.java @@ -19,24 +19,44 @@ public interface ProposalIdListOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ java.util.List getProposalIdsList(); /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ io.aelf.protobuf.generated.Client.Hash getProposalIds(int index); /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ int getProposalIdsCount(); /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ java.util.List getProposalIdsOrBuilderList(); /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdsOrBuilder( @@ -140,12 +160,20 @@ private ProposalIdList( public static final int PROPOSAL_IDS_FIELD_NUMBER = 1; private java.util.List proposalIds_; /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ public java.util.List getProposalIdsList() { return proposalIds_; } /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ public java.util.List @@ -153,18 +181,30 @@ public java.util.List getProposalIdsList return proposalIds_; } /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ public int getProposalIdsCount() { return proposalIds_.size(); } /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash getProposalIds(int index) { return proposalIds_.get(index); } /** + *
+     * The list of proposal ids.
+     * 
+ * * repeated .Hash proposal_ids = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdsOrBuilder( @@ -531,6 +571,10 @@ private void ensureProposalIdsIsMutable() { io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> proposalIdsBuilder_; /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public java.util.List getProposalIdsList() { @@ -541,6 +585,10 @@ public java.util.List getProposalIdsList } } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public int getProposalIdsCount() { @@ -551,6 +599,10 @@ public int getProposalIdsCount() { } } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash getProposalIds(int index) { @@ -561,6 +613,10 @@ public io.aelf.protobuf.generated.Client.Hash getProposalIds(int index) { } } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public Builder setProposalIds( @@ -578,6 +634,10 @@ public Builder setProposalIds( return this; } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public Builder setProposalIds( @@ -592,6 +652,10 @@ public Builder setProposalIds( return this; } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public Builder addProposalIds(io.aelf.protobuf.generated.Client.Hash value) { @@ -608,6 +672,10 @@ public Builder addProposalIds(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public Builder addProposalIds( @@ -625,6 +693,10 @@ public Builder addProposalIds( return this; } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public Builder addProposalIds( @@ -639,6 +711,10 @@ public Builder addProposalIds( return this; } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public Builder addProposalIds( @@ -653,6 +729,10 @@ public Builder addProposalIds( return this; } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public Builder addAllProposalIds( @@ -668,6 +748,10 @@ public Builder addAllProposalIds( return this; } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public Builder clearProposalIds() { @@ -681,6 +765,10 @@ public Builder clearProposalIds() { return this; } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public Builder removeProposalIds(int index) { @@ -694,6 +782,10 @@ public Builder removeProposalIds(int index) { return this; } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getProposalIdsBuilder( @@ -701,6 +793,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getProposalIdsBuilder( return getProposalIdsFieldBuilder().getBuilder(index); } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdsOrBuilder( @@ -711,6 +807,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdsOrBuilder( } } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public java.util.List @@ -722,6 +822,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getProposalIdsOrBuilder( } } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addProposalIdsBuilder() { @@ -729,6 +833,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addProposalIdsBuilder() { io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addProposalIdsBuilder( @@ -737,6 +845,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addProposalIdsBuilder( index, io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The list of proposal ids.
+       * 
+ * * repeated .Hash proposal_ids = 1; */ public java.util.List @@ -815,40 +927,132 @@ public interface OrganizationOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * sint32 release_threshold = 1; - * @return The releaseThreshold. + *
+     * Indicates if proposals need authority to be created.
+     * 
+ * + * bool proposer_authority_required = 1; + * @return The proposerAuthorityRequired. */ - int getReleaseThreshold(); + boolean getProposerAuthorityRequired(); /** + *
+     * The organization address.
+     * 
+ * * .Address organization_address = 2; * @return Whether the organizationAddress field is set. */ boolean hasOrganizationAddress(); /** + *
+     * The organization address.
+     * 
+ * * .Address organization_address = 2; * @return The organizationAddress. */ io.aelf.protobuf.generated.Client.Address getOrganizationAddress(); /** + *
+     * The organization address.
+     * 
+ * * .Address organization_address = 2; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder(); /** + *
+     * The organization id.
+     * 
+ * * .Hash organization_hash = 3; * @return Whether the organizationHash field is set. */ boolean hasOrganizationHash(); /** + *
+     * The organization id.
+     * 
+ * * .Hash organization_hash = 3; * @return The organizationHash. */ io.aelf.protobuf.generated.Client.Hash getOrganizationHash(); /** + *
+     * The organization id.
+     * 
+ * * .Hash organization_hash = 3; */ io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuilder(); + + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + * @return Whether the proposalReleaseThreshold field is set. + */ + boolean hasProposalReleaseThreshold(); + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + * @return The proposalReleaseThreshold. + */ + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getProposalReleaseThreshold(); + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + */ + io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder getProposalReleaseThresholdOrBuilder(); + + /** + *
+     * Indicates if parliament member can propose to this organization.
+     * 
+ * + * bool parliament_member_proposing_allowed = 5; + * @return The parliamentMemberProposingAllowed. + */ + boolean getParliamentMemberProposingAllowed(); + + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return Whether the creationToken field is set. + */ + boolean hasCreationToken(); + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return The creationToken. + */ + io.aelf.protobuf.generated.Client.Hash getCreationToken(); + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + */ + io.aelf.protobuf.generated.Client.HashOrBuilder getCreationTokenOrBuilder(); } /** * Protobuf type {@code Organization} @@ -897,7 +1101,7 @@ private Organization( break; case 8: { - releaseThreshold_ = input.readSInt32(); + proposerAuthorityRequired_ = input.readBool(); break; } case 18: { @@ -926,6 +1130,37 @@ private Organization( break; } + case 34: { + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder subBuilder = null; + if (proposalReleaseThreshold_ != null) { + subBuilder = proposalReleaseThreshold_.toBuilder(); + } + proposalReleaseThreshold_ = input.readMessage(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(proposalReleaseThreshold_); + proposalReleaseThreshold_ = subBuilder.buildPartial(); + } + + break; + } + case 40: { + + parliamentMemberProposingAllowed_ = input.readBool(); + break; + } + case 50: { + io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; + if (creationToken_ != null) { + subBuilder = creationToken_.toBuilder(); + } + creationToken_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(creationToken_); + creationToken_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -958,19 +1193,27 @@ private Organization( io.aelf.protobuf.generated.ParliamentAuthContract.Organization.class, io.aelf.protobuf.generated.ParliamentAuthContract.Organization.Builder.class); } - public static final int RELEASE_THRESHOLD_FIELD_NUMBER = 1; - private int releaseThreshold_; + public static final int PROPOSER_AUTHORITY_REQUIRED_FIELD_NUMBER = 1; + private boolean proposerAuthorityRequired_; /** - * sint32 release_threshold = 1; - * @return The releaseThreshold. + *
+     * Indicates if proposals need authority to be created.
+     * 
+ * + * bool proposer_authority_required = 1; + * @return The proposerAuthorityRequired. */ - public int getReleaseThreshold() { - return releaseThreshold_; + public boolean getProposerAuthorityRequired() { + return proposerAuthorityRequired_; } public static final int ORGANIZATION_ADDRESS_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.Address organizationAddress_; /** + *
+     * The organization address.
+     * 
+ * * .Address organization_address = 2; * @return Whether the organizationAddress field is set. */ @@ -978,6 +1221,10 @@ public boolean hasOrganizationAddress() { return organizationAddress_ != null; } /** + *
+     * The organization address.
+     * 
+ * * .Address organization_address = 2; * @return The organizationAddress. */ @@ -985,6 +1232,10 @@ public io.aelf.protobuf.generated.Client.Address getOrganizationAddress() { return organizationAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : organizationAddress_; } /** + *
+     * The organization address.
+     * 
+ * * .Address organization_address = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder() { @@ -994,6 +1245,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress public static final int ORGANIZATION_HASH_FIELD_NUMBER = 3; private io.aelf.protobuf.generated.Client.Hash organizationHash_; /** + *
+     * The organization id.
+     * 
+ * * .Hash organization_hash = 3; * @return Whether the organizationHash field is set. */ @@ -1001,6 +1256,10 @@ public boolean hasOrganizationHash() { return organizationHash_ != null; } /** + *
+     * The organization id.
+     * 
+ * * .Hash organization_hash = 3; * @return The organizationHash. */ @@ -1008,12 +1267,100 @@ public io.aelf.protobuf.generated.Client.Hash getOrganizationHash() { return organizationHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : organizationHash_; } /** + *
+     * The organization id.
+     * 
+ * * .Hash organization_hash = 3; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuilder() { return getOrganizationHash(); } + public static final int PROPOSAL_RELEASE_THRESHOLD_FIELD_NUMBER = 4; + private io.aelf.protobuf.generated.Client.ProposalReleaseThreshold proposalReleaseThreshold_; + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + * @return Whether the proposalReleaseThreshold field is set. + */ + public boolean hasProposalReleaseThreshold() { + return proposalReleaseThreshold_ != null; + } + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + * @return The proposalReleaseThreshold. + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getProposalReleaseThreshold() { + return proposalReleaseThreshold_ == null ? io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance() : proposalReleaseThreshold_; + } + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder getProposalReleaseThresholdOrBuilder() { + return getProposalReleaseThreshold(); + } + + public static final int PARLIAMENT_MEMBER_PROPOSING_ALLOWED_FIELD_NUMBER = 5; + private boolean parliamentMemberProposingAllowed_; + /** + *
+     * Indicates if parliament member can propose to this organization.
+     * 
+ * + * bool parliament_member_proposing_allowed = 5; + * @return The parliamentMemberProposingAllowed. + */ + public boolean getParliamentMemberProposingAllowed() { + return parliamentMemberProposingAllowed_; + } + + public static final int CREATION_TOKEN_FIELD_NUMBER = 6; + private io.aelf.protobuf.generated.Client.Hash creationToken_; + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return Whether the creationToken field is set. + */ + public boolean hasCreationToken() { + return creationToken_ != null; + } + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return The creationToken. + */ + public io.aelf.protobuf.generated.Client.Hash getCreationToken() { + return creationToken_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : creationToken_; + } + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getCreationTokenOrBuilder() { + return getCreationToken(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -1028,8 +1375,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (releaseThreshold_ != 0) { - output.writeSInt32(1, releaseThreshold_); + if (proposerAuthorityRequired_ != false) { + output.writeBool(1, proposerAuthorityRequired_); } if (organizationAddress_ != null) { output.writeMessage(2, getOrganizationAddress()); @@ -1037,6 +1384,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (organizationHash_ != null) { output.writeMessage(3, getOrganizationHash()); } + if (proposalReleaseThreshold_ != null) { + output.writeMessage(4, getProposalReleaseThreshold()); + } + if (parliamentMemberProposingAllowed_ != false) { + output.writeBool(5, parliamentMemberProposingAllowed_); + } + if (creationToken_ != null) { + output.writeMessage(6, getCreationToken()); + } unknownFields.writeTo(output); } @@ -1046,9 +1402,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (releaseThreshold_ != 0) { + if (proposerAuthorityRequired_ != false) { size += com.google.protobuf.CodedOutputStream - .computeSInt32Size(1, releaseThreshold_); + .computeBoolSize(1, proposerAuthorityRequired_); } if (organizationAddress_ != null) { size += com.google.protobuf.CodedOutputStream @@ -1058,6 +1414,18 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOrganizationHash()); } + if (proposalReleaseThreshold_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProposalReleaseThreshold()); + } + if (parliamentMemberProposingAllowed_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, parliamentMemberProposingAllowed_); + } + if (creationToken_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreationToken()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1073,8 +1441,8 @@ public boolean equals(final java.lang.Object obj) { } io.aelf.protobuf.generated.ParliamentAuthContract.Organization other = (io.aelf.protobuf.generated.ParliamentAuthContract.Organization) obj; - if (getReleaseThreshold() - != other.getReleaseThreshold()) return false; + if (getProposerAuthorityRequired() + != other.getProposerAuthorityRequired()) return false; if (hasOrganizationAddress() != other.hasOrganizationAddress()) return false; if (hasOrganizationAddress()) { if (!getOrganizationAddress() @@ -1085,6 +1453,18 @@ public boolean equals(final java.lang.Object obj) { if (!getOrganizationHash() .equals(other.getOrganizationHash())) return false; } + if (hasProposalReleaseThreshold() != other.hasProposalReleaseThreshold()) return false; + if (hasProposalReleaseThreshold()) { + if (!getProposalReleaseThreshold() + .equals(other.getProposalReleaseThreshold())) return false; + } + if (getParliamentMemberProposingAllowed() + != other.getParliamentMemberProposingAllowed()) return false; + if (hasCreationToken() != other.hasCreationToken()) return false; + if (hasCreationToken()) { + if (!getCreationToken() + .equals(other.getCreationToken())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1096,8 +1476,9 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RELEASE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + getReleaseThreshold(); + hash = (37 * hash) + PROPOSER_AUTHORITY_REQUIRED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getProposerAuthorityRequired()); if (hasOrganizationAddress()) { hash = (37 * hash) + ORGANIZATION_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getOrganizationAddress().hashCode(); @@ -1106,6 +1487,17 @@ public int hashCode() { hash = (37 * hash) + ORGANIZATION_HASH_FIELD_NUMBER; hash = (53 * hash) + getOrganizationHash().hashCode(); } + if (hasProposalReleaseThreshold()) { + hash = (37 * hash) + PROPOSAL_RELEASE_THRESHOLD_FIELD_NUMBER; + hash = (53 * hash) + getProposalReleaseThreshold().hashCode(); + } + hash = (37 * hash) + PARLIAMENT_MEMBER_PROPOSING_ALLOWED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getParliamentMemberProposingAllowed()); + if (hasCreationToken()) { + hash = (37 * hash) + CREATION_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getCreationToken().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1239,7 +1631,7 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - releaseThreshold_ = 0; + proposerAuthorityRequired_ = false; if (organizationAddressBuilder_ == null) { organizationAddress_ = null; @@ -1253,6 +1645,20 @@ public Builder clear() { organizationHash_ = null; organizationHashBuilder_ = null; } + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThreshold_ = null; + } else { + proposalReleaseThreshold_ = null; + proposalReleaseThresholdBuilder_ = null; + } + parliamentMemberProposingAllowed_ = false; + + if (creationTokenBuilder_ == null) { + creationToken_ = null; + } else { + creationToken_ = null; + creationTokenBuilder_ = null; + } return this; } @@ -1279,7 +1685,7 @@ public io.aelf.protobuf.generated.ParliamentAuthContract.Organization build() { @java.lang.Override public io.aelf.protobuf.generated.ParliamentAuthContract.Organization buildPartial() { io.aelf.protobuf.generated.ParliamentAuthContract.Organization result = new io.aelf.protobuf.generated.ParliamentAuthContract.Organization(this); - result.releaseThreshold_ = releaseThreshold_; + result.proposerAuthorityRequired_ = proposerAuthorityRequired_; if (organizationAddressBuilder_ == null) { result.organizationAddress_ = organizationAddress_; } else { @@ -1290,6 +1696,17 @@ public io.aelf.protobuf.generated.ParliamentAuthContract.Organization buildParti } else { result.organizationHash_ = organizationHashBuilder_.build(); } + if (proposalReleaseThresholdBuilder_ == null) { + result.proposalReleaseThreshold_ = proposalReleaseThreshold_; + } else { + result.proposalReleaseThreshold_ = proposalReleaseThresholdBuilder_.build(); + } + result.parliamentMemberProposingAllowed_ = parliamentMemberProposingAllowed_; + if (creationTokenBuilder_ == null) { + result.creationToken_ = creationToken_; + } else { + result.creationToken_ = creationTokenBuilder_.build(); + } onBuilt(); return result; } @@ -1338,8 +1755,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(io.aelf.protobuf.generated.ParliamentAuthContract.Organization other) { if (other == io.aelf.protobuf.generated.ParliamentAuthContract.Organization.getDefaultInstance()) return this; - if (other.getReleaseThreshold() != 0) { - setReleaseThreshold(other.getReleaseThreshold()); + if (other.getProposerAuthorityRequired() != false) { + setProposerAuthorityRequired(other.getProposerAuthorityRequired()); } if (other.hasOrganizationAddress()) { mergeOrganizationAddress(other.getOrganizationAddress()); @@ -1347,6 +1764,15 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ParliamentAuthContract.Organ if (other.hasOrganizationHash()) { mergeOrganizationHash(other.getOrganizationHash()); } + if (other.hasProposalReleaseThreshold()) { + mergeProposalReleaseThreshold(other.getProposalReleaseThreshold()); + } + if (other.getParliamentMemberProposingAllowed() != false) { + setParliamentMemberProposingAllowed(other.getParliamentMemberProposingAllowed()); + } + if (other.hasCreationToken()) { + mergeCreationToken(other.getCreationToken()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1376,32 +1802,44 @@ public Builder mergeFrom( return this; } - private int releaseThreshold_ ; + private boolean proposerAuthorityRequired_ ; /** - * sint32 release_threshold = 1; - * @return The releaseThreshold. + *
+       * Indicates if proposals need authority to be created.
+       * 
+ * + * bool proposer_authority_required = 1; + * @return The proposerAuthorityRequired. */ - public int getReleaseThreshold() { - return releaseThreshold_; + public boolean getProposerAuthorityRequired() { + return proposerAuthorityRequired_; } /** - * sint32 release_threshold = 1; - * @param value The releaseThreshold to set. + *
+       * Indicates if proposals need authority to be created.
+       * 
+ * + * bool proposer_authority_required = 1; + * @param value The proposerAuthorityRequired to set. * @return This builder for chaining. */ - public Builder setReleaseThreshold(int value) { + public Builder setProposerAuthorityRequired(boolean value) { - releaseThreshold_ = value; + proposerAuthorityRequired_ = value; onChanged(); return this; } /** - * sint32 release_threshold = 1; + *
+       * Indicates if proposals need authority to be created.
+       * 
+ * + * bool proposer_authority_required = 1; * @return This builder for chaining. */ - public Builder clearReleaseThreshold() { + public Builder clearProposerAuthorityRequired() { - releaseThreshold_ = 0; + proposerAuthorityRequired_ = false; onChanged(); return this; } @@ -1410,6 +1848,10 @@ public Builder clearReleaseThreshold() { private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> organizationAddressBuilder_; /** + *
+       * The organization address.
+       * 
+ * * .Address organization_address = 2; * @return Whether the organizationAddress field is set. */ @@ -1417,6 +1859,10 @@ public boolean hasOrganizationAddress() { return organizationAddressBuilder_ != null || organizationAddress_ != null; } /** + *
+       * The organization address.
+       * 
+ * * .Address organization_address = 2; * @return The organizationAddress. */ @@ -1428,6 +1874,10 @@ public io.aelf.protobuf.generated.Client.Address getOrganizationAddress() { } } /** + *
+       * The organization address.
+       * 
+ * * .Address organization_address = 2; */ public Builder setOrganizationAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -1444,6 +1894,10 @@ public Builder setOrganizationAddress(io.aelf.protobuf.generated.Client.Address return this; } /** + *
+       * The organization address.
+       * 
+ * * .Address organization_address = 2; */ public Builder setOrganizationAddress( @@ -1458,6 +1912,10 @@ public Builder setOrganizationAddress( return this; } /** + *
+       * The organization address.
+       * 
+ * * .Address organization_address = 2; */ public Builder mergeOrganizationAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -1476,6 +1934,10 @@ public Builder mergeOrganizationAddress(io.aelf.protobuf.generated.Client.Addres return this; } /** + *
+       * The organization address.
+       * 
+ * * .Address organization_address = 2; */ public Builder clearOrganizationAddress() { @@ -1490,6 +1952,10 @@ public Builder clearOrganizationAddress() { return this; } /** + *
+       * The organization address.
+       * 
+ * * .Address organization_address = 2; */ public io.aelf.protobuf.generated.Client.Address.Builder getOrganizationAddressBuilder() { @@ -1498,6 +1964,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getOrganizationAddressB return getOrganizationAddressFieldBuilder().getBuilder(); } /** + *
+       * The organization address.
+       * 
+ * * .Address organization_address = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder() { @@ -1509,6 +1979,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress } } /** + *
+       * The organization address.
+       * 
+ * * .Address organization_address = 2; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -1529,6 +2003,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> organizationHashBuilder_; /** + *
+       * The organization id.
+       * 
+ * * .Hash organization_hash = 3; * @return Whether the organizationHash field is set. */ @@ -1536,6 +2014,10 @@ public boolean hasOrganizationHash() { return organizationHashBuilder_ != null || organizationHash_ != null; } /** + *
+       * The organization id.
+       * 
+ * * .Hash organization_hash = 3; * @return The organizationHash. */ @@ -1547,6 +2029,10 @@ public io.aelf.protobuf.generated.Client.Hash getOrganizationHash() { } } /** + *
+       * The organization id.
+       * 
+ * * .Hash organization_hash = 3; */ public Builder setOrganizationHash(io.aelf.protobuf.generated.Client.Hash value) { @@ -1563,6 +2049,10 @@ public Builder setOrganizationHash(io.aelf.protobuf.generated.Client.Hash value) return this; } /** + *
+       * The organization id.
+       * 
+ * * .Hash organization_hash = 3; */ public Builder setOrganizationHash( @@ -1577,6 +2067,10 @@ public Builder setOrganizationHash( return this; } /** + *
+       * The organization id.
+       * 
+ * * .Hash organization_hash = 3; */ public Builder mergeOrganizationHash(io.aelf.protobuf.generated.Client.Hash value) { @@ -1595,6 +2089,10 @@ public Builder mergeOrganizationHash(io.aelf.protobuf.generated.Client.Hash valu return this; } /** + *
+       * The organization id.
+       * 
+ * * .Hash organization_hash = 3; */ public Builder clearOrganizationHash() { @@ -1609,6 +2107,10 @@ public Builder clearOrganizationHash() { return this; } /** + *
+       * The organization id.
+       * 
+ * * .Hash organization_hash = 3; */ public io.aelf.protobuf.generated.Client.Hash.Builder getOrganizationHashBuilder() { @@ -1617,6 +2119,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getOrganizationHashBuilder return getOrganizationHashFieldBuilder().getBuilder(); } /** + *
+       * The organization id.
+       * 
+ * * .Hash organization_hash = 3; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuilder() { @@ -1628,6 +2134,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuil } } /** + *
+       * The organization id.
+       * 
+ * * .Hash organization_hash = 3; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -1643,6 +2153,358 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuil } return organizationHashBuilder_; } + + private io.aelf.protobuf.generated.Client.ProposalReleaseThreshold proposalReleaseThreshold_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder, io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder> proposalReleaseThresholdBuilder_; + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + * @return Whether the proposalReleaseThreshold field is set. + */ + public boolean hasProposalReleaseThreshold() { + return proposalReleaseThresholdBuilder_ != null || proposalReleaseThreshold_ != null; + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + * @return The proposalReleaseThreshold. + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getProposalReleaseThreshold() { + if (proposalReleaseThresholdBuilder_ == null) { + return proposalReleaseThreshold_ == null ? io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance() : proposalReleaseThreshold_; + } else { + return proposalReleaseThresholdBuilder_.getMessage(); + } + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + */ + public Builder setProposalReleaseThreshold(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold value) { + if (proposalReleaseThresholdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + proposalReleaseThreshold_ = value; + onChanged(); + } else { + proposalReleaseThresholdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + */ + public Builder setProposalReleaseThreshold( + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder builderForValue) { + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThreshold_ = builderForValue.build(); + onChanged(); + } else { + proposalReleaseThresholdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + */ + public Builder mergeProposalReleaseThreshold(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold value) { + if (proposalReleaseThresholdBuilder_ == null) { + if (proposalReleaseThreshold_ != null) { + proposalReleaseThreshold_ = + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.newBuilder(proposalReleaseThreshold_).mergeFrom(value).buildPartial(); + } else { + proposalReleaseThreshold_ = value; + } + onChanged(); + } else { + proposalReleaseThresholdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + */ + public Builder clearProposalReleaseThreshold() { + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThreshold_ = null; + onChanged(); + } else { + proposalReleaseThreshold_ = null; + proposalReleaseThresholdBuilder_ = null; + } + + return this; + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder getProposalReleaseThresholdBuilder() { + + onChanged(); + return getProposalReleaseThresholdFieldBuilder().getBuilder(); + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder getProposalReleaseThresholdOrBuilder() { + if (proposalReleaseThresholdBuilder_ != null) { + return proposalReleaseThresholdBuilder_.getMessageOrBuilder(); + } else { + return proposalReleaseThreshold_ == null ? + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance() : proposalReleaseThreshold_; + } + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder, io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder> + getProposalReleaseThresholdFieldBuilder() { + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder, io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder>( + getProposalReleaseThreshold(), + getParentForChildren(), + isClean()); + proposalReleaseThreshold_ = null; + } + return proposalReleaseThresholdBuilder_; + } + + private boolean parliamentMemberProposingAllowed_ ; + /** + *
+       * Indicates if parliament member can propose to this organization.
+       * 
+ * + * bool parliament_member_proposing_allowed = 5; + * @return The parliamentMemberProposingAllowed. + */ + public boolean getParliamentMemberProposingAllowed() { + return parliamentMemberProposingAllowed_; + } + /** + *
+       * Indicates if parliament member can propose to this organization.
+       * 
+ * + * bool parliament_member_proposing_allowed = 5; + * @param value The parliamentMemberProposingAllowed to set. + * @return This builder for chaining. + */ + public Builder setParliamentMemberProposingAllowed(boolean value) { + + parliamentMemberProposingAllowed_ = value; + onChanged(); + return this; + } + /** + *
+       * Indicates if parliament member can propose to this organization.
+       * 
+ * + * bool parliament_member_proposing_allowed = 5; + * @return This builder for chaining. + */ + public Builder clearParliamentMemberProposingAllowed() { + + parliamentMemberProposingAllowed_ = false; + onChanged(); + return this; + } + + private io.aelf.protobuf.generated.Client.Hash creationToken_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> creationTokenBuilder_; + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + * @return Whether the creationToken field is set. + */ + public boolean hasCreationToken() { + return creationTokenBuilder_ != null || creationToken_ != null; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + * @return The creationToken. + */ + public io.aelf.protobuf.generated.Client.Hash getCreationToken() { + if (creationTokenBuilder_ == null) { + return creationToken_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : creationToken_; + } else { + return creationTokenBuilder_.getMessage(); + } + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder setCreationToken(io.aelf.protobuf.generated.Client.Hash value) { + if (creationTokenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + creationToken_ = value; + onChanged(); + } else { + creationTokenBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder setCreationToken( + io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { + if (creationTokenBuilder_ == null) { + creationToken_ = builderForValue.build(); + onChanged(); + } else { + creationTokenBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder mergeCreationToken(io.aelf.protobuf.generated.Client.Hash value) { + if (creationTokenBuilder_ == null) { + if (creationToken_ != null) { + creationToken_ = + io.aelf.protobuf.generated.Client.Hash.newBuilder(creationToken_).mergeFrom(value).buildPartial(); + } else { + creationToken_ = value; + } + onChanged(); + } else { + creationTokenBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder clearCreationToken() { + if (creationTokenBuilder_ == null) { + creationToken_ = null; + onChanged(); + } else { + creationToken_ = null; + creationTokenBuilder_ = null; + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public io.aelf.protobuf.generated.Client.Hash.Builder getCreationTokenBuilder() { + + onChanged(); + return getCreationTokenFieldBuilder().getBuilder(); + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getCreationTokenOrBuilder() { + if (creationTokenBuilder_ != null) { + return creationTokenBuilder_.getMessageOrBuilder(); + } else { + return creationToken_ == null ? + io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : creationToken_; + } + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> + getCreationTokenFieldBuilder() { + if (creationTokenBuilder_ == null) { + creationTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( + getCreationToken(), + getParentForChildren(), + isClean()); + creationToken_ = null; + } + return creationTokenBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1717,11 +2579,14 @@ public io.aelf.protobuf.generated.ParliamentAuthContract.Organization getDefault java.lang.String[] descriptorData = { "\n\036parliament_auth_contract.proto\032\014client" + ".proto\"-\n\016ProposalIdList\022\033\n\014proposal_ids" + - "\030\001 \003(\0132\005.Hash\"s\n\014Organization\022\031\n\021release" + - "_threshold\030\001 \001(\021\022&\n\024organization_address" + - "\030\002 \001(\0132\010.Address\022 \n\021organization_hash\030\003 " + - "\001(\0132\005.HashB\034\n\032io.aelf.protobuf.generated" + - "b\006proto3" + "\030\001 \003(\0132\005.Hash\"\210\002\n\014Organization\022#\n\033propos" + + "er_authority_required\030\001 \001(\010\022&\n\024organizat" + + "ion_address\030\002 \001(\0132\010.Address\022 \n\021organizat" + + "ion_hash\030\003 \001(\0132\005.Hash\022=\n\032proposal_releas" + + "e_threshold\030\004 \001(\0132\031.ProposalReleaseThres" + + "hold\022+\n#parliament_member_proposing_allo" + + "wed\030\005 \001(\010\022\035\n\016creation_token\030\006 \001(\0132\005.Hash" + + "B\034\n\032io.aelf.protobuf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -1739,7 +2604,7 @@ public io.aelf.protobuf.generated.ParliamentAuthContract.Organization getDefault internal_static_Organization_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Organization_descriptor, - new java.lang.String[] { "ReleaseThreshold", "OrganizationAddress", "OrganizationHash", }); + new java.lang.String[] { "ProposerAuthorityRequired", "OrganizationAddress", "OrganizationHash", "ProposalReleaseThreshold", "ParliamentMemberProposingAllowed", "CreationToken", }); io.aelf.protobuf.generated.Client.getDescriptor(); } diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/ProfitContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/ProfitContract.java index 15bfe6b..5c36735 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/ProfitContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/ProfitContract.java @@ -19,24 +19,44 @@ public interface CreatedSchemeIdsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ java.util.List getSchemeIdsList(); /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ io.aelf.protobuf.generated.Client.Hash getSchemeIds(int index); /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ int getSchemeIdsCount(); /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ java.util.List getSchemeIdsOrBuilderList(); /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdsOrBuilder( @@ -140,12 +160,20 @@ private CreatedSchemeIds( public static final int SCHEME_IDS_FIELD_NUMBER = 1; private java.util.List schemeIds_; /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ public java.util.List getSchemeIdsList() { return schemeIds_; } /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ public java.util.List @@ -153,18 +181,30 @@ public java.util.List getSchemeIdsList() return schemeIds_; } /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ public int getSchemeIdsCount() { return schemeIds_.size(); } /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash getSchemeIds(int index) { return schemeIds_.get(index); } /** + *
+     * The scheme ids.
+     * 
+ * * repeated .Hash scheme_ids = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdsOrBuilder( @@ -531,6 +571,10 @@ private void ensureSchemeIdsIsMutable() { io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> schemeIdsBuilder_; /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public java.util.List getSchemeIdsList() { @@ -541,6 +585,10 @@ public java.util.List getSchemeIdsList() } } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public int getSchemeIdsCount() { @@ -551,6 +599,10 @@ public int getSchemeIdsCount() { } } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash getSchemeIds(int index) { @@ -561,6 +613,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeIds(int index) { } } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public Builder setSchemeIds( @@ -578,6 +634,10 @@ public Builder setSchemeIds( return this; } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public Builder setSchemeIds( @@ -592,6 +652,10 @@ public Builder setSchemeIds( return this; } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public Builder addSchemeIds(io.aelf.protobuf.generated.Client.Hash value) { @@ -608,6 +672,10 @@ public Builder addSchemeIds(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public Builder addSchemeIds( @@ -625,6 +693,10 @@ public Builder addSchemeIds( return this; } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public Builder addSchemeIds( @@ -639,6 +711,10 @@ public Builder addSchemeIds( return this; } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public Builder addSchemeIds( @@ -653,6 +729,10 @@ public Builder addSchemeIds( return this; } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public Builder addAllSchemeIds( @@ -668,6 +748,10 @@ public Builder addAllSchemeIds( return this; } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public Builder clearSchemeIds() { @@ -681,6 +765,10 @@ public Builder clearSchemeIds() { return this; } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public Builder removeSchemeIds(int index) { @@ -694,6 +782,10 @@ public Builder removeSchemeIds(int index) { return this; } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdsBuilder( @@ -701,6 +793,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdsBuilder( return getSchemeIdsFieldBuilder().getBuilder(index); } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdsOrBuilder( @@ -711,6 +807,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdsOrBuilder( } } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public java.util.List @@ -722,6 +822,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdsOrBuilder( } } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addSchemeIdsBuilder() { @@ -729,6 +833,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addSchemeIdsBuilder() { io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addSchemeIdsBuilder( @@ -737,6 +845,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addSchemeIdsBuilder( index, io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The scheme ids.
+       * 
+ * * repeated .Hash scheme_ids = 1; */ public java.util.List @@ -815,16 +927,28 @@ public interface GetManagingSchemeIdsInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The manager address.
+     * 
+ * * .Address manager = 1; * @return Whether the manager field is set. */ boolean hasManager(); /** + *
+     * The manager address.
+     * 
+ * * .Address manager = 1; * @return The manager. */ io.aelf.protobuf.generated.Client.Address getManager(); /** + *
+     * The manager address.
+     * 
+ * * .Address manager = 1; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder(); @@ -922,6 +1046,10 @@ private GetManagingSchemeIdsInput( public static final int MANAGER_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Address manager_; /** + *
+     * The manager address.
+     * 
+ * * .Address manager = 1; * @return Whether the manager field is set. */ @@ -929,6 +1057,10 @@ public boolean hasManager() { return manager_ != null; } /** + *
+     * The manager address.
+     * 
+ * * .Address manager = 1; * @return The manager. */ @@ -936,6 +1068,10 @@ public io.aelf.protobuf.generated.Client.Address getManager() { return manager_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : manager_; } /** + *
+     * The manager address.
+     * 
+ * * .Address manager = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder() { @@ -1261,6 +1397,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> managerBuilder_; /** + *
+       * The manager address.
+       * 
+ * * .Address manager = 1; * @return Whether the manager field is set. */ @@ -1268,6 +1408,10 @@ public boolean hasManager() { return managerBuilder_ != null || manager_ != null; } /** + *
+       * The manager address.
+       * 
+ * * .Address manager = 1; * @return The manager. */ @@ -1279,6 +1423,10 @@ public io.aelf.protobuf.generated.Client.Address getManager() { } } /** + *
+       * The manager address.
+       * 
+ * * .Address manager = 1; */ public Builder setManager(io.aelf.protobuf.generated.Client.Address value) { @@ -1295,6 +1443,10 @@ public Builder setManager(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The manager address.
+       * 
+ * * .Address manager = 1; */ public Builder setManager( @@ -1309,6 +1461,10 @@ public Builder setManager( return this; } /** + *
+       * The manager address.
+       * 
+ * * .Address manager = 1; */ public Builder mergeManager(io.aelf.protobuf.generated.Client.Address value) { @@ -1327,6 +1483,10 @@ public Builder mergeManager(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The manager address.
+       * 
+ * * .Address manager = 1; */ public Builder clearManager() { @@ -1341,6 +1501,10 @@ public Builder clearManager() { return this; } /** + *
+       * The manager address.
+       * 
+ * * .Address manager = 1; */ public io.aelf.protobuf.generated.Client.Address.Builder getManagerBuilder() { @@ -1349,6 +1513,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getManagerBuilder() { return getManagerFieldBuilder().getBuilder(); } /** + *
+       * The manager address.
+       * 
+ * * .Address manager = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder() { @@ -1360,6 +1528,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder() } } /** + *
+       * The manager address.
+       * 
+ * * .Address manager = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -1433,22 +1605,38 @@ public interface SchemeBeneficiaryShareOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The id of the sub scheme.
+     * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ boolean hasSchemeId(); /** + *
+     * The id of the sub scheme.
+     * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ io.aelf.protobuf.generated.Client.Hash getSchemeId(); /** + *
+     * The id of the sub scheme.
+     * 
+ * * .Hash scheme_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder(); /** - * sint64 shares = 2; + *
+     * The weight of the sub scheme. 
+     * 
+ * + * int64 shares = 2; * @return The shares. */ long getShares(); @@ -1513,7 +1701,7 @@ private SchemeBeneficiaryShare( } case 16: { - shares_ = input.readSInt64(); + shares_ = input.readInt64(); break; } default: { @@ -1551,6 +1739,10 @@ private SchemeBeneficiaryShare( public static final int SCHEME_ID_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Hash schemeId_; /** + *
+     * The id of the sub scheme.
+     * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ @@ -1558,6 +1750,10 @@ public boolean hasSchemeId() { return schemeId_ != null; } /** + *
+     * The id of the sub scheme.
+     * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ @@ -1565,6 +1761,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { return schemeId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : schemeId_; } /** + *
+     * The id of the sub scheme.
+     * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { @@ -1574,7 +1774,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { public static final int SHARES_FIELD_NUMBER = 2; private long shares_; /** - * sint64 shares = 2; + *
+     * The weight of the sub scheme. 
+     * 
+ * + * int64 shares = 2; * @return The shares. */ public long getShares() { @@ -1599,7 +1803,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(1, getSchemeId()); } if (shares_ != 0L) { - output.writeSInt64(2, shares_); + output.writeInt64(2, shares_); } unknownFields.writeTo(output); } @@ -1616,7 +1820,7 @@ public int getSerializedSize() { } if (shares_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, shares_); + .computeInt64Size(2, shares_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1918,6 +2122,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> schemeIdBuilder_; /** + *
+       * The id of the sub scheme.
+       * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ @@ -1925,6 +2133,10 @@ public boolean hasSchemeId() { return schemeIdBuilder_ != null || schemeId_ != null; } /** + *
+       * The id of the sub scheme.
+       * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ @@ -1936,6 +2148,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { } } /** + *
+       * The id of the sub scheme.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -1952,6 +2168,10 @@ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The id of the sub scheme.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder setSchemeId( @@ -1966,6 +2186,10 @@ public Builder setSchemeId( return this; } /** + *
+       * The id of the sub scheme.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -1984,6 +2208,10 @@ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The id of the sub scheme.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder clearSchemeId() { @@ -1998,6 +2226,10 @@ public Builder clearSchemeId() { return this; } /** + *
+       * The id of the sub scheme.
+       * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { @@ -2006,6 +2238,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { return getSchemeIdFieldBuilder().getBuilder(); } /** + *
+       * The id of the sub scheme.
+       * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { @@ -2017,6 +2253,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { } } /** + *
+       * The id of the sub scheme.
+       * 
+ * * .Hash scheme_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -2035,14 +2275,22 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { private long shares_ ; /** - * sint64 shares = 2; + *
+       * The weight of the sub scheme. 
+       * 
+ * + * int64 shares = 2; * @return The shares. */ public long getShares() { return shares_; } /** - * sint64 shares = 2; + *
+       * The weight of the sub scheme. 
+       * 
+ * + * int64 shares = 2; * @param value The shares to set. * @return This builder for chaining. */ @@ -2053,7 +2301,11 @@ public Builder setShares(long value) { return this; } /** - * sint64 shares = 2; + *
+       * The weight of the sub scheme. 
+       * 
+ * + * int64 shares = 2; * @return This builder for chaining. */ public Builder clearShares() { @@ -2120,157 +2372,204 @@ public interface SchemeOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The virtual address of the scheme.
+     * 
+ * * .Address virtual_address = 1; * @return Whether the virtualAddress field is set. */ boolean hasVirtualAddress(); /** + *
+     * The virtual address of the scheme.
+     * 
+ * * .Address virtual_address = 1; * @return The virtualAddress. */ io.aelf.protobuf.generated.Client.Address getVirtualAddress(); /** + *
+     * The virtual address of the scheme.
+     * 
+ * * .Address virtual_address = 1; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getVirtualAddressOrBuilder(); - /** - * sint64 total_shares = 2; - * @return The totalShares. - */ - long getTotalShares(); - /** *
-     * token symbol -> amount
+     * The total weight of the scheme.
      * 
* - * map<string, sint64> undistributed_profits = 3; + * int64 total_shares = 2; + * @return The totalShares. */ - int getUndistributedProfitsCount(); + long getTotalShares(); + /** *
-     * token symbol -> amount
+     * The manager of the scheme.
      * 
* - * map<string, sint64> undistributed_profits = 3; - */ - boolean containsUndistributedProfits( - java.lang.String key); - /** - * Use {@link #getUndistributedProfitsMap()} instead. + * .Address manager = 3; + * @return Whether the manager field is set. */ - @java.lang.Deprecated - java.util.Map - getUndistributedProfits(); + boolean hasManager(); /** *
-     * token symbol -> amount
+     * The manager of the scheme.
      * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; + * @return The manager. */ - java.util.Map - getUndistributedProfitsMap(); + io.aelf.protobuf.generated.Client.Address getManager(); /** *
-     * token symbol -> amount
+     * The manager of the scheme.
      * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; */ + io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder(); - long getUndistributedProfitsOrDefault( - java.lang.String key, - long defaultValue); /** *
-     * token symbol -> amount
+     * The current period.
      * 
* - * map<string, sint64> undistributed_profits = 3; - */ - - long getUndistributedProfitsOrThrow( - java.lang.String key); - - /** - * sint64 current_period = 4; + * int64 current_period = 4; * @return The currentPeriod. */ long getCurrentPeriod(); /** + *
+     * Sub schemes information.
+     * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ java.util.List getSubSchemesList(); /** + *
+     * Sub schemes information.
+     * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare getSubSchemes(int index); /** + *
+     * Sub schemes information.
+     * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ int getSubSchemesCount(); /** + *
+     * Sub schemes information.
+     * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ java.util.List getSubSchemesOrBuilderList(); /** + *
+     * Sub schemes information.
+     * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShareOrBuilder getSubSchemesOrBuilder( int index); /** - * sint64 profit_receiving_due_period_count = 7; + *
+     * Whether you can directly remove the beneficiary.
+     * 
+ * + * bool can_remove_beneficiary_directly = 6; + * @return The canRemoveBeneficiaryDirectly. + */ + boolean getCanRemoveBeneficiaryDirectly(); + + /** + *
+     * Period of profit distribution.
+     * 
+ * + * int64 profit_receiving_due_period_count = 7; * @return The profitReceivingDuePeriodCount. */ long getProfitReceivingDuePeriodCount(); /** + *
+     * Whether all the schemes balance will be distributed during distribution each period.
+     * 
+ * * bool is_release_all_balance_every_time_by_default = 8; * @return The isReleaseAllBalanceEveryTimeByDefault. */ boolean getIsReleaseAllBalanceEveryTimeByDefault(); /** + *
+     * The is of the scheme.
+     * 
+ * * .Hash scheme_id = 9; * @return Whether the schemeId field is set. */ boolean hasSchemeId(); /** - * .Hash scheme_id = 9; - * @return The schemeId. + *
+     * The is of the scheme.
+     * 
+ * + * .Hash scheme_id = 9; + * @return The schemeId. */ io.aelf.protobuf.generated.Client.Hash getSchemeId(); /** + *
+     * The is of the scheme.
+     * 
+ * * .Hash scheme_id = 9; */ io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder(); /** - * sint32 delay_distribute_period_count = 10; + *
+     * Delay distribute period.
+     * 
+ * + * int32 delay_distribute_period_count = 10; * @return The delayDistributePeriodCount. */ int getDelayDistributePeriodCount(); /** *
-     * period -> total shares, max elements count should be delay_distribute_period_count
+     * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
      * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ int getCachedDelayTotalSharesCount(); /** *
-     * period -> total shares, max elements count should be delay_distribute_period_count
+     * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
      * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ boolean containsCachedDelayTotalShares( long key); @@ -2282,19 +2581,19 @@ boolean containsCachedDelayTotalShares( getCachedDelayTotalShares(); /** *
-     * period -> total shares, max elements count should be delay_distribute_period_count
+     * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
      * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ java.util.Map getCachedDelayTotalSharesMap(); /** *
-     * period -> total shares, max elements count should be delay_distribute_period_count
+     * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
      * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ long getCachedDelayTotalSharesOrDefault( @@ -2302,29 +2601,55 @@ long getCachedDelayTotalSharesOrDefault( long defaultValue); /** *
-     * period -> total shares, max elements count should be delay_distribute_period_count
+     * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
      * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ long getCachedDelayTotalSharesOrThrow( long key); /** - * .Address manager = 12; - * @return Whether the manager field is set. + *
+     * The received token symbols.
+     * 
+ * + * repeated string received_token_symbols = 12; + * @return A list containing the receivedTokenSymbols. */ - boolean hasManager(); + java.util.List + getReceivedTokenSymbolsList(); /** - * .Address manager = 12; - * @return The manager. + *
+     * The received token symbols.
+     * 
+ * + * repeated string received_token_symbols = 12; + * @return The count of receivedTokenSymbols. */ - io.aelf.protobuf.generated.Client.Address getManager(); + int getReceivedTokenSymbolsCount(); + /** + *
+     * The received token symbols.
+     * 
+ * + * repeated string received_token_symbols = 12; + * @param index The index of the element to return. + * @return The receivedTokenSymbols at the given index. + */ + java.lang.String getReceivedTokenSymbols(int index); /** - * .Address manager = 12; + *
+     * The received token symbols.
+     * 
+ * + * repeated string received_token_symbols = 12; + * @param index The index of the value to return. + * @return The bytes of the receivedTokenSymbols at the given index. */ - io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder(); + com.google.protobuf.ByteString + getReceivedTokenSymbolsBytes(int index); } /** * Protobuf type {@code Scheme} @@ -2340,6 +2665,7 @@ private Scheme(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private Scheme() { subSchemes_ = java.util.Collections.emptyList(); + receivedTokenSymbols_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @@ -2388,39 +2714,44 @@ private Scheme( } case 16: { - totalShares_ = input.readSInt64(); + totalShares_ = input.readInt64(); break; } case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - undistributedProfits_ = com.google.protobuf.MapField.newMapField( - UndistributedProfitsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; + if (manager_ != null) { + subBuilder = manager_.toBuilder(); } - com.google.protobuf.MapEntry - undistributedProfits__ = input.readMessage( - UndistributedProfitsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - undistributedProfits_.getMutableMap().put( - undistributedProfits__.getKey(), undistributedProfits__.getValue()); + manager_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(manager_); + manager_ = subBuilder.buildPartial(); + } + break; } case 32: { - currentPeriod_ = input.readSInt64(); + currentPeriod_ = input.readInt64(); break; } case 42: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { subSchemes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } subSchemes_.add( input.readMessage(io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.parser(), extensionRegistry)); break; } + case 48: { + + canRemoveBeneficiaryDirectly_ = input.readBool(); + break; + } case 56: { - profitReceivingDuePeriodCount_ = input.readSInt64(); + profitReceivingDuePeriodCount_ = input.readInt64(); break; } case 64: { @@ -2443,14 +2774,14 @@ private Scheme( } case 80: { - delayDistributePeriodCount_ = input.readSInt32(); + delayDistributePeriodCount_ = input.readInt32(); break; } case 90: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { cachedDelayTotalShares_ = com.google.protobuf.MapField.newMapField( CachedDelayTotalSharesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry cachedDelayTotalShares__ = input.readMessage( @@ -2460,16 +2791,12 @@ private Scheme( break; } case 98: { - io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; - if (manager_ != null) { - subBuilder = manager_.toBuilder(); - } - manager_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(manager_); - manager_ = subBuilder.buildPartial(); + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + receivedTokenSymbols_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; } - + receivedTokenSymbols_.add(s); break; } default: { @@ -2487,9 +2814,12 @@ private Scheme( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { subSchemes_ = java.util.Collections.unmodifiableList(subSchemes_); } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + receivedTokenSymbols_ = receivedTokenSymbols_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -2504,8 +2834,6 @@ private Scheme( protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { - case 3: - return internalGetUndistributedProfits(); case 11: return internalGetCachedDelayTotalShares(); default: @@ -2524,6 +2852,10 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int VIRTUAL_ADDRESS_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Address virtualAddress_; /** + *
+     * The virtual address of the scheme.
+     * 
+ * * .Address virtual_address = 1; * @return Whether the virtualAddress field is set. */ @@ -2531,6 +2863,10 @@ public boolean hasVirtualAddress() { return virtualAddress_ != null; } /** + *
+     * The virtual address of the scheme.
+     * 
+ * * .Address virtual_address = 1; * @return The virtualAddress. */ @@ -2538,6 +2874,10 @@ public io.aelf.protobuf.generated.Client.Address getVirtualAddress() { return virtualAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : virtualAddress_; } /** + *
+     * The virtual address of the scheme.
+     * 
+ * * .Address virtual_address = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVirtualAddressOrBuilder() { @@ -2547,109 +2887,60 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVirtualAddressOrBui public static final int TOTAL_SHARES_FIELD_NUMBER = 2; private long totalShares_; /** - * sint64 total_shares = 2; + *
+     * The total weight of the scheme.
+     * 
+ * + * int64 total_shares = 2; * @return The totalShares. */ public long getTotalShares() { return totalShares_; } - public static final int UNDISTRIBUTED_PROFITS_FIELD_NUMBER = 3; - private static final class UndistributedProfitsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - io.aelf.protobuf.generated.ProfitContract.internal_static_Scheme_UndistributedProfitsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.SINT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> undistributedProfits_; - private com.google.protobuf.MapField - internalGetUndistributedProfits() { - if (undistributedProfits_ == null) { - return com.google.protobuf.MapField.emptyMapField( - UndistributedProfitsDefaultEntryHolder.defaultEntry); - } - return undistributedProfits_; - } - - public int getUndistributedProfitsCount() { - return internalGetUndistributedProfits().getMap().size(); - } - /** - *
-     * token symbol -> amount
-     * 
- * - * map<string, sint64> undistributed_profits = 3; - */ - - public boolean containsUndistributedProfits( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetUndistributedProfits().getMap().containsKey(key); - } - /** - * Use {@link #getUndistributedProfitsMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getUndistributedProfits() { - return getUndistributedProfitsMap(); - } + public static final int MANAGER_FIELD_NUMBER = 3; + private io.aelf.protobuf.generated.Client.Address manager_; /** *
-     * token symbol -> amount
+     * The manager of the scheme.
      * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; + * @return Whether the manager field is set. */ - - public java.util.Map getUndistributedProfitsMap() { - return internalGetUndistributedProfits().getMap(); + public boolean hasManager() { + return manager_ != null; } /** *
-     * token symbol -> amount
+     * The manager of the scheme.
      * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; + * @return The manager. */ - - public long getUndistributedProfitsOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetUndistributedProfits().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + public io.aelf.protobuf.generated.Client.Address getManager() { + return manager_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : manager_; } /** *
-     * token symbol -> amount
+     * The manager of the scheme.
      * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; */ - - public long getUndistributedProfitsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetUndistributedProfits().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); + public io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder() { + return getManager(); } public static final int CURRENT_PERIOD_FIELD_NUMBER = 4; private long currentPeriod_; /** - * sint64 current_period = 4; + *
+     * The current period.
+     * 
+ * + * int64 current_period = 4; * @return The currentPeriod. */ public long getCurrentPeriod() { @@ -2659,12 +2950,20 @@ public long getCurrentPeriod() { public static final int SUB_SCHEMES_FIELD_NUMBER = 5; private java.util.List subSchemes_; /** + *
+     * Sub schemes information.
+     * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public java.util.List getSubSchemesList() { return subSchemes_; } /** + *
+     * Sub schemes information.
+     * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public java.util.List @@ -2672,18 +2971,30 @@ public java.util.List + * Sub schemes information. + * + * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public int getSubSchemesCount() { return subSchemes_.size(); } /** + *
+     * Sub schemes information.
+     * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare getSubSchemes(int index) { return subSchemes_.get(index); } /** + *
+     * Sub schemes information.
+     * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShareOrBuilder getSubSchemesOrBuilder( @@ -2691,10 +3002,28 @@ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShareOrBuilder return subSchemes_.get(index); } + public static final int CAN_REMOVE_BENEFICIARY_DIRECTLY_FIELD_NUMBER = 6; + private boolean canRemoveBeneficiaryDirectly_; + /** + *
+     * Whether you can directly remove the beneficiary.
+     * 
+ * + * bool can_remove_beneficiary_directly = 6; + * @return The canRemoveBeneficiaryDirectly. + */ + public boolean getCanRemoveBeneficiaryDirectly() { + return canRemoveBeneficiaryDirectly_; + } + public static final int PROFIT_RECEIVING_DUE_PERIOD_COUNT_FIELD_NUMBER = 7; private long profitReceivingDuePeriodCount_; /** - * sint64 profit_receiving_due_period_count = 7; + *
+     * Period of profit distribution.
+     * 
+ * + * int64 profit_receiving_due_period_count = 7; * @return The profitReceivingDuePeriodCount. */ public long getProfitReceivingDuePeriodCount() { @@ -2704,6 +3033,10 @@ public long getProfitReceivingDuePeriodCount() { public static final int IS_RELEASE_ALL_BALANCE_EVERY_TIME_BY_DEFAULT_FIELD_NUMBER = 8; private boolean isReleaseAllBalanceEveryTimeByDefault_; /** + *
+     * Whether all the schemes balance will be distributed during distribution each period.
+     * 
+ * * bool is_release_all_balance_every_time_by_default = 8; * @return The isReleaseAllBalanceEveryTimeByDefault. */ @@ -2714,6 +3047,10 @@ public boolean getIsReleaseAllBalanceEveryTimeByDefault() { public static final int SCHEME_ID_FIELD_NUMBER = 9; private io.aelf.protobuf.generated.Client.Hash schemeId_; /** + *
+     * The is of the scheme.
+     * 
+ * * .Hash scheme_id = 9; * @return Whether the schemeId field is set. */ @@ -2721,6 +3058,10 @@ public boolean hasSchemeId() { return schemeId_ != null; } /** + *
+     * The is of the scheme.
+     * 
+ * * .Hash scheme_id = 9; * @return The schemeId. */ @@ -2728,6 +3069,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { return schemeId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : schemeId_; } /** + *
+     * The is of the scheme.
+     * 
+ * * .Hash scheme_id = 9; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { @@ -2737,7 +3082,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { public static final int DELAY_DISTRIBUTE_PERIOD_COUNT_FIELD_NUMBER = 10; private int delayDistributePeriodCount_; /** - * sint32 delay_distribute_period_count = 10; + *
+     * Delay distribute period.
+     * 
+ * + * int32 delay_distribute_period_count = 10; * @return The delayDistributePeriodCount. */ public int getDelayDistributePeriodCount() { @@ -2751,9 +3100,9 @@ private static final class CachedDelayTotalSharesDefaultEntryHolder { com.google.protobuf.MapEntry .newDefaultInstance( io.aelf.protobuf.generated.ProfitContract.internal_static_Scheme_CachedDelayTotalSharesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.SINT64, + com.google.protobuf.WireFormat.FieldType.INT64, 0L, - com.google.protobuf.WireFormat.FieldType.SINT64, + com.google.protobuf.WireFormat.FieldType.INT64, 0L); } private com.google.protobuf.MapField< @@ -2772,10 +3121,10 @@ public int getCachedDelayTotalSharesCount() { } /** *
-     * period -> total shares, max elements count should be delay_distribute_period_count
+     * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
      * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public boolean containsCachedDelayTotalShares( @@ -2792,10 +3141,10 @@ public java.util.Map getCachedDelayTotalShares() } /** *
-     * period -> total shares, max elements count should be delay_distribute_period_count
+     * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
      * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public java.util.Map getCachedDelayTotalSharesMap() { @@ -2803,10 +3152,10 @@ public java.util.Map getCachedDelayTotalSharesMa } /** *
-     * period -> total shares, max elements count should be delay_distribute_period_count
+     * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
      * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public long getCachedDelayTotalSharesOrDefault( @@ -2819,10 +3168,10 @@ public long getCachedDelayTotalSharesOrDefault( } /** *
-     * period -> total shares, max elements count should be delay_distribute_period_count
+     * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
      * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public long getCachedDelayTotalSharesOrThrow( @@ -2836,27 +3185,55 @@ public long getCachedDelayTotalSharesOrThrow( return map.get(key); } - public static final int MANAGER_FIELD_NUMBER = 12; - private io.aelf.protobuf.generated.Client.Address manager_; + public static final int RECEIVED_TOKEN_SYMBOLS_FIELD_NUMBER = 12; + private com.google.protobuf.LazyStringList receivedTokenSymbols_; /** - * .Address manager = 12; - * @return Whether the manager field is set. + *
+     * The received token symbols.
+     * 
+ * + * repeated string received_token_symbols = 12; + * @return A list containing the receivedTokenSymbols. */ - public boolean hasManager() { - return manager_ != null; + public com.google.protobuf.ProtocolStringList + getReceivedTokenSymbolsList() { + return receivedTokenSymbols_; } /** - * .Address manager = 12; - * @return The manager. + *
+     * The received token symbols.
+     * 
+ * + * repeated string received_token_symbols = 12; + * @return The count of receivedTokenSymbols. */ - public io.aelf.protobuf.generated.Client.Address getManager() { - return manager_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : manager_; + public int getReceivedTokenSymbolsCount() { + return receivedTokenSymbols_.size(); + } + /** + *
+     * The received token symbols.
+     * 
+ * + * repeated string received_token_symbols = 12; + * @param index The index of the element to return. + * @return The receivedTokenSymbols at the given index. + */ + public java.lang.String getReceivedTokenSymbols(int index) { + return receivedTokenSymbols_.get(index); } /** - * .Address manager = 12; + *
+     * The received token symbols.
+     * 
+ * + * repeated string received_token_symbols = 12; + * @param index The index of the value to return. + * @return The bytes of the receivedTokenSymbols at the given index. */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder() { - return getManager(); + public com.google.protobuf.ByteString + getReceivedTokenSymbolsBytes(int index) { + return receivedTokenSymbols_.getByteString(index); } private byte memoizedIsInitialized = -1; @@ -2877,22 +3254,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(1, getVirtualAddress()); } if (totalShares_ != 0L) { - output.writeSInt64(2, totalShares_); + output.writeInt64(2, totalShares_); + } + if (manager_ != null) { + output.writeMessage(3, getManager()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetUndistributedProfits(), - UndistributedProfitsDefaultEntryHolder.defaultEntry, - 3); if (currentPeriod_ != 0L) { - output.writeSInt64(4, currentPeriod_); + output.writeInt64(4, currentPeriod_); } for (int i = 0; i < subSchemes_.size(); i++) { output.writeMessage(5, subSchemes_.get(i)); } + if (canRemoveBeneficiaryDirectly_ != false) { + output.writeBool(6, canRemoveBeneficiaryDirectly_); + } if (profitReceivingDuePeriodCount_ != 0L) { - output.writeSInt64(7, profitReceivingDuePeriodCount_); + output.writeInt64(7, profitReceivingDuePeriodCount_); } if (isReleaseAllBalanceEveryTimeByDefault_ != false) { output.writeBool(8, isReleaseAllBalanceEveryTimeByDefault_); @@ -2901,7 +3278,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(9, getSchemeId()); } if (delayDistributePeriodCount_ != 0) { - output.writeSInt32(10, delayDistributePeriodCount_); + output.writeInt32(10, delayDistributePeriodCount_); } com.google.protobuf.GeneratedMessageV3 .serializeLongMapTo( @@ -2909,8 +3286,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) internalGetCachedDelayTotalShares(), CachedDelayTotalSharesDefaultEntryHolder.defaultEntry, 11); - if (manager_ != null) { - output.writeMessage(12, getManager()); + for (int i = 0; i < receivedTokenSymbols_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, receivedTokenSymbols_.getRaw(i)); } unknownFields.writeTo(output); } @@ -2927,29 +3304,27 @@ public int getSerializedSize() { } if (totalShares_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, totalShares_); + .computeInt64Size(2, totalShares_); } - for (java.util.Map.Entry entry - : internalGetUndistributedProfits().getMap().entrySet()) { - com.google.protobuf.MapEntry - undistributedProfits__ = UndistributedProfitsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); + if (manager_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, undistributedProfits__); + .computeMessageSize(3, getManager()); } if (currentPeriod_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, currentPeriod_); + .computeInt64Size(4, currentPeriod_); } for (int i = 0; i < subSchemes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, subSchemes_.get(i)); } + if (canRemoveBeneficiaryDirectly_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, canRemoveBeneficiaryDirectly_); + } if (profitReceivingDuePeriodCount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(7, profitReceivingDuePeriodCount_); + .computeInt64Size(7, profitReceivingDuePeriodCount_); } if (isReleaseAllBalanceEveryTimeByDefault_ != false) { size += com.google.protobuf.CodedOutputStream @@ -2961,7 +3336,7 @@ public int getSerializedSize() { } if (delayDistributePeriodCount_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeSInt32Size(10, delayDistributePeriodCount_); + .computeInt32Size(10, delayDistributePeriodCount_); } for (java.util.Map.Entry entry : internalGetCachedDelayTotalShares().getMap().entrySet()) { @@ -2973,9 +3348,13 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, cachedDelayTotalShares__); } - if (manager_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getManager()); + { + int dataSize = 0; + for (int i = 0; i < receivedTokenSymbols_.size(); i++) { + dataSize += computeStringSizeNoTag(receivedTokenSymbols_.getRaw(i)); + } + size += dataSize; + size += 1 * getReceivedTokenSymbolsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2999,12 +3378,17 @@ public boolean equals(final java.lang.Object obj) { } if (getTotalShares() != other.getTotalShares()) return false; - if (!internalGetUndistributedProfits().equals( - other.internalGetUndistributedProfits())) return false; + if (hasManager() != other.hasManager()) return false; + if (hasManager()) { + if (!getManager() + .equals(other.getManager())) return false; + } if (getCurrentPeriod() != other.getCurrentPeriod()) return false; if (!getSubSchemesList() .equals(other.getSubSchemesList())) return false; + if (getCanRemoveBeneficiaryDirectly() + != other.getCanRemoveBeneficiaryDirectly()) return false; if (getProfitReceivingDuePeriodCount() != other.getProfitReceivingDuePeriodCount()) return false; if (getIsReleaseAllBalanceEveryTimeByDefault() @@ -3018,11 +3402,8 @@ public boolean equals(final java.lang.Object obj) { != other.getDelayDistributePeriodCount()) return false; if (!internalGetCachedDelayTotalShares().equals( other.internalGetCachedDelayTotalShares())) return false; - if (hasManager() != other.hasManager()) return false; - if (hasManager()) { - if (!getManager() - .equals(other.getManager())) return false; - } + if (!getReceivedTokenSymbolsList() + .equals(other.getReceivedTokenSymbolsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3041,9 +3422,9 @@ public int hashCode() { hash = (37 * hash) + TOTAL_SHARES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalShares()); - if (!internalGetUndistributedProfits().getMap().isEmpty()) { - hash = (37 * hash) + UNDISTRIBUTED_PROFITS_FIELD_NUMBER; - hash = (53 * hash) + internalGetUndistributedProfits().hashCode(); + if (hasManager()) { + hash = (37 * hash) + MANAGER_FIELD_NUMBER; + hash = (53 * hash) + getManager().hashCode(); } hash = (37 * hash) + CURRENT_PERIOD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( @@ -3052,6 +3433,9 @@ public int hashCode() { hash = (37 * hash) + SUB_SCHEMES_FIELD_NUMBER; hash = (53 * hash) + getSubSchemesList().hashCode(); } + hash = (37 * hash) + CAN_REMOVE_BENEFICIARY_DIRECTLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCanRemoveBeneficiaryDirectly()); hash = (37 * hash) + PROFIT_RECEIVING_DUE_PERIOD_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProfitReceivingDuePeriodCount()); @@ -3068,9 +3452,9 @@ public int hashCode() { hash = (37 * hash) + CACHED_DELAY_TOTAL_SHARES_FIELD_NUMBER; hash = (53 * hash) + internalGetCachedDelayTotalShares().hashCode(); } - if (hasManager()) { - hash = (37 * hash) + MANAGER_FIELD_NUMBER; - hash = (53 * hash) + getManager().hashCode(); + if (getReceivedTokenSymbolsCount() > 0) { + hash = (37 * hash) + RECEIVED_TOKEN_SYMBOLS_FIELD_NUMBER; + hash = (53 * hash) + getReceivedTokenSymbolsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; @@ -3183,8 +3567,6 @@ public static final class Builder extends protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { - case 3: - return internalGetUndistributedProfits(); case 11: return internalGetCachedDelayTotalShares(); default: @@ -3196,8 +3578,6 @@ protected com.google.protobuf.MapField internalGetMapField( protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { - case 3: - return internalGetMutableUndistributedProfits(); case 11: return internalGetMutableCachedDelayTotalShares(); default: @@ -3240,15 +3620,22 @@ public Builder clear() { } totalShares_ = 0L; - internalGetMutableUndistributedProfits().clear(); + if (managerBuilder_ == null) { + manager_ = null; + } else { + manager_ = null; + managerBuilder_ = null; + } currentPeriod_ = 0L; if (subSchemesBuilder_ == null) { subSchemes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { subSchemesBuilder_.clear(); } + canRemoveBeneficiaryDirectly_ = false; + profitReceivingDuePeriodCount_ = 0L; isReleaseAllBalanceEveryTimeByDefault_ = false; @@ -3262,12 +3649,8 @@ public Builder clear() { delayDistributePeriodCount_ = 0; internalGetMutableCachedDelayTotalShares().clear(); - if (managerBuilder_ == null) { - manager_ = null; - } else { - manager_ = null; - managerBuilder_ = null; - } + receivedTokenSymbols_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -3301,18 +3684,22 @@ public io.aelf.protobuf.generated.ProfitContract.Scheme buildPartial() { result.virtualAddress_ = virtualAddressBuilder_.build(); } result.totalShares_ = totalShares_; - result.undistributedProfits_ = internalGetUndistributedProfits(); - result.undistributedProfits_.makeImmutable(); - result.currentPeriod_ = currentPeriod_; - if (subSchemesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - subSchemes_ = java.util.Collections.unmodifiableList(subSchemes_); - bitField0_ = (bitField0_ & ~0x00000002); - } + if (managerBuilder_ == null) { + result.manager_ = manager_; + } else { + result.manager_ = managerBuilder_.build(); + } + result.currentPeriod_ = currentPeriod_; + if (subSchemesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + subSchemes_ = java.util.Collections.unmodifiableList(subSchemes_); + bitField0_ = (bitField0_ & ~0x00000001); + } result.subSchemes_ = subSchemes_; } else { result.subSchemes_ = subSchemesBuilder_.build(); } + result.canRemoveBeneficiaryDirectly_ = canRemoveBeneficiaryDirectly_; result.profitReceivingDuePeriodCount_ = profitReceivingDuePeriodCount_; result.isReleaseAllBalanceEveryTimeByDefault_ = isReleaseAllBalanceEveryTimeByDefault_; if (schemeIdBuilder_ == null) { @@ -3323,11 +3710,11 @@ public io.aelf.protobuf.generated.ProfitContract.Scheme buildPartial() { result.delayDistributePeriodCount_ = delayDistributePeriodCount_; result.cachedDelayTotalShares_ = internalGetCachedDelayTotalShares(); result.cachedDelayTotalShares_.makeImmutable(); - if (managerBuilder_ == null) { - result.manager_ = manager_; - } else { - result.manager_ = managerBuilder_.build(); + if (((bitField0_ & 0x00000004) != 0)) { + receivedTokenSymbols_ = receivedTokenSymbols_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); } + result.receivedTokenSymbols_ = receivedTokenSymbols_; onBuilt(); return result; } @@ -3382,8 +3769,9 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ProfitContract.Scheme other) if (other.getTotalShares() != 0L) { setTotalShares(other.getTotalShares()); } - internalGetMutableUndistributedProfits().mergeFrom( - other.internalGetUndistributedProfits()); + if (other.hasManager()) { + mergeManager(other.getManager()); + } if (other.getCurrentPeriod() != 0L) { setCurrentPeriod(other.getCurrentPeriod()); } @@ -3391,7 +3779,7 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ProfitContract.Scheme other) if (!other.subSchemes_.isEmpty()) { if (subSchemes_.isEmpty()) { subSchemes_ = other.subSchemes_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSubSchemesIsMutable(); subSchemes_.addAll(other.subSchemes_); @@ -3404,7 +3792,7 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ProfitContract.Scheme other) subSchemesBuilder_.dispose(); subSchemesBuilder_ = null; subSchemes_ = other.subSchemes_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); subSchemesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubSchemesFieldBuilder() : null; @@ -3413,6 +3801,9 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ProfitContract.Scheme other) } } } + if (other.getCanRemoveBeneficiaryDirectly() != false) { + setCanRemoveBeneficiaryDirectly(other.getCanRemoveBeneficiaryDirectly()); + } if (other.getProfitReceivingDuePeriodCount() != 0L) { setProfitReceivingDuePeriodCount(other.getProfitReceivingDuePeriodCount()); } @@ -3427,8 +3818,15 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ProfitContract.Scheme other) } internalGetMutableCachedDelayTotalShares().mergeFrom( other.internalGetCachedDelayTotalShares()); - if (other.hasManager()) { - mergeManager(other.getManager()); + if (!other.receivedTokenSymbols_.isEmpty()) { + if (receivedTokenSymbols_.isEmpty()) { + receivedTokenSymbols_ = other.receivedTokenSymbols_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureReceivedTokenSymbolsIsMutable(); + receivedTokenSymbols_.addAll(other.receivedTokenSymbols_); + } + onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3464,6 +3862,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> virtualAddressBuilder_; /** + *
+       * The virtual address of the scheme.
+       * 
+ * * .Address virtual_address = 1; * @return Whether the virtualAddress field is set. */ @@ -3471,6 +3873,10 @@ public boolean hasVirtualAddress() { return virtualAddressBuilder_ != null || virtualAddress_ != null; } /** + *
+       * The virtual address of the scheme.
+       * 
+ * * .Address virtual_address = 1; * @return The virtualAddress. */ @@ -3482,6 +3888,10 @@ public io.aelf.protobuf.generated.Client.Address getVirtualAddress() { } } /** + *
+       * The virtual address of the scheme.
+       * 
+ * * .Address virtual_address = 1; */ public Builder setVirtualAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -3498,6 +3908,10 @@ public Builder setVirtualAddress(io.aelf.protobuf.generated.Client.Address value return this; } /** + *
+       * The virtual address of the scheme.
+       * 
+ * * .Address virtual_address = 1; */ public Builder setVirtualAddress( @@ -3512,6 +3926,10 @@ public Builder setVirtualAddress( return this; } /** + *
+       * The virtual address of the scheme.
+       * 
+ * * .Address virtual_address = 1; */ public Builder mergeVirtualAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -3530,6 +3948,10 @@ public Builder mergeVirtualAddress(io.aelf.protobuf.generated.Client.Address val return this; } /** + *
+       * The virtual address of the scheme.
+       * 
+ * * .Address virtual_address = 1; */ public Builder clearVirtualAddress() { @@ -3544,6 +3966,10 @@ public Builder clearVirtualAddress() { return this; } /** + *
+       * The virtual address of the scheme.
+       * 
+ * * .Address virtual_address = 1; */ public io.aelf.protobuf.generated.Client.Address.Builder getVirtualAddressBuilder() { @@ -3552,6 +3978,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getVirtualAddressBuilde return getVirtualAddressFieldBuilder().getBuilder(); } /** + *
+       * The virtual address of the scheme.
+       * 
+ * * .Address virtual_address = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVirtualAddressOrBuilder() { @@ -3563,6 +3993,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVirtualAddressOrBui } } /** + *
+       * The virtual address of the scheme.
+       * 
+ * * .Address virtual_address = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -3581,14 +4015,22 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVirtualAddressOrBui private long totalShares_ ; /** - * sint64 total_shares = 2; + *
+       * The total weight of the scheme.
+       * 
+ * + * int64 total_shares = 2; * @return The totalShares. */ public long getTotalShares() { return totalShares_; } /** - * sint64 total_shares = 2; + *
+       * The total weight of the scheme.
+       * 
+ * + * int64 total_shares = 2; * @param value The totalShares to set. * @return This builder for chaining. */ @@ -3599,7 +4041,11 @@ public Builder setTotalShares(long value) { return this; } /** - * sint64 total_shares = 2; + *
+       * The total weight of the scheme.
+       * 
+ * + * int64 total_shares = 2; * @return This builder for chaining. */ public Builder clearTotalShares() { @@ -3609,167 +4055,179 @@ public Builder clearTotalShares() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> undistributedProfits_; - private com.google.protobuf.MapField - internalGetUndistributedProfits() { - if (undistributedProfits_ == null) { - return com.google.protobuf.MapField.emptyMapField( - UndistributedProfitsDefaultEntryHolder.defaultEntry); - } - return undistributedProfits_; - } - private com.google.protobuf.MapField - internalGetMutableUndistributedProfits() { - onChanged();; - if (undistributedProfits_ == null) { - undistributedProfits_ = com.google.protobuf.MapField.newMapField( - UndistributedProfitsDefaultEntryHolder.defaultEntry); - } - if (!undistributedProfits_.isMutable()) { - undistributedProfits_ = undistributedProfits_.copy(); - } - return undistributedProfits_; - } - - public int getUndistributedProfitsCount() { - return internalGetUndistributedProfits().getMap().size(); - } + private io.aelf.protobuf.generated.Client.Address manager_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> managerBuilder_; /** *
-       * token symbol -> amount
+       * The manager of the scheme.
        * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; + * @return Whether the manager field is set. */ - - public boolean containsUndistributedProfits( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetUndistributedProfits().getMap().containsKey(key); + public boolean hasManager() { + return managerBuilder_ != null || manager_ != null; } /** - * Use {@link #getUndistributedProfitsMap()} instead. + *
+       * The manager of the scheme.
+       * 
+ * + * .Address manager = 3; + * @return The manager. */ - @java.lang.Deprecated - public java.util.Map getUndistributedProfits() { - return getUndistributedProfitsMap(); + public io.aelf.protobuf.generated.Client.Address getManager() { + if (managerBuilder_ == null) { + return manager_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : manager_; + } else { + return managerBuilder_.getMessage(); + } } /** *
-       * token symbol -> amount
+       * The manager of the scheme.
        * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; */ + public Builder setManager(io.aelf.protobuf.generated.Client.Address value) { + if (managerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + manager_ = value; + onChanged(); + } else { + managerBuilder_.setMessage(value); + } - public java.util.Map getUndistributedProfitsMap() { - return internalGetUndistributedProfits().getMap(); + return this; } /** *
-       * token symbol -> amount
+       * The manager of the scheme.
        * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; */ + public Builder setManager( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (managerBuilder_ == null) { + manager_ = builderForValue.build(); + onChanged(); + } else { + managerBuilder_.setMessage(builderForValue.build()); + } - public long getUndistributedProfitsOrDefault( - java.lang.String key, - long defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetUndistributedProfits().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + return this; } /** *
-       * token symbol -> amount
+       * The manager of the scheme.
        * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; */ - - public long getUndistributedProfitsOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetUndistributedProfits().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + public Builder mergeManager(io.aelf.protobuf.generated.Client.Address value) { + if (managerBuilder_ == null) { + if (manager_ != null) { + manager_ = + io.aelf.protobuf.generated.Client.Address.newBuilder(manager_).mergeFrom(value).buildPartial(); + } else { + manager_ = value; + } + onChanged(); + } else { + managerBuilder_.mergeFrom(value); } - return map.get(key); - } - public Builder clearUndistributedProfits() { - internalGetMutableUndistributedProfits().getMutableMap() - .clear(); return this; } /** *
-       * token symbol -> amount
+       * The manager of the scheme.
        * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; */ + public Builder clearManager() { + if (managerBuilder_ == null) { + manager_ = null; + onChanged(); + } else { + manager_ = null; + managerBuilder_ = null; + } - public Builder removeUndistributedProfits( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableUndistributedProfits().getMutableMap() - .remove(key); return this; } /** - * Use alternate mutation accessors instead. + *
+       * The manager of the scheme.
+       * 
+ * + * .Address manager = 3; */ - @java.lang.Deprecated - public java.util.Map - getMutableUndistributedProfits() { - return internalGetMutableUndistributedProfits().getMutableMap(); + public io.aelf.protobuf.generated.Client.Address.Builder getManagerBuilder() { + + onChanged(); + return getManagerFieldBuilder().getBuilder(); } /** *
-       * token symbol -> amount
+       * The manager of the scheme.
        * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; */ - public Builder putUndistributedProfits( - java.lang.String key, - long value) { - if (key == null) { throw new java.lang.NullPointerException(); } - - internalGetMutableUndistributedProfits().getMutableMap() - .put(key, value); - return this; + public io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder() { + if (managerBuilder_ != null) { + return managerBuilder_.getMessageOrBuilder(); + } else { + return manager_ == null ? + io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : manager_; + } } /** *
-       * token symbol -> amount
+       * The manager of the scheme.
        * 
* - * map<string, sint64> undistributed_profits = 3; + * .Address manager = 3; */ - - public Builder putAllUndistributedProfits( - java.util.Map values) { - internalGetMutableUndistributedProfits().getMutableMap() - .putAll(values); - return this; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getManagerFieldBuilder() { + if (managerBuilder_ == null) { + managerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + getManager(), + getParentForChildren(), + isClean()); + manager_ = null; + } + return managerBuilder_; } private long currentPeriod_ ; /** - * sint64 current_period = 4; + *
+       * The current period.
+       * 
+ * + * int64 current_period = 4; * @return The currentPeriod. */ public long getCurrentPeriod() { return currentPeriod_; } /** - * sint64 current_period = 4; + *
+       * The current period.
+       * 
+ * + * int64 current_period = 4; * @param value The currentPeriod to set. * @return This builder for chaining. */ @@ -3780,7 +4238,11 @@ public Builder setCurrentPeriod(long value) { return this; } /** - * sint64 current_period = 4; + *
+       * The current period.
+       * 
+ * + * int64 current_period = 4; * @return This builder for chaining. */ public Builder clearCurrentPeriod() { @@ -3793,9 +4255,9 @@ public Builder clearCurrentPeriod() { private java.util.List subSchemes_ = java.util.Collections.emptyList(); private void ensureSubSchemesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { subSchemes_ = new java.util.ArrayList(subSchemes_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } @@ -3803,6 +4265,10 @@ private void ensureSubSchemesIsMutable() { io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare, io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder, io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShareOrBuilder> subSchemesBuilder_; /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public java.util.List getSubSchemesList() { @@ -3813,6 +4279,10 @@ public java.util.List + * Sub schemes information. + * + * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public int getSubSchemesCount() { @@ -3823,6 +4293,10 @@ public int getSubSchemesCount() { } } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare getSubSchemes(int index) { @@ -3833,6 +4307,10 @@ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare getSubSc } } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public Builder setSubSchemes( @@ -3850,6 +4328,10 @@ public Builder setSubSchemes( return this; } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public Builder setSubSchemes( @@ -3864,6 +4346,10 @@ public Builder setSubSchemes( return this; } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public Builder addSubSchemes(io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare value) { @@ -3880,6 +4366,10 @@ public Builder addSubSchemes(io.aelf.protobuf.generated.ProfitContract.SchemeBen return this; } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public Builder addSubSchemes( @@ -3897,6 +4387,10 @@ public Builder addSubSchemes( return this; } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public Builder addSubSchemes( @@ -3911,6 +4405,10 @@ public Builder addSubSchemes( return this; } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public Builder addSubSchemes( @@ -3925,6 +4423,10 @@ public Builder addSubSchemes( return this; } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public Builder addAllSubSchemes( @@ -3940,12 +4442,16 @@ public Builder addAllSubSchemes( return this; } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public Builder clearSubSchemes() { if (subSchemesBuilder_ == null) { subSchemes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { subSchemesBuilder_.clear(); @@ -3953,6 +4459,10 @@ public Builder clearSubSchemes() { return this; } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public Builder removeSubSchemes(int index) { @@ -3966,6 +4476,10 @@ public Builder removeSubSchemes(int index) { return this; } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder getSubSchemesBuilder( @@ -3973,6 +4487,10 @@ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder return getSubSchemesFieldBuilder().getBuilder(index); } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShareOrBuilder getSubSchemesOrBuilder( @@ -3983,6 +4501,10 @@ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShareOrBuilder } } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public java.util.List @@ -3994,6 +4516,10 @@ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShareOrBuilder } } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder addSubSchemesBuilder() { @@ -4001,6 +4527,10 @@ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.getDefaultInstance()); } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder addSubSchemesBuilder( @@ -4009,6 +4539,10 @@ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder index, io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.getDefaultInstance()); } /** + *
+       * Sub schemes information.
+       * 
+ * * repeated .SchemeBeneficiaryShare sub_schemes = 5; */ public java.util.List @@ -4022,7 +4556,7 @@ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder subSchemesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare, io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder, io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShareOrBuilder>( subSchemes_, - ((bitField0_ & 0x00000002) != 0), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); subSchemes_ = null; @@ -4030,16 +4564,66 @@ public io.aelf.protobuf.generated.ProfitContract.SchemeBeneficiaryShare.Builder return subSchemesBuilder_; } + private boolean canRemoveBeneficiaryDirectly_ ; + /** + *
+       * Whether you can directly remove the beneficiary.
+       * 
+ * + * bool can_remove_beneficiary_directly = 6; + * @return The canRemoveBeneficiaryDirectly. + */ + public boolean getCanRemoveBeneficiaryDirectly() { + return canRemoveBeneficiaryDirectly_; + } + /** + *
+       * Whether you can directly remove the beneficiary.
+       * 
+ * + * bool can_remove_beneficiary_directly = 6; + * @param value The canRemoveBeneficiaryDirectly to set. + * @return This builder for chaining. + */ + public Builder setCanRemoveBeneficiaryDirectly(boolean value) { + + canRemoveBeneficiaryDirectly_ = value; + onChanged(); + return this; + } + /** + *
+       * Whether you can directly remove the beneficiary.
+       * 
+ * + * bool can_remove_beneficiary_directly = 6; + * @return This builder for chaining. + */ + public Builder clearCanRemoveBeneficiaryDirectly() { + + canRemoveBeneficiaryDirectly_ = false; + onChanged(); + return this; + } + private long profitReceivingDuePeriodCount_ ; /** - * sint64 profit_receiving_due_period_count = 7; + *
+       * Period of profit distribution.
+       * 
+ * + * int64 profit_receiving_due_period_count = 7; * @return The profitReceivingDuePeriodCount. */ public long getProfitReceivingDuePeriodCount() { return profitReceivingDuePeriodCount_; } /** - * sint64 profit_receiving_due_period_count = 7; + *
+       * Period of profit distribution.
+       * 
+ * + * int64 profit_receiving_due_period_count = 7; * @param value The profitReceivingDuePeriodCount to set. * @return This builder for chaining. */ @@ -4050,7 +4634,11 @@ public Builder setProfitReceivingDuePeriodCount(long value) { return this; } /** - * sint64 profit_receiving_due_period_count = 7; + *
+       * Period of profit distribution.
+       * 
+ * + * int64 profit_receiving_due_period_count = 7; * @return This builder for chaining. */ public Builder clearProfitReceivingDuePeriodCount() { @@ -4062,6 +4650,10 @@ public Builder clearProfitReceivingDuePeriodCount() { private boolean isReleaseAllBalanceEveryTimeByDefault_ ; /** + *
+       * Whether all the schemes balance will be distributed during distribution each period.
+       * 
+ * * bool is_release_all_balance_every_time_by_default = 8; * @return The isReleaseAllBalanceEveryTimeByDefault. */ @@ -4069,6 +4661,10 @@ public boolean getIsReleaseAllBalanceEveryTimeByDefault() { return isReleaseAllBalanceEveryTimeByDefault_; } /** + *
+       * Whether all the schemes balance will be distributed during distribution each period.
+       * 
+ * * bool is_release_all_balance_every_time_by_default = 8; * @param value The isReleaseAllBalanceEveryTimeByDefault to set. * @return This builder for chaining. @@ -4080,6 +4676,10 @@ public Builder setIsReleaseAllBalanceEveryTimeByDefault(boolean value) { return this; } /** + *
+       * Whether all the schemes balance will be distributed during distribution each period.
+       * 
+ * * bool is_release_all_balance_every_time_by_default = 8; * @return This builder for chaining. */ @@ -4094,6 +4694,10 @@ public Builder clearIsReleaseAllBalanceEveryTimeByDefault() { private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> schemeIdBuilder_; /** + *
+       * The is of the scheme.
+       * 
+ * * .Hash scheme_id = 9; * @return Whether the schemeId field is set. */ @@ -4101,6 +4705,10 @@ public boolean hasSchemeId() { return schemeIdBuilder_ != null || schemeId_ != null; } /** + *
+       * The is of the scheme.
+       * 
+ * * .Hash scheme_id = 9; * @return The schemeId. */ @@ -4112,6 +4720,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { } } /** + *
+       * The is of the scheme.
+       * 
+ * * .Hash scheme_id = 9; */ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -4128,6 +4740,10 @@ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The is of the scheme.
+       * 
+ * * .Hash scheme_id = 9; */ public Builder setSchemeId( @@ -4142,6 +4758,10 @@ public Builder setSchemeId( return this; } /** + *
+       * The is of the scheme.
+       * 
+ * * .Hash scheme_id = 9; */ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -4160,6 +4780,10 @@ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The is of the scheme.
+       * 
+ * * .Hash scheme_id = 9; */ public Builder clearSchemeId() { @@ -4174,6 +4798,10 @@ public Builder clearSchemeId() { return this; } /** + *
+       * The is of the scheme.
+       * 
+ * * .Hash scheme_id = 9; */ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { @@ -4182,6 +4810,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { return getSchemeIdFieldBuilder().getBuilder(); } /** + *
+       * The is of the scheme.
+       * 
+ * * .Hash scheme_id = 9; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { @@ -4193,6 +4825,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { } } /** + *
+       * The is of the scheme.
+       * 
+ * * .Hash scheme_id = 9; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -4211,14 +4847,22 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { private int delayDistributePeriodCount_ ; /** - * sint32 delay_distribute_period_count = 10; + *
+       * Delay distribute period.
+       * 
+ * + * int32 delay_distribute_period_count = 10; * @return The delayDistributePeriodCount. */ public int getDelayDistributePeriodCount() { return delayDistributePeriodCount_; } /** - * sint32 delay_distribute_period_count = 10; + *
+       * Delay distribute period.
+       * 
+ * + * int32 delay_distribute_period_count = 10; * @param value The delayDistributePeriodCount to set. * @return This builder for chaining. */ @@ -4229,7 +4873,11 @@ public Builder setDelayDistributePeriodCount(int value) { return this; } /** - * sint32 delay_distribute_period_count = 10; + *
+       * Delay distribute period.
+       * 
+ * + * int32 delay_distribute_period_count = 10; * @return This builder for chaining. */ public Builder clearDelayDistributePeriodCount() { @@ -4267,10 +4915,10 @@ public int getCachedDelayTotalSharesCount() { } /** *
-       * period -> total shares, max elements count should be delay_distribute_period_count
+       * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
        * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public boolean containsCachedDelayTotalShares( @@ -4287,10 +4935,10 @@ public java.util.Map getCachedDelayTotalShares() } /** *
-       * period -> total shares, max elements count should be delay_distribute_period_count
+       * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
        * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public java.util.Map getCachedDelayTotalSharesMap() { @@ -4298,10 +4946,10 @@ public java.util.Map getCachedDelayTotalSharesMa } /** *
-       * period -> total shares, max elements count should be delay_distribute_period_count
+       * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
        * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public long getCachedDelayTotalSharesOrDefault( @@ -4314,10 +4962,10 @@ public long getCachedDelayTotalSharesOrDefault( } /** *
-       * period -> total shares, max elements count should be delay_distribute_period_count
+       * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
        * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public long getCachedDelayTotalSharesOrThrow( @@ -4338,10 +4986,10 @@ public Builder clearCachedDelayTotalShares() { } /** *
-       * period -> total shares, max elements count should be delay_distribute_period_count
+       * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
        * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public Builder removeCachedDelayTotalShares( @@ -4361,10 +5009,10 @@ public Builder removeCachedDelayTotalShares( } /** *
-       * period -> total shares, max elements count should be delay_distribute_period_count
+       * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
        * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public Builder putCachedDelayTotalShares( long key, @@ -4377,10 +5025,10 @@ public Builder putCachedDelayTotalShares( } /** *
-       * period -> total shares, max elements count should be delay_distribute_period_count
+       * Record the scheme's current total share for deferred distribution of benefits, period -> total shares.
        * 
* - * map<sint64, sint64> cached_delay_total_shares = 11; + * map<int64, int64> cached_delay_total_shares = 11; */ public Builder putAllCachedDelayTotalShares( @@ -4390,123 +5038,150 @@ public Builder putAllCachedDelayTotalShares( return this; } - private io.aelf.protobuf.generated.Client.Address manager_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> managerBuilder_; - /** - * .Address manager = 12; - * @return Whether the manager field is set. - */ - public boolean hasManager() { - return managerBuilder_ != null || manager_ != null; + private com.google.protobuf.LazyStringList receivedTokenSymbols_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureReceivedTokenSymbolsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + receivedTokenSymbols_ = new com.google.protobuf.LazyStringArrayList(receivedTokenSymbols_); + bitField0_ |= 0x00000004; + } } /** - * .Address manager = 12; - * @return The manager. + *
+       * The received token symbols.
+       * 
+ * + * repeated string received_token_symbols = 12; + * @return A list containing the receivedTokenSymbols. */ - public io.aelf.protobuf.generated.Client.Address getManager() { - if (managerBuilder_ == null) { - return manager_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : manager_; - } else { - return managerBuilder_.getMessage(); - } + public com.google.protobuf.ProtocolStringList + getReceivedTokenSymbolsList() { + return receivedTokenSymbols_.getUnmodifiableView(); } /** - * .Address manager = 12; + *
+       * The received token symbols.
+       * 
+ * + * repeated string received_token_symbols = 12; + * @return The count of receivedTokenSymbols. */ - public Builder setManager(io.aelf.protobuf.generated.Client.Address value) { - if (managerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - manager_ = value; - onChanged(); - } else { - managerBuilder_.setMessage(value); - } - - return this; + public int getReceivedTokenSymbolsCount() { + return receivedTokenSymbols_.size(); + } + /** + *
+       * The received token symbols.
+       * 
+ * + * repeated string received_token_symbols = 12; + * @param index The index of the element to return. + * @return The receivedTokenSymbols at the given index. + */ + public java.lang.String getReceivedTokenSymbols(int index) { + return receivedTokenSymbols_.get(index); } /** - * .Address manager = 12; + *
+       * The received token symbols.
+       * 
+ * + * repeated string received_token_symbols = 12; + * @param index The index of the value to return. + * @return The bytes of the receivedTokenSymbols at the given index. */ - public Builder setManager( - io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { - if (managerBuilder_ == null) { - manager_ = builderForValue.build(); - onChanged(); - } else { - managerBuilder_.setMessage(builderForValue.build()); - } - - return this; + public com.google.protobuf.ByteString + getReceivedTokenSymbolsBytes(int index) { + return receivedTokenSymbols_.getByteString(index); } /** - * .Address manager = 12; + *
+       * The received token symbols.
+       * 
+ * + * repeated string received_token_symbols = 12; + * @param index The index to set the value at. + * @param value The receivedTokenSymbols to set. + * @return This builder for chaining. */ - public Builder mergeManager(io.aelf.protobuf.generated.Client.Address value) { - if (managerBuilder_ == null) { - if (manager_ != null) { - manager_ = - io.aelf.protobuf.generated.Client.Address.newBuilder(manager_).mergeFrom(value).buildPartial(); - } else { - manager_ = value; - } - onChanged(); - } else { - managerBuilder_.mergeFrom(value); - } - + public Builder setReceivedTokenSymbols( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureReceivedTokenSymbolsIsMutable(); + receivedTokenSymbols_.set(index, value); + onChanged(); return this; } /** - * .Address manager = 12; + *
+       * The received token symbols.
+       * 
+ * + * repeated string received_token_symbols = 12; + * @param value The receivedTokenSymbols to add. + * @return This builder for chaining. */ - public Builder clearManager() { - if (managerBuilder_ == null) { - manager_ = null; - onChanged(); - } else { - manager_ = null; - managerBuilder_ = null; - } - + public Builder addReceivedTokenSymbols( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureReceivedTokenSymbolsIsMutable(); + receivedTokenSymbols_.add(value); + onChanged(); return this; } /** - * .Address manager = 12; + *
+       * The received token symbols.
+       * 
+ * + * repeated string received_token_symbols = 12; + * @param values The receivedTokenSymbols to add. + * @return This builder for chaining. */ - public io.aelf.protobuf.generated.Client.Address.Builder getManagerBuilder() { - + public Builder addAllReceivedTokenSymbols( + java.lang.Iterable values) { + ensureReceivedTokenSymbolsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, receivedTokenSymbols_); onChanged(); - return getManagerFieldBuilder().getBuilder(); + return this; } /** - * .Address manager = 12; + *
+       * The received token symbols.
+       * 
+ * + * repeated string received_token_symbols = 12; + * @return This builder for chaining. */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getManagerOrBuilder() { - if (managerBuilder_ != null) { - return managerBuilder_.getMessageOrBuilder(); - } else { - return manager_ == null ? - io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : manager_; - } + public Builder clearReceivedTokenSymbols() { + receivedTokenSymbols_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; } /** - * .Address manager = 12; + *
+       * The received token symbols.
+       * 
+ * + * repeated string received_token_symbols = 12; + * @param value The bytes of the receivedTokenSymbols to add. + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> - getManagerFieldBuilder() { - if (managerBuilder_ == null) { - managerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( - getManager(), - getParentForChildren(), - isClean()); - manager_ = null; - } - return managerBuilder_; + public Builder addReceivedTokenSymbolsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureReceivedTokenSymbolsIsMutable(); + receivedTokenSymbols_.add(value); + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -4566,22 +5241,38 @@ public interface SchemePeriodOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ boolean hasSchemeId(); /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ io.aelf.protobuf.generated.Client.Hash getSchemeId(); /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder(); /** - * sint64 period = 2; + *
+     * The period number.
+     * 
+ * + * int64 period = 2; * @return The period. */ long getPeriod(); @@ -4646,7 +5337,7 @@ private SchemePeriod( } case 16: { - period_ = input.readSInt64(); + period_ = input.readInt64(); break; } default: { @@ -4684,6 +5375,10 @@ private SchemePeriod( public static final int SCHEME_ID_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Hash schemeId_; /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ @@ -4691,6 +5386,10 @@ public boolean hasSchemeId() { return schemeId_ != null; } /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ @@ -4698,6 +5397,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { return schemeId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : schemeId_; } /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { @@ -4707,7 +5410,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { public static final int PERIOD_FIELD_NUMBER = 2; private long period_; /** - * sint64 period = 2; + *
+     * The period number.
+     * 
+ * + * int64 period = 2; * @return The period. */ public long getPeriod() { @@ -4732,7 +5439,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(1, getSchemeId()); } if (period_ != 0L) { - output.writeSInt64(2, period_); + output.writeInt64(2, period_); } unknownFields.writeTo(output); } @@ -4749,7 +5456,7 @@ public int getSerializedSize() { } if (period_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, period_); + .computeInt64Size(2, period_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5051,6 +5758,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> schemeIdBuilder_; /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ @@ -5058,6 +5769,10 @@ public boolean hasSchemeId() { return schemeIdBuilder_ != null || schemeId_ != null; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ @@ -5069,6 +5784,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { } } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -5085,6 +5804,10 @@ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder setSchemeId( @@ -5099,6 +5822,10 @@ public Builder setSchemeId( return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -5117,6 +5844,10 @@ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder clearSchemeId() { @@ -5131,6 +5862,10 @@ public Builder clearSchemeId() { return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { @@ -5139,6 +5874,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { return getSchemeIdFieldBuilder().getBuilder(); } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { @@ -5150,6 +5889,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { } } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -5168,14 +5911,22 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { private long period_ ; /** - * sint64 period = 2; + *
+       * The period number.
+       * 
+ * + * int64 period = 2; * @return The period. */ public long getPeriod() { return period_; } /** - * sint64 period = 2; + *
+       * The period number.
+       * 
+ * + * int64 period = 2; * @param value The period to set. * @return This builder for chaining. */ @@ -5186,7 +5937,11 @@ public Builder setPeriod(long value) { return this; } /** - * sint64 period = 2; + *
+       * The period number.
+       * 
+ * + * int64 period = 2; * @return This builder for chaining. */ public Builder clearPeriod() { @@ -5253,46 +6008,74 @@ public interface DistributedProfitsInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * sint64 total_shares = 1; + *
+     * The total amount of shares in this scheme at the current period.
+     * 
+ * + * int64 total_shares = 1; * @return The totalShares. */ long getTotalShares(); /** - * map<string, sint64> profits_amount = 2; + *
+     * The contributed amount in this scheme at the current period.
+     * 
+ * + * map<string, sint64> amounts_map = 2; */ - int getProfitsAmountCount(); + int getAmountsMapCount(); /** - * map<string, sint64> profits_amount = 2; + *
+     * The contributed amount in this scheme at the current period.
+     * 
+ * + * map<string, sint64> amounts_map = 2; */ - boolean containsProfitsAmount( + boolean containsAmountsMap( java.lang.String key); /** - * Use {@link #getProfitsAmountMap()} instead. + * Use {@link #getAmountsMapMap()} instead. */ @java.lang.Deprecated java.util.Map - getProfitsAmount(); + getAmountsMap(); /** - * map<string, sint64> profits_amount = 2; + *
+     * The contributed amount in this scheme at the current period.
+     * 
+ * + * map<string, sint64> amounts_map = 2; */ java.util.Map - getProfitsAmountMap(); + getAmountsMapMap(); /** - * map<string, sint64> profits_amount = 2; + *
+     * The contributed amount in this scheme at the current period.
+     * 
+ * + * map<string, sint64> amounts_map = 2; */ - long getProfitsAmountOrDefault( + long getAmountsMapOrDefault( java.lang.String key, long defaultValue); /** - * map<string, sint64> profits_amount = 2; + *
+     * The contributed amount in this scheme at the current period.
+     * 
+ * + * map<string, sint64> amounts_map = 2; */ - long getProfitsAmountOrThrow( + long getAmountsMapOrThrow( java.lang.String key); /** + *
+     * Whether released.
+     * 
+ * * bool is_released = 3; * @return The isReleased. */ @@ -5346,20 +6129,20 @@ private DistributedProfitsInfo( break; case 8: { - totalShares_ = input.readSInt64(); + totalShares_ = input.readInt64(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { - profitsAmount_ = com.google.protobuf.MapField.newMapField( - ProfitsAmountDefaultEntryHolder.defaultEntry); + amountsMap_ = com.google.protobuf.MapField.newMapField( + AmountsMapDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry - profitsAmount__ = input.readMessage( - ProfitsAmountDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - profitsAmount_.getMutableMap().put( - profitsAmount__.getKey(), profitsAmount__.getValue()); + amountsMap__ = input.readMessage( + AmountsMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + amountsMap_.getMutableMap().put( + amountsMap__.getKey(), amountsMap__.getValue()); break; } case 24: { @@ -5397,7 +6180,7 @@ protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: - return internalGetProfitsAmount(); + return internalGetAmountsMap(); default: throw new RuntimeException( "Invalid map field number: " + number); @@ -5414,83 +6197,103 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int TOTAL_SHARES_FIELD_NUMBER = 1; private long totalShares_; /** - * sint64 total_shares = 1; + *
+     * The total amount of shares in this scheme at the current period.
+     * 
+ * + * int64 total_shares = 1; * @return The totalShares. */ public long getTotalShares() { return totalShares_; } - public static final int PROFITS_AMOUNT_FIELD_NUMBER = 2; - private static final class ProfitsAmountDefaultEntryHolder { + public static final int AMOUNTS_MAP_FIELD_NUMBER = 2; + private static final class AmountsMapDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Long> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - io.aelf.protobuf.generated.ProfitContract.internal_static_DistributedProfitsInfo_ProfitsAmountEntry_descriptor, + io.aelf.protobuf.generated.ProfitContract.internal_static_DistributedProfitsInfo_AmountsMapEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.SINT64, 0L); } private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> profitsAmount_; + java.lang.String, java.lang.Long> amountsMap_; private com.google.protobuf.MapField - internalGetProfitsAmount() { - if (profitsAmount_ == null) { + internalGetAmountsMap() { + if (amountsMap_ == null) { return com.google.protobuf.MapField.emptyMapField( - ProfitsAmountDefaultEntryHolder.defaultEntry); + AmountsMapDefaultEntryHolder.defaultEntry); } - return profitsAmount_; + return amountsMap_; } - public int getProfitsAmountCount() { - return internalGetProfitsAmount().getMap().size(); + public int getAmountsMapCount() { + return internalGetAmountsMap().getMap().size(); } /** - * map<string, sint64> profits_amount = 2; + *
+     * The contributed amount in this scheme at the current period.
+     * 
+ * + * map<string, sint64> amounts_map = 2; */ - public boolean containsProfitsAmount( + public boolean containsAmountsMap( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetProfitsAmount().getMap().containsKey(key); + return internalGetAmountsMap().getMap().containsKey(key); } /** - * Use {@link #getProfitsAmountMap()} instead. + * Use {@link #getAmountsMapMap()} instead. */ @java.lang.Deprecated - public java.util.Map getProfitsAmount() { - return getProfitsAmountMap(); + public java.util.Map getAmountsMap() { + return getAmountsMapMap(); } /** - * map<string, sint64> profits_amount = 2; + *
+     * The contributed amount in this scheme at the current period.
+     * 
+ * + * map<string, sint64> amounts_map = 2; */ - public java.util.Map getProfitsAmountMap() { - return internalGetProfitsAmount().getMap(); + public java.util.Map getAmountsMapMap() { + return internalGetAmountsMap().getMap(); } /** - * map<string, sint64> profits_amount = 2; + *
+     * The contributed amount in this scheme at the current period.
+     * 
+ * + * map<string, sint64> amounts_map = 2; */ - public long getProfitsAmountOrDefault( + public long getAmountsMapOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = - internalGetProfitsAmount().getMap(); + internalGetAmountsMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, sint64> profits_amount = 2; + *
+     * The contributed amount in this scheme at the current period.
+     * 
+ * + * map<string, sint64> amounts_map = 2; */ - public long getProfitsAmountOrThrow( + public long getAmountsMapOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = - internalGetProfitsAmount().getMap(); + internalGetAmountsMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -5500,6 +6303,10 @@ public long getProfitsAmountOrThrow( public static final int IS_RELEASED_FIELD_NUMBER = 3; private boolean isReleased_; /** + *
+     * Whether released.
+     * 
+ * * bool is_released = 3; * @return The isReleased. */ @@ -5522,13 +6329,13 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (totalShares_ != 0L) { - output.writeSInt64(1, totalShares_); + output.writeInt64(1, totalShares_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, - internalGetProfitsAmount(), - ProfitsAmountDefaultEntryHolder.defaultEntry, + internalGetAmountsMap(), + AmountsMapDefaultEntryHolder.defaultEntry, 2); if (isReleased_ != false) { output.writeBool(3, isReleased_); @@ -5544,17 +6351,17 @@ public int getSerializedSize() { size = 0; if (totalShares_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, totalShares_); + .computeInt64Size(1, totalShares_); } for (java.util.Map.Entry entry - : internalGetProfitsAmount().getMap().entrySet()) { + : internalGetAmountsMap().getMap().entrySet()) { com.google.protobuf.MapEntry - profitsAmount__ = ProfitsAmountDefaultEntryHolder.defaultEntry.newBuilderForType() + amountsMap__ = AmountsMapDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, profitsAmount__); + .computeMessageSize(2, amountsMap__); } if (isReleased_ != false) { size += com.google.protobuf.CodedOutputStream @@ -5577,8 +6384,8 @@ public boolean equals(final java.lang.Object obj) { if (getTotalShares() != other.getTotalShares()) return false; - if (!internalGetProfitsAmount().equals( - other.internalGetProfitsAmount())) return false; + if (!internalGetAmountsMap().equals( + other.internalGetAmountsMap())) return false; if (getIsReleased() != other.getIsReleased()) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -5595,9 +6402,9 @@ public int hashCode() { hash = (37 * hash) + TOTAL_SHARES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalShares()); - if (!internalGetProfitsAmount().getMap().isEmpty()) { - hash = (37 * hash) + PROFITS_AMOUNT_FIELD_NUMBER; - hash = (53 * hash) + internalGetProfitsAmount().hashCode(); + if (!internalGetAmountsMap().getMap().isEmpty()) { + hash = (37 * hash) + AMOUNTS_MAP_FIELD_NUMBER; + hash = (53 * hash) + internalGetAmountsMap().hashCode(); } hash = (37 * hash) + IS_RELEASED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( @@ -5714,7 +6521,7 @@ protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: - return internalGetProfitsAmount(); + return internalGetAmountsMap(); default: throw new RuntimeException( "Invalid map field number: " + number); @@ -5725,7 +6532,7 @@ protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: - return internalGetMutableProfitsAmount(); + return internalGetMutableAmountsMap(); default: throw new RuntimeException( "Invalid map field number: " + number); @@ -5759,7 +6566,7 @@ public Builder clear() { super.clear(); totalShares_ = 0L; - internalGetMutableProfitsAmount().clear(); + internalGetMutableAmountsMap().clear(); isReleased_ = false; return this; @@ -5790,8 +6597,8 @@ public io.aelf.protobuf.generated.ProfitContract.DistributedProfitsInfo buildPar io.aelf.protobuf.generated.ProfitContract.DistributedProfitsInfo result = new io.aelf.protobuf.generated.ProfitContract.DistributedProfitsInfo(this); int from_bitField0_ = bitField0_; result.totalShares_ = totalShares_; - result.profitsAmount_ = internalGetProfitsAmount(); - result.profitsAmount_.makeImmutable(); + result.amountsMap_ = internalGetAmountsMap(); + result.amountsMap_.makeImmutable(); result.isReleased_ = isReleased_; onBuilt(); return result; @@ -5844,8 +6651,8 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ProfitContract.DistributedPr if (other.getTotalShares() != 0L) { setTotalShares(other.getTotalShares()); } - internalGetMutableProfitsAmount().mergeFrom( - other.internalGetProfitsAmount()); + internalGetMutableAmountsMap().mergeFrom( + other.internalGetAmountsMap()); if (other.getIsReleased() != false) { setIsReleased(other.getIsReleased()); } @@ -5881,14 +6688,22 @@ public Builder mergeFrom( private long totalShares_ ; /** - * sint64 total_shares = 1; + *
+       * The total amount of shares in this scheme at the current period.
+       * 
+ * + * int64 total_shares = 1; * @return The totalShares. */ public long getTotalShares() { return totalShares_; } /** - * sint64 total_shares = 1; + *
+       * The total amount of shares in this scheme at the current period.
+       * 
+ * + * int64 total_shares = 1; * @param value The totalShares to set. * @return This builder for chaining. */ @@ -5899,7 +6714,11 @@ public Builder setTotalShares(long value) { return this; } /** - * sint64 total_shares = 1; + *
+       * The total amount of shares in this scheme at the current period.
+       * 
+ * + * int64 total_shares = 1; * @return This builder for chaining. */ public Builder clearTotalShares() { @@ -5910,94 +6729,114 @@ public Builder clearTotalShares() { } private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> profitsAmount_; + java.lang.String, java.lang.Long> amountsMap_; private com.google.protobuf.MapField - internalGetProfitsAmount() { - if (profitsAmount_ == null) { + internalGetAmountsMap() { + if (amountsMap_ == null) { return com.google.protobuf.MapField.emptyMapField( - ProfitsAmountDefaultEntryHolder.defaultEntry); + AmountsMapDefaultEntryHolder.defaultEntry); } - return profitsAmount_; + return amountsMap_; } private com.google.protobuf.MapField - internalGetMutableProfitsAmount() { + internalGetMutableAmountsMap() { onChanged();; - if (profitsAmount_ == null) { - profitsAmount_ = com.google.protobuf.MapField.newMapField( - ProfitsAmountDefaultEntryHolder.defaultEntry); + if (amountsMap_ == null) { + amountsMap_ = com.google.protobuf.MapField.newMapField( + AmountsMapDefaultEntryHolder.defaultEntry); } - if (!profitsAmount_.isMutable()) { - profitsAmount_ = profitsAmount_.copy(); + if (!amountsMap_.isMutable()) { + amountsMap_ = amountsMap_.copy(); } - return profitsAmount_; + return amountsMap_; } - public int getProfitsAmountCount() { - return internalGetProfitsAmount().getMap().size(); + public int getAmountsMapCount() { + return internalGetAmountsMap().getMap().size(); } /** - * map<string, sint64> profits_amount = 2; + *
+       * The contributed amount in this scheme at the current period.
+       * 
+ * + * map<string, sint64> amounts_map = 2; */ - public boolean containsProfitsAmount( + public boolean containsAmountsMap( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetProfitsAmount().getMap().containsKey(key); + return internalGetAmountsMap().getMap().containsKey(key); } /** - * Use {@link #getProfitsAmountMap()} instead. + * Use {@link #getAmountsMapMap()} instead. */ @java.lang.Deprecated - public java.util.Map getProfitsAmount() { - return getProfitsAmountMap(); + public java.util.Map getAmountsMap() { + return getAmountsMapMap(); } /** - * map<string, sint64> profits_amount = 2; + *
+       * The contributed amount in this scheme at the current period.
+       * 
+ * + * map<string, sint64> amounts_map = 2; */ - public java.util.Map getProfitsAmountMap() { - return internalGetProfitsAmount().getMap(); + public java.util.Map getAmountsMapMap() { + return internalGetAmountsMap().getMap(); } /** - * map<string, sint64> profits_amount = 2; + *
+       * The contributed amount in this scheme at the current period.
+       * 
+ * + * map<string, sint64> amounts_map = 2; */ - public long getProfitsAmountOrDefault( + public long getAmountsMapOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = - internalGetProfitsAmount().getMap(); + internalGetAmountsMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, sint64> profits_amount = 2; + *
+       * The contributed amount in this scheme at the current period.
+       * 
+ * + * map<string, sint64> amounts_map = 2; */ - public long getProfitsAmountOrThrow( + public long getAmountsMapOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = - internalGetProfitsAmount().getMap(); + internalGetAmountsMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearProfitsAmount() { - internalGetMutableProfitsAmount().getMutableMap() + public Builder clearAmountsMap() { + internalGetMutableAmountsMap().getMutableMap() .clear(); return this; } /** - * map<string, sint64> profits_amount = 2; + *
+       * The contributed amount in this scheme at the current period.
+       * 
+ * + * map<string, sint64> amounts_map = 2; */ - public Builder removeProfitsAmount( + public Builder removeAmountsMap( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableProfitsAmount().getMutableMap() + internalGetMutableAmountsMap().getMutableMap() .remove(key); return this; } @@ -6006,34 +6845,46 @@ public Builder removeProfitsAmount( */ @java.lang.Deprecated public java.util.Map - getMutableProfitsAmount() { - return internalGetMutableProfitsAmount().getMutableMap(); + getMutableAmountsMap() { + return internalGetMutableAmountsMap().getMutableMap(); } /** - * map<string, sint64> profits_amount = 2; + *
+       * The contributed amount in this scheme at the current period.
+       * 
+ * + * map<string, sint64> amounts_map = 2; */ - public Builder putProfitsAmount( + public Builder putAmountsMap( java.lang.String key, long value) { if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableProfitsAmount().getMutableMap() + internalGetMutableAmountsMap().getMutableMap() .put(key, value); return this; } /** - * map<string, sint64> profits_amount = 2; + *
+       * The contributed amount in this scheme at the current period.
+       * 
+ * + * map<string, sint64> amounts_map = 2; */ - public Builder putAllProfitsAmount( + public Builder putAllAmountsMap( java.util.Map values) { - internalGetMutableProfitsAmount().getMutableMap() + internalGetMutableAmountsMap().getMutableMap() .putAll(values); return this; } private boolean isReleased_ ; /** + *
+       * Whether released.
+       * 
+ * * bool is_released = 3; * @return The isReleased. */ @@ -6041,6 +6892,10 @@ public boolean getIsReleased() { return isReleased_; } /** + *
+       * Whether released.
+       * 
+ * * bool is_released = 3; * @param value The isReleased to set. * @return This builder for chaining. @@ -6052,6 +6907,10 @@ public Builder setIsReleased(boolean value) { return this; } /** + *
+       * Whether released.
+       * 
+ * * bool is_released = 3; * @return This builder for chaining. */ @@ -6119,31 +6978,55 @@ public interface GetProfitDetailsInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ boolean hasSchemeId(); /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ io.aelf.protobuf.generated.Client.Hash getSchemeId(); /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder(); /** + *
+     * The address of beneficiary.
+     * 
+ * * .Address beneficiary = 2; * @return Whether the beneficiary field is set. */ boolean hasBeneficiary(); /** + *
+     * The address of beneficiary.
+     * 
+ * * .Address beneficiary = 2; * @return The beneficiary. */ io.aelf.protobuf.generated.Client.Address getBeneficiary(); /** + *
+     * The address of beneficiary.
+     * 
+ * * .Address beneficiary = 2; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getBeneficiaryOrBuilder(); @@ -6254,6 +7137,10 @@ private GetProfitDetailsInput( public static final int SCHEME_ID_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Hash schemeId_; /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ @@ -6261,6 +7148,10 @@ public boolean hasSchemeId() { return schemeId_ != null; } /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ @@ -6268,6 +7159,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { return schemeId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : schemeId_; } /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { @@ -6277,6 +7172,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { public static final int BENEFICIARY_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.Address beneficiary_; /** + *
+     * The address of beneficiary.
+     * 
+ * * .Address beneficiary = 2; * @return Whether the beneficiary field is set. */ @@ -6284,6 +7183,10 @@ public boolean hasBeneficiary() { return beneficiary_ != null; } /** + *
+     * The address of beneficiary.
+     * 
+ * * .Address beneficiary = 2; * @return The beneficiary. */ @@ -6291,6 +7194,10 @@ public io.aelf.protobuf.generated.Client.Address getBeneficiary() { return beneficiary_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : beneficiary_; } /** + *
+     * The address of beneficiary.
+     * 
+ * * .Address beneficiary = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getBeneficiaryOrBuilder() { @@ -6646,6 +7553,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> schemeIdBuilder_; /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ @@ -6653,6 +7564,10 @@ public boolean hasSchemeId() { return schemeIdBuilder_ != null || schemeId_ != null; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ @@ -6664,6 +7579,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { } } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -6680,6 +7599,10 @@ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder setSchemeId( @@ -6694,6 +7617,10 @@ public Builder setSchemeId( return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -6712,6 +7639,10 @@ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder clearSchemeId() { @@ -6726,6 +7657,10 @@ public Builder clearSchemeId() { return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { @@ -6734,6 +7669,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { return getSchemeIdFieldBuilder().getBuilder(); } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { @@ -6745,6 +7684,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { } } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -6765,6 +7708,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> beneficiaryBuilder_; /** + *
+       * The address of beneficiary.
+       * 
+ * * .Address beneficiary = 2; * @return Whether the beneficiary field is set. */ @@ -6772,6 +7719,10 @@ public boolean hasBeneficiary() { return beneficiaryBuilder_ != null || beneficiary_ != null; } /** + *
+       * The address of beneficiary.
+       * 
+ * * .Address beneficiary = 2; * @return The beneficiary. */ @@ -6783,6 +7734,10 @@ public io.aelf.protobuf.generated.Client.Address getBeneficiary() { } } /** + *
+       * The address of beneficiary.
+       * 
+ * * .Address beneficiary = 2; */ public Builder setBeneficiary(io.aelf.protobuf.generated.Client.Address value) { @@ -6799,6 +7754,10 @@ public Builder setBeneficiary(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of beneficiary.
+       * 
+ * * .Address beneficiary = 2; */ public Builder setBeneficiary( @@ -6813,6 +7772,10 @@ public Builder setBeneficiary( return this; } /** + *
+       * The address of beneficiary.
+       * 
+ * * .Address beneficiary = 2; */ public Builder mergeBeneficiary(io.aelf.protobuf.generated.Client.Address value) { @@ -6831,6 +7794,10 @@ public Builder mergeBeneficiary(io.aelf.protobuf.generated.Client.Address value) return this; } /** + *
+       * The address of beneficiary.
+       * 
+ * * .Address beneficiary = 2; */ public Builder clearBeneficiary() { @@ -6845,6 +7812,10 @@ public Builder clearBeneficiary() { return this; } /** + *
+       * The address of beneficiary.
+       * 
+ * * .Address beneficiary = 2; */ public io.aelf.protobuf.generated.Client.Address.Builder getBeneficiaryBuilder() { @@ -6853,6 +7824,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getBeneficiaryBuilder() return getBeneficiaryFieldBuilder().getBuilder(); } /** + *
+       * The address of beneficiary.
+       * 
+ * * .Address beneficiary = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getBeneficiaryOrBuilder() { @@ -6864,6 +7839,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getBeneficiaryOrBuilde } } /** + *
+       * The address of beneficiary.
+       * 
+ * * .Address beneficiary = 2; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -6937,24 +7916,44 @@ public interface ProfitDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ java.util.List getDetailsList(); /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ io.aelf.protobuf.generated.ProfitContract.ProfitDetail getDetails(int index); /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ int getDetailsCount(); /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ java.util.List getDetailsOrBuilderList(); /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ io.aelf.protobuf.generated.ProfitContract.ProfitDetailOrBuilder getDetailsOrBuilder( @@ -7054,12 +8053,20 @@ private ProfitDetails( public static final int DETAILS_FIELD_NUMBER = 1; private java.util.List details_; /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ public java.util.List getDetailsList() { return details_; } /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ public java.util.List @@ -7067,18 +8074,30 @@ public java.util.List ge return details_; } /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ public int getDetailsCount() { return details_.size(); } /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ public io.aelf.protobuf.generated.ProfitContract.ProfitDetail getDetails(int index) { return details_.get(index); } /** + *
+     * The profit information.
+     * 
+ * * repeated .ProfitDetail details = 1; */ public io.aelf.protobuf.generated.ProfitContract.ProfitDetailOrBuilder getDetailsOrBuilder( @@ -7441,6 +8460,10 @@ private void ensureDetailsIsMutable() { io.aelf.protobuf.generated.ProfitContract.ProfitDetail, io.aelf.protobuf.generated.ProfitContract.ProfitDetail.Builder, io.aelf.protobuf.generated.ProfitContract.ProfitDetailOrBuilder> detailsBuilder_; /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public java.util.List getDetailsList() { @@ -7451,6 +8474,10 @@ public java.util.List ge } } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public int getDetailsCount() { @@ -7461,6 +8488,10 @@ public int getDetailsCount() { } } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public io.aelf.protobuf.generated.ProfitContract.ProfitDetail getDetails(int index) { @@ -7471,6 +8502,10 @@ public io.aelf.protobuf.generated.ProfitContract.ProfitDetail getDetails(int ind } } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public Builder setDetails( @@ -7488,6 +8523,10 @@ public Builder setDetails( return this; } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public Builder setDetails( @@ -7502,6 +8541,10 @@ public Builder setDetails( return this; } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public Builder addDetails(io.aelf.protobuf.generated.ProfitContract.ProfitDetail value) { @@ -7518,6 +8561,10 @@ public Builder addDetails(io.aelf.protobuf.generated.ProfitContract.ProfitDetail return this; } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public Builder addDetails( @@ -7535,6 +8582,10 @@ public Builder addDetails( return this; } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public Builder addDetails( @@ -7549,6 +8600,10 @@ public Builder addDetails( return this; } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public Builder addDetails( @@ -7563,6 +8618,10 @@ public Builder addDetails( return this; } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public Builder addAllDetails( @@ -7578,6 +8637,10 @@ public Builder addAllDetails( return this; } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public Builder clearDetails() { @@ -7591,6 +8654,10 @@ public Builder clearDetails() { return this; } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public Builder removeDetails(int index) { @@ -7604,6 +8671,10 @@ public Builder removeDetails(int index) { return this; } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public io.aelf.protobuf.generated.ProfitContract.ProfitDetail.Builder getDetailsBuilder( @@ -7611,6 +8682,10 @@ public io.aelf.protobuf.generated.ProfitContract.ProfitDetail.Builder getDetails return getDetailsFieldBuilder().getBuilder(index); } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public io.aelf.protobuf.generated.ProfitContract.ProfitDetailOrBuilder getDetailsOrBuilder( @@ -7621,6 +8696,10 @@ public io.aelf.protobuf.generated.ProfitContract.ProfitDetailOrBuilder getDetail } } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public java.util.List @@ -7632,6 +8711,10 @@ public io.aelf.protobuf.generated.ProfitContract.ProfitDetailOrBuilder getDetail } } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public io.aelf.protobuf.generated.ProfitContract.ProfitDetail.Builder addDetailsBuilder() { @@ -7639,6 +8722,10 @@ public io.aelf.protobuf.generated.ProfitContract.ProfitDetail.Builder addDetails io.aelf.protobuf.generated.ProfitContract.ProfitDetail.getDefaultInstance()); } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public io.aelf.protobuf.generated.ProfitContract.ProfitDetail.Builder addDetailsBuilder( @@ -7647,6 +8734,10 @@ public io.aelf.protobuf.generated.ProfitContract.ProfitDetail.Builder addDetails index, io.aelf.protobuf.generated.ProfitContract.ProfitDetail.getDefaultInstance()); } /** + *
+       * The profit information.
+       * 
+ * * repeated .ProfitDetail details = 1; */ public java.util.List @@ -7725,30 +8816,50 @@ public interface ProfitDetailOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * sint64 start_period = 1; + *
+     * The start period number.
+     * 
+ * + * int64 start_period = 1; * @return The startPeriod. */ long getStartPeriod(); /** - * sint64 end_period = 2; + *
+     * The end period number.
+     * 
+ * + * int64 end_period = 2; * @return The endPeriod. */ long getEndPeriod(); /** - * sint64 shares = 3; + *
+     * The weight of the proceeds on the current period of the scheme.
+     * 
+ * + * int64 shares = 3; * @return The shares. */ long getShares(); /** - * sint64 last_profit_period = 4; + *
+     * The last period number that the beneficiary received the profit.
+     * 
+ * + * int64 last_profit_period = 4; * @return The lastProfitPeriod. */ long getLastProfitPeriod(); /** + *
+     * Whether the weight  has been removed.
+     * 
+ * * bool is_weight_removed = 5; * @return The isWeightRemoved. */ @@ -7801,22 +8912,22 @@ private ProfitDetail( break; case 8: { - startPeriod_ = input.readSInt64(); + startPeriod_ = input.readInt64(); break; } case 16: { - endPeriod_ = input.readSInt64(); + endPeriod_ = input.readInt64(); break; } case 24: { - shares_ = input.readSInt64(); + shares_ = input.readInt64(); break; } case 32: { - lastProfitPeriod_ = input.readSInt64(); + lastProfitPeriod_ = input.readInt64(); break; } case 40: { @@ -7859,7 +8970,11 @@ private ProfitDetail( public static final int START_PERIOD_FIELD_NUMBER = 1; private long startPeriod_; /** - * sint64 start_period = 1; + *
+     * The start period number.
+     * 
+ * + * int64 start_period = 1; * @return The startPeriod. */ public long getStartPeriod() { @@ -7869,7 +8984,11 @@ public long getStartPeriod() { public static final int END_PERIOD_FIELD_NUMBER = 2; private long endPeriod_; /** - * sint64 end_period = 2; + *
+     * The end period number.
+     * 
+ * + * int64 end_period = 2; * @return The endPeriod. */ public long getEndPeriod() { @@ -7879,7 +8998,11 @@ public long getEndPeriod() { public static final int SHARES_FIELD_NUMBER = 3; private long shares_; /** - * sint64 shares = 3; + *
+     * The weight of the proceeds on the current period of the scheme.
+     * 
+ * + * int64 shares = 3; * @return The shares. */ public long getShares() { @@ -7889,7 +9012,11 @@ public long getShares() { public static final int LAST_PROFIT_PERIOD_FIELD_NUMBER = 4; private long lastProfitPeriod_; /** - * sint64 last_profit_period = 4; + *
+     * The last period number that the beneficiary received the profit.
+     * 
+ * + * int64 last_profit_period = 4; * @return The lastProfitPeriod. */ public long getLastProfitPeriod() { @@ -7899,6 +9026,10 @@ public long getLastProfitPeriod() { public static final int IS_WEIGHT_REMOVED_FIELD_NUMBER = 5; private boolean isWeightRemoved_; /** + *
+     * Whether the weight  has been removed.
+     * 
+ * * bool is_weight_removed = 5; * @return The isWeightRemoved. */ @@ -7921,16 +9052,16 @@ public final boolean isInitialized() { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startPeriod_ != 0L) { - output.writeSInt64(1, startPeriod_); + output.writeInt64(1, startPeriod_); } if (endPeriod_ != 0L) { - output.writeSInt64(2, endPeriod_); + output.writeInt64(2, endPeriod_); } if (shares_ != 0L) { - output.writeSInt64(3, shares_); + output.writeInt64(3, shares_); } if (lastProfitPeriod_ != 0L) { - output.writeSInt64(4, lastProfitPeriod_); + output.writeInt64(4, lastProfitPeriod_); } if (isWeightRemoved_ != false) { output.writeBool(5, isWeightRemoved_); @@ -7946,19 +9077,19 @@ public int getSerializedSize() { size = 0; if (startPeriod_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, startPeriod_); + .computeInt64Size(1, startPeriod_); } if (endPeriod_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, endPeriod_); + .computeInt64Size(2, endPeriod_); } if (shares_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, shares_); + .computeInt64Size(3, shares_); } if (lastProfitPeriod_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, lastProfitPeriod_); + .computeInt64Size(4, lastProfitPeriod_); } if (isWeightRemoved_ != false) { size += com.google.protobuf.CodedOutputStream @@ -8283,14 +9414,22 @@ public Builder mergeFrom( private long startPeriod_ ; /** - * sint64 start_period = 1; + *
+       * The start period number.
+       * 
+ * + * int64 start_period = 1; * @return The startPeriod. */ public long getStartPeriod() { return startPeriod_; } /** - * sint64 start_period = 1; + *
+       * The start period number.
+       * 
+ * + * int64 start_period = 1; * @param value The startPeriod to set. * @return This builder for chaining. */ @@ -8301,7 +9440,11 @@ public Builder setStartPeriod(long value) { return this; } /** - * sint64 start_period = 1; + *
+       * The start period number.
+       * 
+ * + * int64 start_period = 1; * @return This builder for chaining. */ public Builder clearStartPeriod() { @@ -8313,14 +9456,22 @@ public Builder clearStartPeriod() { private long endPeriod_ ; /** - * sint64 end_period = 2; + *
+       * The end period number.
+       * 
+ * + * int64 end_period = 2; * @return The endPeriod. */ public long getEndPeriod() { return endPeriod_; } /** - * sint64 end_period = 2; + *
+       * The end period number.
+       * 
+ * + * int64 end_period = 2; * @param value The endPeriod to set. * @return This builder for chaining. */ @@ -8331,7 +9482,11 @@ public Builder setEndPeriod(long value) { return this; } /** - * sint64 end_period = 2; + *
+       * The end period number.
+       * 
+ * + * int64 end_period = 2; * @return This builder for chaining. */ public Builder clearEndPeriod() { @@ -8343,14 +9498,22 @@ public Builder clearEndPeriod() { private long shares_ ; /** - * sint64 shares = 3; + *
+       * The weight of the proceeds on the current period of the scheme.
+       * 
+ * + * int64 shares = 3; * @return The shares. */ public long getShares() { return shares_; } /** - * sint64 shares = 3; + *
+       * The weight of the proceeds on the current period of the scheme.
+       * 
+ * + * int64 shares = 3; * @param value The shares to set. * @return This builder for chaining. */ @@ -8361,7 +9524,11 @@ public Builder setShares(long value) { return this; } /** - * sint64 shares = 3; + *
+       * The weight of the proceeds on the current period of the scheme.
+       * 
+ * + * int64 shares = 3; * @return This builder for chaining. */ public Builder clearShares() { @@ -8373,14 +9540,22 @@ public Builder clearShares() { private long lastProfitPeriod_ ; /** - * sint64 last_profit_period = 4; + *
+       * The last period number that the beneficiary received the profit.
+       * 
+ * + * int64 last_profit_period = 4; * @return The lastProfitPeriod. */ public long getLastProfitPeriod() { return lastProfitPeriod_; } /** - * sint64 last_profit_period = 4; + *
+       * The last period number that the beneficiary received the profit.
+       * 
+ * + * int64 last_profit_period = 4; * @param value The lastProfitPeriod to set. * @return This builder for chaining. */ @@ -8391,7 +9566,11 @@ public Builder setLastProfitPeriod(long value) { return this; } /** - * sint64 last_profit_period = 4; + *
+       * The last period number that the beneficiary received the profit.
+       * 
+ * + * int64 last_profit_period = 4; * @return This builder for chaining. */ public Builder clearLastProfitPeriod() { @@ -8403,6 +9582,10 @@ public Builder clearLastProfitPeriod() { private boolean isWeightRemoved_ ; /** + *
+       * Whether the weight  has been removed.
+       * 
+ * * bool is_weight_removed = 5; * @return The isWeightRemoved. */ @@ -8410,6 +9593,10 @@ public boolean getIsWeightRemoved() { return isWeightRemoved_; } /** + *
+       * Whether the weight  has been removed.
+       * 
+ * * bool is_weight_removed = 5; * @param value The isWeightRemoved to set. * @return This builder for chaining. @@ -8421,6 +9608,10 @@ public Builder setIsWeightRemoved(boolean value) { return this; } /** + *
+       * Whether the weight  has been removed.
+       * 
+ * * bool is_weight_removed = 5; * @return This builder for chaining. */ @@ -8488,31 +9679,58 @@ public interface ClaimProfitsInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ boolean hasSchemeId(); /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ io.aelf.protobuf.generated.Client.Hash getSchemeId(); /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder(); /** - * string symbol = 2; - * @return The symbol. + *
+     * The address of beneficiary.
+     * 
+ * + * .Address beneficiary = 2; + * @return Whether the beneficiary field is set. + */ + boolean hasBeneficiary(); + /** + *
+     * The address of beneficiary.
+     * 
+ * + * .Address beneficiary = 2; + * @return The beneficiary. */ - java.lang.String getSymbol(); + io.aelf.protobuf.generated.Client.Address getBeneficiary(); /** - * string symbol = 2; - * @return The bytes for symbol. + *
+     * The address of beneficiary.
+     * 
+ * + * .Address beneficiary = 2; */ - com.google.protobuf.ByteString - getSymbolBytes(); + io.aelf.protobuf.generated.Client.AddressOrBuilder getBeneficiaryOrBuilder(); } /** * Protobuf type {@code ClaimProfitsInput} @@ -8527,7 +9745,6 @@ private ClaimProfitsInput(com.google.protobuf.GeneratedMessageV3.Builder buil super(builder); } private ClaimProfitsInput() { - symbol_ = ""; } @java.lang.Override @@ -8574,9 +9791,16 @@ private ClaimProfitsInput( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; + if (beneficiary_ != null) { + subBuilder = beneficiary_.toBuilder(); + } + beneficiary_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(beneficiary_); + beneficiary_ = subBuilder.buildPartial(); + } - symbol_ = s; break; } default: { @@ -8614,6 +9838,10 @@ private ClaimProfitsInput( public static final int SCHEME_ID_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Hash schemeId_; /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ @@ -8621,6 +9849,10 @@ public boolean hasSchemeId() { return schemeId_ != null; } /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ @@ -8628,46 +9860,49 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { return schemeId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : schemeId_; } /** + *
+     * The scheme id.
+     * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { return getSchemeId(); } - public static final int SYMBOL_FIELD_NUMBER = 2; - private volatile java.lang.Object symbol_; + public static final int BENEFICIARY_FIELD_NUMBER = 2; + private io.aelf.protobuf.generated.Client.Address beneficiary_; + /** + *
+     * The address of beneficiary.
+     * 
+ * + * .Address beneficiary = 2; + * @return Whether the beneficiary field is set. + */ + public boolean hasBeneficiary() { + return beneficiary_ != null; + } /** - * string symbol = 2; - * @return The symbol. + *
+     * The address of beneficiary.
+     * 
+ * + * .Address beneficiary = 2; + * @return The beneficiary. */ - public java.lang.String getSymbol() { - java.lang.Object ref = symbol_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbol_ = s; - return s; - } + public io.aelf.protobuf.generated.Client.Address getBeneficiary() { + return beneficiary_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : beneficiary_; } /** - * string symbol = 2; - * @return The bytes for symbol. + *
+     * The address of beneficiary.
+     * 
+ * + * .Address beneficiary = 2; */ - public com.google.protobuf.ByteString - getSymbolBytes() { - java.lang.Object ref = symbol_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - symbol_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public io.aelf.protobuf.generated.Client.AddressOrBuilder getBeneficiaryOrBuilder() { + return getBeneficiary(); } private byte memoizedIsInitialized = -1; @@ -8687,8 +9922,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (schemeId_ != null) { output.writeMessage(1, getSchemeId()); } - if (!getSymbolBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbol_); + if (beneficiary_ != null) { + output.writeMessage(2, getBeneficiary()); } unknownFields.writeTo(output); } @@ -8703,8 +9938,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSchemeId()); } - if (!getSymbolBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbol_); + if (beneficiary_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getBeneficiary()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8726,8 +9962,11 @@ public boolean equals(final java.lang.Object obj) { if (!getSchemeId() .equals(other.getSchemeId())) return false; } - if (!getSymbol() - .equals(other.getSymbol())) return false; + if (hasBeneficiary() != other.hasBeneficiary()) return false; + if (hasBeneficiary()) { + if (!getBeneficiary() + .equals(other.getBeneficiary())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8743,8 +9982,10 @@ public int hashCode() { hash = (37 * hash) + SCHEME_ID_FIELD_NUMBER; hash = (53 * hash) + getSchemeId().hashCode(); } - hash = (37 * hash) + SYMBOL_FIELD_NUMBER; - hash = (53 * hash) + getSymbol().hashCode(); + if (hasBeneficiary()) { + hash = (37 * hash) + BENEFICIARY_FIELD_NUMBER; + hash = (53 * hash) + getBeneficiary().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -8884,8 +10125,12 @@ public Builder clear() { schemeId_ = null; schemeIdBuilder_ = null; } - symbol_ = ""; - + if (beneficiaryBuilder_ == null) { + beneficiary_ = null; + } else { + beneficiary_ = null; + beneficiaryBuilder_ = null; + } return this; } @@ -8917,7 +10162,11 @@ public io.aelf.protobuf.generated.ProfitContract.ClaimProfitsInput buildPartial( } else { result.schemeId_ = schemeIdBuilder_.build(); } - result.symbol_ = symbol_; + if (beneficiaryBuilder_ == null) { + result.beneficiary_ = beneficiary_; + } else { + result.beneficiary_ = beneficiaryBuilder_.build(); + } onBuilt(); return result; } @@ -8969,9 +10218,8 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ProfitContract.ClaimProfitsI if (other.hasSchemeId()) { mergeSchemeId(other.getSchemeId()); } - if (!other.getSymbol().isEmpty()) { - symbol_ = other.symbol_; - onChanged(); + if (other.hasBeneficiary()) { + mergeBeneficiary(other.getBeneficiary()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -9006,6 +10254,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> schemeIdBuilder_; /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; * @return Whether the schemeId field is set. */ @@ -9013,6 +10265,10 @@ public boolean hasSchemeId() { return schemeIdBuilder_ != null || schemeId_ != null; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; * @return The schemeId. */ @@ -9024,6 +10280,10 @@ public io.aelf.protobuf.generated.Client.Hash getSchemeId() { } } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -9040,6 +10300,10 @@ public Builder setSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder setSchemeId( @@ -9054,6 +10318,10 @@ public Builder setSchemeId( return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { @@ -9072,6 +10340,10 @@ public Builder mergeSchemeId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public Builder clearSchemeId() { @@ -9086,6 +10358,10 @@ public Builder clearSchemeId() { return this; } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { @@ -9094,6 +10370,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getSchemeIdBuilder() { return getSchemeIdFieldBuilder().getBuilder(); } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { @@ -9105,6 +10385,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { } } /** + *
+       * The scheme id.
+       * 
+ * * .Hash scheme_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -9121,80 +10405,159 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getSchemeIdOrBuilder() { return schemeIdBuilder_; } - private java.lang.Object symbol_ = ""; + private io.aelf.protobuf.generated.Client.Address beneficiary_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> beneficiaryBuilder_; + /** + *
+       * The address of beneficiary.
+       * 
+ * + * .Address beneficiary = 2; + * @return Whether the beneficiary field is set. + */ + public boolean hasBeneficiary() { + return beneficiaryBuilder_ != null || beneficiary_ != null; + } + /** + *
+       * The address of beneficiary.
+       * 
+ * + * .Address beneficiary = 2; + * @return The beneficiary. + */ + public io.aelf.protobuf.generated.Client.Address getBeneficiary() { + if (beneficiaryBuilder_ == null) { + return beneficiary_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : beneficiary_; + } else { + return beneficiaryBuilder_.getMessage(); + } + } /** - * string symbol = 2; - * @return The symbol. + *
+       * The address of beneficiary.
+       * 
+ * + * .Address beneficiary = 2; */ - public java.lang.String getSymbol() { - java.lang.Object ref = symbol_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - symbol_ = s; - return s; + public Builder setBeneficiary(io.aelf.protobuf.generated.Client.Address value) { + if (beneficiaryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + beneficiary_ = value; + onChanged(); } else { - return (java.lang.String) ref; + beneficiaryBuilder_.setMessage(value); } + + return this; } /** - * string symbol = 2; - * @return The bytes for symbol. + *
+       * The address of beneficiary.
+       * 
+ * + * .Address beneficiary = 2; */ - public com.google.protobuf.ByteString - getSymbolBytes() { - java.lang.Object ref = symbol_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - symbol_ = b; - return b; + public Builder setBeneficiary( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (beneficiaryBuilder_ == null) { + beneficiary_ = builderForValue.build(); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + beneficiaryBuilder_.setMessage(builderForValue.build()); } + + return this; } /** - * string symbol = 2; - * @param value The symbol to set. - * @return This builder for chaining. + *
+       * The address of beneficiary.
+       * 
+ * + * .Address beneficiary = 2; */ - public Builder setSymbol( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - symbol_ = value; - onChanged(); + public Builder mergeBeneficiary(io.aelf.protobuf.generated.Client.Address value) { + if (beneficiaryBuilder_ == null) { + if (beneficiary_ != null) { + beneficiary_ = + io.aelf.protobuf.generated.Client.Address.newBuilder(beneficiary_).mergeFrom(value).buildPartial(); + } else { + beneficiary_ = value; + } + onChanged(); + } else { + beneficiaryBuilder_.mergeFrom(value); + } + return this; } /** - * string symbol = 2; - * @return This builder for chaining. + *
+       * The address of beneficiary.
+       * 
+ * + * .Address beneficiary = 2; */ - public Builder clearSymbol() { - - symbol_ = getDefaultInstance().getSymbol(); - onChanged(); + public Builder clearBeneficiary() { + if (beneficiaryBuilder_ == null) { + beneficiary_ = null; + onChanged(); + } else { + beneficiary_ = null; + beneficiaryBuilder_ = null; + } + return this; } /** - * string symbol = 2; - * @param value The bytes for symbol to set. - * @return This builder for chaining. + *
+       * The address of beneficiary.
+       * 
+ * + * .Address beneficiary = 2; */ - public Builder setSymbolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public io.aelf.protobuf.generated.Client.Address.Builder getBeneficiaryBuilder() { - symbol_ = value; onChanged(); - return this; + return getBeneficiaryFieldBuilder().getBuilder(); + } + /** + *
+       * The address of beneficiary.
+       * 
+ * + * .Address beneficiary = 2; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getBeneficiaryOrBuilder() { + if (beneficiaryBuilder_ != null) { + return beneficiaryBuilder_.getMessageOrBuilder(); + } else { + return beneficiary_ == null ? + io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : beneficiary_; + } + } + /** + *
+       * The address of beneficiary.
+       * 
+ * + * .Address beneficiary = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getBeneficiaryFieldBuilder() { + if (beneficiaryBuilder_ == null) { + beneficiaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + getBeneficiary(), + getParentForChildren(), + isClean()); + beneficiary_ = null; + } + return beneficiaryBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -9269,11 +10632,6 @@ public io.aelf.protobuf.generated.ProfitContract.ClaimProfitsInput getDefaultIns private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Scheme_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Scheme_UndistributedProfitsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_Scheme_UndistributedProfitsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Scheme_CachedDelayTotalSharesEntry_descriptor; private static final @@ -9290,10 +10648,10 @@ public io.aelf.protobuf.generated.ProfitContract.ClaimProfitsInput getDefaultIns com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DistributedProfitsInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_DistributedProfitsInfo_ProfitsAmountEntry_descriptor; + internal_static_DistributedProfitsInfo_AmountsMapEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_DistributedProfitsInfo_ProfitsAmountEntry_fieldAccessorTable; + internal_static_DistributedProfitsInfo_AmountsMapEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_GetProfitDetailsInput_descriptor; private static final @@ -9328,37 +10686,35 @@ public io.aelf.protobuf.generated.ProfitContract.ClaimProfitsInput getDefaultIns "Hash\"6\n\031GetManagingSchemeIdsInput\022\031\n\007man" + "ager\030\001 \001(\0132\010.Address\"B\n\026SchemeBeneficiar" + "yShare\022\030\n\tscheme_id\030\001 \001(\0132\005.Hash\022\016\n\006shar" + - "es\030\002 \001(\022\"\312\004\n\006Scheme\022!\n\017virtual_address\030\001" + - " \001(\0132\010.Address\022\024\n\014total_shares\030\002 \001(\022\022@\n\025" + - "undistributed_profits\030\003 \003(\0132!.Scheme.Und" + - "istributedProfitsEntry\022\026\n\016current_period" + - "\030\004 \001(\022\022,\n\013sub_schemes\030\005 \003(\0132\027.SchemeBene" + - "ficiaryShare\022)\n!profit_receiving_due_per" + - "iod_count\030\007 \001(\022\0224\n,is_release_all_balanc" + - "e_every_time_by_default\030\010 \001(\010\022\030\n\tscheme_" + - "id\030\t \001(\0132\005.Hash\022%\n\035delay_distribute_peri" + - "od_count\030\n \001(\021\022F\n\031cached_delay_total_sha" + - "res\030\013 \003(\0132#.Scheme.CachedDelayTotalShare" + - "sEntry\022\031\n\007manager\030\014 \001(\0132\010.Address\032;\n\031Und" + - "istributedProfitsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + - "alue\030\002 \001(\022:\0028\001\032=\n\033CachedDelayTotalShares" + - "Entry\022\013\n\003key\030\001 \001(\022\022\r\n\005value\030\002 \001(\022:\0028\001\"8\n" + - "\014SchemePeriod\022\030\n\tscheme_id\030\001 \001(\0132\005.Hash\022" + - "\016\n\006period\030\002 \001(\022\"\275\001\n\026DistributedProfitsIn" + - "fo\022\024\n\014total_shares\030\001 \001(\022\022B\n\016profits_amou" + - "nt\030\002 \003(\0132*.DistributedProfitsInfo.Profit" + - "sAmountEntry\022\023\n\013is_released\030\003 \001(\010\0324\n\022Pro" + - "fitsAmountEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + - "\001(\022:\0028\001\"P\n\025GetProfitDetailsInput\022\030\n\tsche" + - "me_id\030\001 \001(\0132\005.Hash\022\035\n\013beneficiary\030\002 \001(\0132" + - "\010.Address\"/\n\rProfitDetails\022\036\n\007details\030\001 " + - "\003(\0132\r.ProfitDetail\"\177\n\014ProfitDetail\022\024\n\014st" + - "art_period\030\001 \001(\022\022\022\n\nend_period\030\002 \001(\022\022\016\n\006" + - "shares\030\003 \001(\022\022\032\n\022last_profit_period\030\004 \001(\022" + - "\022\031\n\021is_weight_removed\030\005 \001(\010\"=\n\021ClaimProf" + - "itsInput\022\030\n\tscheme_id\030\001 \001(\0132\005.Hash\022\016\n\006sy" + - "mbol\030\002 \001(\tB\034\n\032io.aelf.protobuf.generated" + - "b\006proto3" + "es\030\002 \001(\003\"\224\004\n\006Scheme\022!\n\017virtual_address\030\001" + + " \001(\0132\010.Address\022\024\n\014total_shares\030\002 \001(\003\022\031\n\007" + + "manager\030\003 \001(\0132\010.Address\022\026\n\016current_perio" + + "d\030\004 \001(\003\022,\n\013sub_schemes\030\005 \003(\0132\027.SchemeBen" + + "eficiaryShare\022\'\n\037can_remove_beneficiary_" + + "directly\030\006 \001(\010\022)\n!profit_receiving_due_p" + + "eriod_count\030\007 \001(\003\0224\n,is_release_all_bala" + + "nce_every_time_by_default\030\010 \001(\010\022\030\n\tschem" + + "e_id\030\t \001(\0132\005.Hash\022%\n\035delay_distribute_pe" + + "riod_count\030\n \001(\005\022F\n\031cached_delay_total_s" + + "hares\030\013 \003(\0132#.Scheme.CachedDelayTotalSha" + + "resEntry\022\036\n\026received_token_symbols\030\014 \003(\t" + + "\032=\n\033CachedDelayTotalSharesEntry\022\013\n\003key\030\001" + + " \001(\003\022\r\n\005value\030\002 \001(\003:\0028\001\"8\n\014SchemePeriod\022" + + "\030\n\tscheme_id\030\001 \001(\0132\005.Hash\022\016\n\006period\030\002 \001(" + + "\003\"\264\001\n\026DistributedProfitsInfo\022\024\n\014total_sh" + + "ares\030\001 \001(\003\022<\n\013amounts_map\030\002 \003(\0132\'.Distri" + + "butedProfitsInfo.AmountsMapEntry\022\023\n\013is_r" + + "eleased\030\003 \001(\010\0321\n\017AmountsMapEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\022:\0028\001\"P\n\025GetProfitDet" + + "ailsInput\022\030\n\tscheme_id\030\001 \001(\0132\005.Hash\022\035\n\013b" + + "eneficiary\030\002 \001(\0132\010.Address\"/\n\rProfitDeta" + + "ils\022\036\n\007details\030\001 \003(\0132\r.ProfitDetail\"\177\n\014P" + + "rofitDetail\022\024\n\014start_period\030\001 \001(\003\022\022\n\nend" + + "_period\030\002 \001(\003\022\016\n\006shares\030\003 \001(\003\022\032\n\022last_pr" + + "ofit_period\030\004 \001(\003\022\031\n\021is_weight_removed\030\005" + + " \001(\010\"L\n\021ClaimProfitsInput\022\030\n\tscheme_id\030\001" + + " \001(\0132\005.Hash\022\035\n\013beneficiary\030\002 \001(\0132\010.Addre" + + "ssB\034\n\032io.aelf.protobuf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -9388,15 +10744,9 @@ public io.aelf.protobuf.generated.ProfitContract.ClaimProfitsInput getDefaultIns internal_static_Scheme_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Scheme_descriptor, - new java.lang.String[] { "VirtualAddress", "TotalShares", "UndistributedProfits", "CurrentPeriod", "SubSchemes", "ProfitReceivingDuePeriodCount", "IsReleaseAllBalanceEveryTimeByDefault", "SchemeId", "DelayDistributePeriodCount", "CachedDelayTotalShares", "Manager", }); - internal_static_Scheme_UndistributedProfitsEntry_descriptor = - internal_static_Scheme_descriptor.getNestedTypes().get(0); - internal_static_Scheme_UndistributedProfitsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_Scheme_UndistributedProfitsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); + new java.lang.String[] { "VirtualAddress", "TotalShares", "Manager", "CurrentPeriod", "SubSchemes", "CanRemoveBeneficiaryDirectly", "ProfitReceivingDuePeriodCount", "IsReleaseAllBalanceEveryTimeByDefault", "SchemeId", "DelayDistributePeriodCount", "CachedDelayTotalShares", "ReceivedTokenSymbols", }); internal_static_Scheme_CachedDelayTotalSharesEntry_descriptor = - internal_static_Scheme_descriptor.getNestedTypes().get(1); + internal_static_Scheme_descriptor.getNestedTypes().get(0); internal_static_Scheme_CachedDelayTotalSharesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Scheme_CachedDelayTotalSharesEntry_descriptor, @@ -9412,12 +10762,12 @@ public io.aelf.protobuf.generated.ProfitContract.ClaimProfitsInput getDefaultIns internal_static_DistributedProfitsInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DistributedProfitsInfo_descriptor, - new java.lang.String[] { "TotalShares", "ProfitsAmount", "IsReleased", }); - internal_static_DistributedProfitsInfo_ProfitsAmountEntry_descriptor = + new java.lang.String[] { "TotalShares", "AmountsMap", "IsReleased", }); + internal_static_DistributedProfitsInfo_AmountsMapEntry_descriptor = internal_static_DistributedProfitsInfo_descriptor.getNestedTypes().get(0); - internal_static_DistributedProfitsInfo_ProfitsAmountEntry_fieldAccessorTable = new + internal_static_DistributedProfitsInfo_AmountsMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_DistributedProfitsInfo_ProfitsAmountEntry_descriptor, + internal_static_DistributedProfitsInfo_AmountsMapEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_GetProfitDetailsInput_descriptor = getDescriptor().getMessageTypes().get(6); @@ -9442,7 +10792,7 @@ public io.aelf.protobuf.generated.ProfitContract.ClaimProfitsInput getDefaultIns internal_static_ClaimProfitsInput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ClaimProfitsInput_descriptor, - new java.lang.String[] { "SchemeId", "Symbol", }); + new java.lang.String[] { "SchemeId", "Beneficiary", }); io.aelf.protobuf.generated.Client.getDescriptor(); } diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/ReferendumAuthContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/ReferendumAuthContract.java index 2db2924..bb11fd1 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/ReferendumAuthContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/ReferendumAuthContract.java @@ -19,17 +19,46 @@ public interface OrganizationOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * int64 release_threshold = 1; - * @return The releaseThreshold. + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + * @return Whether the proposalReleaseThreshold field is set. */ - long getReleaseThreshold(); + boolean hasProposalReleaseThreshold(); + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + * @return The proposalReleaseThreshold. + */ + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getProposalReleaseThreshold(); + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + */ + io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder getProposalReleaseThresholdOrBuilder(); /** + *
+     * The token used during proposal operations.
+     * 
+ * * string token_symbol = 2; * @return The tokenSymbol. */ java.lang.String getTokenSymbol(); /** + *
+     * The token used during proposal operations.
+     * 
+ * * string token_symbol = 2; * @return The bytes for tokenSymbol. */ @@ -37,34 +66,112 @@ public interface OrganizationOrBuilder extends getTokenSymbolBytes(); /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 3; * @return Whether the organizationAddress field is set. */ boolean hasOrganizationAddress(); /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 3; * @return The organizationAddress. */ io.aelf.protobuf.generated.Client.Address getOrganizationAddress(); /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 3; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder(); /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 4; * @return Whether the organizationHash field is set. */ boolean hasOrganizationHash(); /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 4; * @return The organizationHash. */ io.aelf.protobuf.generated.Client.Hash getOrganizationHash(); /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 4; */ io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuilder(); + + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + * @return Whether the proposerWhiteList field is set. + */ + boolean hasProposerWhiteList(); + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + * @return The proposerWhiteList. + */ + io.aelf.protobuf.generated.Client.ProposerWhiteList getProposerWhiteList(); + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + */ + io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder getProposerWhiteListOrBuilder(); + + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return Whether the creationToken field is set. + */ + boolean hasCreationToken(); + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return The creationToken. + */ + io.aelf.protobuf.generated.Client.Hash getCreationToken(); + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + */ + io.aelf.protobuf.generated.Client.HashOrBuilder getCreationTokenOrBuilder(); } /** * Protobuf type {@code Organization} @@ -112,9 +219,17 @@ private Organization( case 0: done = true; break; - case 8: { + case 10: { + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder subBuilder = null; + if (proposalReleaseThreshold_ != null) { + subBuilder = proposalReleaseThreshold_.toBuilder(); + } + proposalReleaseThreshold_ = input.readMessage(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(proposalReleaseThreshold_); + proposalReleaseThreshold_ = subBuilder.buildPartial(); + } - releaseThreshold_ = input.readInt64(); break; } case 18: { @@ -149,6 +264,32 @@ private Organization( break; } + case 42: { + io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder subBuilder = null; + if (proposerWhiteList_ != null) { + subBuilder = proposerWhiteList_.toBuilder(); + } + proposerWhiteList_ = input.readMessage(io.aelf.protobuf.generated.Client.ProposerWhiteList.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(proposerWhiteList_); + proposerWhiteList_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; + if (creationToken_ != null) { + subBuilder = creationToken_.toBuilder(); + } + creationToken_ = input.readMessage(io.aelf.protobuf.generated.Client.Hash.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(creationToken_); + creationToken_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -181,19 +322,48 @@ private Organization( io.aelf.protobuf.generated.ReferendumAuthContract.Organization.class, io.aelf.protobuf.generated.ReferendumAuthContract.Organization.Builder.class); } - public static final int RELEASE_THRESHOLD_FIELD_NUMBER = 1; - private long releaseThreshold_; + public static final int PROPOSAL_RELEASE_THRESHOLD_FIELD_NUMBER = 1; + private io.aelf.protobuf.generated.Client.ProposalReleaseThreshold proposalReleaseThreshold_; /** - * int64 release_threshold = 1; - * @return The releaseThreshold. + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + * @return Whether the proposalReleaseThreshold field is set. */ - public long getReleaseThreshold() { - return releaseThreshold_; + public boolean hasProposalReleaseThreshold() { + return proposalReleaseThreshold_ != null; + } + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + * @return The proposalReleaseThreshold. + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getProposalReleaseThreshold() { + return proposalReleaseThreshold_ == null ? io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance() : proposalReleaseThreshold_; + } + /** + *
+     * The threshold for releasing the proposal.
+     * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder getProposalReleaseThresholdOrBuilder() { + return getProposalReleaseThreshold(); } public static final int TOKEN_SYMBOL_FIELD_NUMBER = 2; private volatile java.lang.Object tokenSymbol_; /** + *
+     * The token used during proposal operations.
+     * 
+ * * string token_symbol = 2; * @return The tokenSymbol. */ @@ -210,6 +380,10 @@ public java.lang.String getTokenSymbol() { } } /** + *
+     * The token used during proposal operations.
+     * 
+ * * string token_symbol = 2; * @return The bytes for tokenSymbol. */ @@ -230,6 +404,10 @@ public java.lang.String getTokenSymbol() { public static final int ORGANIZATION_ADDRESS_FIELD_NUMBER = 3; private io.aelf.protobuf.generated.Client.Address organizationAddress_; /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 3; * @return Whether the organizationAddress field is set. */ @@ -237,6 +415,10 @@ public boolean hasOrganizationAddress() { return organizationAddress_ != null; } /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 3; * @return The organizationAddress. */ @@ -244,6 +426,10 @@ public io.aelf.protobuf.generated.Client.Address getOrganizationAddress() { return organizationAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : organizationAddress_; } /** + *
+     * The address of organization.
+     * 
+ * * .Address organization_address = 3; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder() { @@ -253,6 +439,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress public static final int ORGANIZATION_HASH_FIELD_NUMBER = 4; private io.aelf.protobuf.generated.Client.Hash organizationHash_; /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 4; * @return Whether the organizationHash field is set. */ @@ -260,6 +450,10 @@ public boolean hasOrganizationHash() { return organizationHash_ != null; } /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 4; * @return The organizationHash. */ @@ -267,12 +461,86 @@ public io.aelf.protobuf.generated.Client.Hash getOrganizationHash() { return organizationHash_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : organizationHash_; } /** + *
+     * The organizations id.
+     * 
+ * * .Hash organization_hash = 4; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuilder() { return getOrganizationHash(); } + public static final int PROPOSER_WHITE_LIST_FIELD_NUMBER = 5; + private io.aelf.protobuf.generated.Client.ProposerWhiteList proposerWhiteList_; + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + * @return Whether the proposerWhiteList field is set. + */ + public boolean hasProposerWhiteList() { + return proposerWhiteList_ != null; + } + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + * @return The proposerWhiteList. + */ + public io.aelf.protobuf.generated.Client.ProposerWhiteList getProposerWhiteList() { + return proposerWhiteList_ == null ? io.aelf.protobuf.generated.Client.ProposerWhiteList.getDefaultInstance() : proposerWhiteList_; + } + /** + *
+     * The proposer whitelist.
+     * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + */ + public io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder getProposerWhiteListOrBuilder() { + return getProposerWhiteList(); + } + + public static final int CREATION_TOKEN_FIELD_NUMBER = 6; + private io.aelf.protobuf.generated.Client.Hash creationToken_; + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return Whether the creationToken field is set. + */ + public boolean hasCreationToken() { + return creationToken_ != null; + } + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + * @return The creationToken. + */ + public io.aelf.protobuf.generated.Client.Hash getCreationToken() { + return creationToken_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : creationToken_; + } + /** + *
+     * The creation token is for organization address generation.
+     * 
+ * + * .Hash creation_token = 6; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getCreationTokenOrBuilder() { + return getCreationToken(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -287,8 +555,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (releaseThreshold_ != 0L) { - output.writeInt64(1, releaseThreshold_); + if (proposalReleaseThreshold_ != null) { + output.writeMessage(1, getProposalReleaseThreshold()); } if (!getTokenSymbolBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tokenSymbol_); @@ -299,6 +567,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (organizationHash_ != null) { output.writeMessage(4, getOrganizationHash()); } + if (proposerWhiteList_ != null) { + output.writeMessage(5, getProposerWhiteList()); + } + if (creationToken_ != null) { + output.writeMessage(6, getCreationToken()); + } unknownFields.writeTo(output); } @@ -308,9 +582,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (releaseThreshold_ != 0L) { + if (proposalReleaseThreshold_ != null) { size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, releaseThreshold_); + .computeMessageSize(1, getProposalReleaseThreshold()); } if (!getTokenSymbolBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tokenSymbol_); @@ -323,6 +597,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getOrganizationHash()); } + if (proposerWhiteList_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getProposerWhiteList()); + } + if (creationToken_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreationToken()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -338,8 +620,11 @@ public boolean equals(final java.lang.Object obj) { } io.aelf.protobuf.generated.ReferendumAuthContract.Organization other = (io.aelf.protobuf.generated.ReferendumAuthContract.Organization) obj; - if (getReleaseThreshold() - != other.getReleaseThreshold()) return false; + if (hasProposalReleaseThreshold() != other.hasProposalReleaseThreshold()) return false; + if (hasProposalReleaseThreshold()) { + if (!getProposalReleaseThreshold() + .equals(other.getProposalReleaseThreshold())) return false; + } if (!getTokenSymbol() .equals(other.getTokenSymbol())) return false; if (hasOrganizationAddress() != other.hasOrganizationAddress()) return false; @@ -352,6 +637,16 @@ public boolean equals(final java.lang.Object obj) { if (!getOrganizationHash() .equals(other.getOrganizationHash())) return false; } + if (hasProposerWhiteList() != other.hasProposerWhiteList()) return false; + if (hasProposerWhiteList()) { + if (!getProposerWhiteList() + .equals(other.getProposerWhiteList())) return false; + } + if (hasCreationToken() != other.hasCreationToken()) return false; + if (hasCreationToken()) { + if (!getCreationToken() + .equals(other.getCreationToken())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,9 +658,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RELEASE_THRESHOLD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getReleaseThreshold()); + if (hasProposalReleaseThreshold()) { + hash = (37 * hash) + PROPOSAL_RELEASE_THRESHOLD_FIELD_NUMBER; + hash = (53 * hash) + getProposalReleaseThreshold().hashCode(); + } hash = (37 * hash) + TOKEN_SYMBOL_FIELD_NUMBER; hash = (53 * hash) + getTokenSymbol().hashCode(); if (hasOrganizationAddress()) { @@ -376,6 +672,14 @@ public int hashCode() { hash = (37 * hash) + ORGANIZATION_HASH_FIELD_NUMBER; hash = (53 * hash) + getOrganizationHash().hashCode(); } + if (hasProposerWhiteList()) { + hash = (37 * hash) + PROPOSER_WHITE_LIST_FIELD_NUMBER; + hash = (53 * hash) + getProposerWhiteList().hashCode(); + } + if (hasCreationToken()) { + hash = (37 * hash) + CREATION_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getCreationToken().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -509,8 +813,12 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - releaseThreshold_ = 0L; - + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThreshold_ = null; + } else { + proposalReleaseThreshold_ = null; + proposalReleaseThresholdBuilder_ = null; + } tokenSymbol_ = ""; if (organizationAddressBuilder_ == null) { @@ -525,6 +833,18 @@ public Builder clear() { organizationHash_ = null; organizationHashBuilder_ = null; } + if (proposerWhiteListBuilder_ == null) { + proposerWhiteList_ = null; + } else { + proposerWhiteList_ = null; + proposerWhiteListBuilder_ = null; + } + if (creationTokenBuilder_ == null) { + creationToken_ = null; + } else { + creationToken_ = null; + creationTokenBuilder_ = null; + } return this; } @@ -551,7 +871,11 @@ public io.aelf.protobuf.generated.ReferendumAuthContract.Organization build() { @java.lang.Override public io.aelf.protobuf.generated.ReferendumAuthContract.Organization buildPartial() { io.aelf.protobuf.generated.ReferendumAuthContract.Organization result = new io.aelf.protobuf.generated.ReferendumAuthContract.Organization(this); - result.releaseThreshold_ = releaseThreshold_; + if (proposalReleaseThresholdBuilder_ == null) { + result.proposalReleaseThreshold_ = proposalReleaseThreshold_; + } else { + result.proposalReleaseThreshold_ = proposalReleaseThresholdBuilder_.build(); + } result.tokenSymbol_ = tokenSymbol_; if (organizationAddressBuilder_ == null) { result.organizationAddress_ = organizationAddress_; @@ -563,6 +887,16 @@ public io.aelf.protobuf.generated.ReferendumAuthContract.Organization buildParti } else { result.organizationHash_ = organizationHashBuilder_.build(); } + if (proposerWhiteListBuilder_ == null) { + result.proposerWhiteList_ = proposerWhiteList_; + } else { + result.proposerWhiteList_ = proposerWhiteListBuilder_.build(); + } + if (creationTokenBuilder_ == null) { + result.creationToken_ = creationToken_; + } else { + result.creationToken_ = creationTokenBuilder_.build(); + } onBuilt(); return result; } @@ -611,8 +945,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(io.aelf.protobuf.generated.ReferendumAuthContract.Organization other) { if (other == io.aelf.protobuf.generated.ReferendumAuthContract.Organization.getDefaultInstance()) return this; - if (other.getReleaseThreshold() != 0L) { - setReleaseThreshold(other.getReleaseThreshold()); + if (other.hasProposalReleaseThreshold()) { + mergeProposalReleaseThreshold(other.getProposalReleaseThreshold()); } if (!other.getTokenSymbol().isEmpty()) { tokenSymbol_ = other.tokenSymbol_; @@ -624,6 +958,12 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ReferendumAuthContract.Organ if (other.hasOrganizationHash()) { mergeOrganizationHash(other.getOrganizationHash()); } + if (other.hasProposerWhiteList()) { + mergeProposerWhiteList(other.getProposerWhiteList()); + } + if (other.hasCreationToken()) { + mergeCreationToken(other.getCreationToken()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -653,38 +993,167 @@ public Builder mergeFrom( return this; } - private long releaseThreshold_ ; + private io.aelf.protobuf.generated.Client.ProposalReleaseThreshold proposalReleaseThreshold_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder, io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder> proposalReleaseThresholdBuilder_; /** - * int64 release_threshold = 1; - * @return The releaseThreshold. + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + * @return Whether the proposalReleaseThreshold field is set. */ - public long getReleaseThreshold() { - return releaseThreshold_; + public boolean hasProposalReleaseThreshold() { + return proposalReleaseThresholdBuilder_ != null || proposalReleaseThreshold_ != null; } /** - * int64 release_threshold = 1; - * @param value The releaseThreshold to set. - * @return This builder for chaining. + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + * @return The proposalReleaseThreshold. */ - public Builder setReleaseThreshold(long value) { - - releaseThreshold_ = value; - onChanged(); + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold getProposalReleaseThreshold() { + if (proposalReleaseThresholdBuilder_ == null) { + return proposalReleaseThreshold_ == null ? io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance() : proposalReleaseThreshold_; + } else { + return proposalReleaseThresholdBuilder_.getMessage(); + } + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + */ + public Builder setProposalReleaseThreshold(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold value) { + if (proposalReleaseThresholdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + proposalReleaseThreshold_ = value; + onChanged(); + } else { + proposalReleaseThresholdBuilder_.setMessage(value); + } + return this; } /** - * int64 release_threshold = 1; - * @return This builder for chaining. + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + */ + public Builder setProposalReleaseThreshold( + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder builderForValue) { + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThreshold_ = builderForValue.build(); + onChanged(); + } else { + proposalReleaseThresholdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + */ + public Builder mergeProposalReleaseThreshold(io.aelf.protobuf.generated.Client.ProposalReleaseThreshold value) { + if (proposalReleaseThresholdBuilder_ == null) { + if (proposalReleaseThreshold_ != null) { + proposalReleaseThreshold_ = + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.newBuilder(proposalReleaseThreshold_).mergeFrom(value).buildPartial(); + } else { + proposalReleaseThreshold_ = value; + } + onChanged(); + } else { + proposalReleaseThresholdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; */ - public Builder clearReleaseThreshold() { + public Builder clearProposalReleaseThreshold() { + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThreshold_ = null; + onChanged(); + } else { + proposalReleaseThreshold_ = null; + proposalReleaseThresholdBuilder_ = null; + } + + return this; + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder getProposalReleaseThresholdBuilder() { - releaseThreshold_ = 0L; onChanged(); - return this; + return getProposalReleaseThresholdFieldBuilder().getBuilder(); + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + */ + public io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder getProposalReleaseThresholdOrBuilder() { + if (proposalReleaseThresholdBuilder_ != null) { + return proposalReleaseThresholdBuilder_.getMessageOrBuilder(); + } else { + return proposalReleaseThreshold_ == null ? + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.getDefaultInstance() : proposalReleaseThreshold_; + } + } + /** + *
+       * The threshold for releasing the proposal.
+       * 
+ * + * .ProposalReleaseThreshold proposal_release_threshold = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder, io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder> + getProposalReleaseThresholdFieldBuilder() { + if (proposalReleaseThresholdBuilder_ == null) { + proposalReleaseThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposalReleaseThreshold, io.aelf.protobuf.generated.Client.ProposalReleaseThreshold.Builder, io.aelf.protobuf.generated.Client.ProposalReleaseThresholdOrBuilder>( + getProposalReleaseThreshold(), + getParentForChildren(), + isClean()); + proposalReleaseThreshold_ = null; + } + return proposalReleaseThresholdBuilder_; } private java.lang.Object tokenSymbol_ = ""; /** + *
+       * The token used during proposal operations.
+       * 
+ * * string token_symbol = 2; * @return The tokenSymbol. */ @@ -701,6 +1170,10 @@ public java.lang.String getTokenSymbol() { } } /** + *
+       * The token used during proposal operations.
+       * 
+ * * string token_symbol = 2; * @return The bytes for tokenSymbol. */ @@ -718,6 +1191,10 @@ public java.lang.String getTokenSymbol() { } } /** + *
+       * The token used during proposal operations.
+       * 
+ * * string token_symbol = 2; * @param value The tokenSymbol to set. * @return This builder for chaining. @@ -733,6 +1210,10 @@ public Builder setTokenSymbol( return this; } /** + *
+       * The token used during proposal operations.
+       * 
+ * * string token_symbol = 2; * @return This builder for chaining. */ @@ -743,6 +1224,10 @@ public Builder clearTokenSymbol() { return this; } /** + *
+       * The token used during proposal operations.
+       * 
+ * * string token_symbol = 2; * @param value The bytes for tokenSymbol to set. * @return This builder for chaining. @@ -763,6 +1248,10 @@ public Builder setTokenSymbolBytes( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> organizationAddressBuilder_; /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 3; * @return Whether the organizationAddress field is set. */ @@ -770,6 +1259,10 @@ public boolean hasOrganizationAddress() { return organizationAddressBuilder_ != null || organizationAddress_ != null; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 3; * @return The organizationAddress. */ @@ -781,6 +1274,10 @@ public io.aelf.protobuf.generated.Client.Address getOrganizationAddress() { } } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 3; */ public Builder setOrganizationAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -797,6 +1294,10 @@ public Builder setOrganizationAddress(io.aelf.protobuf.generated.Client.Address return this; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 3; */ public Builder setOrganizationAddress( @@ -811,6 +1312,10 @@ public Builder setOrganizationAddress( return this; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 3; */ public Builder mergeOrganizationAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -829,6 +1334,10 @@ public Builder mergeOrganizationAddress(io.aelf.protobuf.generated.Client.Addres return this; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 3; */ public Builder clearOrganizationAddress() { @@ -843,6 +1352,10 @@ public Builder clearOrganizationAddress() { return this; } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 3; */ public io.aelf.protobuf.generated.Client.Address.Builder getOrganizationAddressBuilder() { @@ -851,6 +1364,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getOrganizationAddressB return getOrganizationAddressFieldBuilder().getBuilder(); } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 3; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddressOrBuilder() { @@ -862,6 +1379,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress } } /** + *
+       * The address of organization.
+       * 
+ * * .Address organization_address = 3; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -882,6 +1403,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOrganizationAddress private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> organizationHashBuilder_; /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 4; * @return Whether the organizationHash field is set. */ @@ -889,6 +1414,10 @@ public boolean hasOrganizationHash() { return organizationHashBuilder_ != null || organizationHash_ != null; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 4; * @return The organizationHash. */ @@ -900,6 +1429,10 @@ public io.aelf.protobuf.generated.Client.Hash getOrganizationHash() { } } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 4; */ public Builder setOrganizationHash(io.aelf.protobuf.generated.Client.Hash value) { @@ -916,6 +1449,10 @@ public Builder setOrganizationHash(io.aelf.protobuf.generated.Client.Hash value) return this; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 4; */ public Builder setOrganizationHash( @@ -930,6 +1467,10 @@ public Builder setOrganizationHash( return this; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 4; */ public Builder mergeOrganizationHash(io.aelf.protobuf.generated.Client.Hash value) { @@ -948,6 +1489,10 @@ public Builder mergeOrganizationHash(io.aelf.protobuf.generated.Client.Hash valu return this; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 4; */ public Builder clearOrganizationHash() { @@ -962,6 +1507,10 @@ public Builder clearOrganizationHash() { return this; } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 4; */ public io.aelf.protobuf.generated.Client.Hash.Builder getOrganizationHashBuilder() { @@ -970,6 +1519,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getOrganizationHashBuilder return getOrganizationHashFieldBuilder().getBuilder(); } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 4; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuilder() { @@ -981,6 +1534,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuil } } /** + *
+       * The organizations id.
+       * 
+ * * .Hash organization_hash = 4; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -996,6 +1553,316 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getOrganizationHashOrBuil } return organizationHashBuilder_; } + + private io.aelf.protobuf.generated.Client.ProposerWhiteList proposerWhiteList_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposerWhiteList, io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder, io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder> proposerWhiteListBuilder_; + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + * @return Whether the proposerWhiteList field is set. + */ + public boolean hasProposerWhiteList() { + return proposerWhiteListBuilder_ != null || proposerWhiteList_ != null; + } + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + * @return The proposerWhiteList. + */ + public io.aelf.protobuf.generated.Client.ProposerWhiteList getProposerWhiteList() { + if (proposerWhiteListBuilder_ == null) { + return proposerWhiteList_ == null ? io.aelf.protobuf.generated.Client.ProposerWhiteList.getDefaultInstance() : proposerWhiteList_; + } else { + return proposerWhiteListBuilder_.getMessage(); + } + } + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + */ + public Builder setProposerWhiteList(io.aelf.protobuf.generated.Client.ProposerWhiteList value) { + if (proposerWhiteListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + proposerWhiteList_ = value; + onChanged(); + } else { + proposerWhiteListBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + */ + public Builder setProposerWhiteList( + io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder builderForValue) { + if (proposerWhiteListBuilder_ == null) { + proposerWhiteList_ = builderForValue.build(); + onChanged(); + } else { + proposerWhiteListBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + */ + public Builder mergeProposerWhiteList(io.aelf.protobuf.generated.Client.ProposerWhiteList value) { + if (proposerWhiteListBuilder_ == null) { + if (proposerWhiteList_ != null) { + proposerWhiteList_ = + io.aelf.protobuf.generated.Client.ProposerWhiteList.newBuilder(proposerWhiteList_).mergeFrom(value).buildPartial(); + } else { + proposerWhiteList_ = value; + } + onChanged(); + } else { + proposerWhiteListBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + */ + public Builder clearProposerWhiteList() { + if (proposerWhiteListBuilder_ == null) { + proposerWhiteList_ = null; + onChanged(); + } else { + proposerWhiteList_ = null; + proposerWhiteListBuilder_ = null; + } + + return this; + } + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + */ + public io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder getProposerWhiteListBuilder() { + + onChanged(); + return getProposerWhiteListFieldBuilder().getBuilder(); + } + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + */ + public io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder getProposerWhiteListOrBuilder() { + if (proposerWhiteListBuilder_ != null) { + return proposerWhiteListBuilder_.getMessageOrBuilder(); + } else { + return proposerWhiteList_ == null ? + io.aelf.protobuf.generated.Client.ProposerWhiteList.getDefaultInstance() : proposerWhiteList_; + } + } + /** + *
+       * The proposer whitelist.
+       * 
+ * + * .ProposerWhiteList proposer_white_list = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposerWhiteList, io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder, io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder> + getProposerWhiteListFieldBuilder() { + if (proposerWhiteListBuilder_ == null) { + proposerWhiteListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.ProposerWhiteList, io.aelf.protobuf.generated.Client.ProposerWhiteList.Builder, io.aelf.protobuf.generated.Client.ProposerWhiteListOrBuilder>( + getProposerWhiteList(), + getParentForChildren(), + isClean()); + proposerWhiteList_ = null; + } + return proposerWhiteListBuilder_; + } + + private io.aelf.protobuf.generated.Client.Hash creationToken_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> creationTokenBuilder_; + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + * @return Whether the creationToken field is set. + */ + public boolean hasCreationToken() { + return creationTokenBuilder_ != null || creationToken_ != null; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + * @return The creationToken. + */ + public io.aelf.protobuf.generated.Client.Hash getCreationToken() { + if (creationTokenBuilder_ == null) { + return creationToken_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : creationToken_; + } else { + return creationTokenBuilder_.getMessage(); + } + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder setCreationToken(io.aelf.protobuf.generated.Client.Hash value) { + if (creationTokenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + creationToken_ = value; + onChanged(); + } else { + creationTokenBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder setCreationToken( + io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { + if (creationTokenBuilder_ == null) { + creationToken_ = builderForValue.build(); + onChanged(); + } else { + creationTokenBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder mergeCreationToken(io.aelf.protobuf.generated.Client.Hash value) { + if (creationTokenBuilder_ == null) { + if (creationToken_ != null) { + creationToken_ = + io.aelf.protobuf.generated.Client.Hash.newBuilder(creationToken_).mergeFrom(value).buildPartial(); + } else { + creationToken_ = value; + } + onChanged(); + } else { + creationTokenBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public Builder clearCreationToken() { + if (creationTokenBuilder_ == null) { + creationToken_ = null; + onChanged(); + } else { + creationToken_ = null; + creationTokenBuilder_ = null; + } + + return this; + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public io.aelf.protobuf.generated.Client.Hash.Builder getCreationTokenBuilder() { + + onChanged(); + return getCreationTokenFieldBuilder().getBuilder(); + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + public io.aelf.protobuf.generated.Client.HashOrBuilder getCreationTokenOrBuilder() { + if (creationTokenBuilder_ != null) { + return creationTokenBuilder_.getMessageOrBuilder(); + } else { + return creationToken_ == null ? + io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : creationToken_; + } + } + /** + *
+       * The creation token is for organization address generation.
+       * 
+ * + * .Hash creation_token = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> + getCreationTokenFieldBuilder() { + if (creationTokenBuilder_ == null) { + creationTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder>( + getCreationToken(), + getParentForChildren(), + isClean()); + creationToken_ = null; + } + return creationTokenBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1064,11 +1931,14 @@ public io.aelf.protobuf.generated.ReferendumAuthContract.Organization getDefault static { java.lang.String[] descriptorData = { "\n\036referendum_auth_contract.proto\032\014client" + - ".proto\"\211\001\n\014Organization\022\031\n\021release_thres" + - "hold\030\001 \001(\003\022\024\n\014token_symbol\030\002 \001(\t\022&\n\024orga" + - "nization_address\030\003 \001(\0132\010.Address\022 \n\021orga" + - "nization_hash\030\004 \001(\0132\005.HashB\034\n\032io.aelf.pr" + - "otobuf.generatedb\006proto3" + ".proto\"\375\001\n\014Organization\022=\n\032proposal_rele" + + "ase_threshold\030\001 \001(\0132\031.ProposalReleaseThr" + + "eshold\022\024\n\014token_symbol\030\002 \001(\t\022&\n\024organiza" + + "tion_address\030\003 \001(\0132\010.Address\022 \n\021organiza" + + "tion_hash\030\004 \001(\0132\005.Hash\022/\n\023proposer_white" + + "_list\030\005 \001(\0132\022.ProposerWhiteList\022\035\n\016creat" + + "ion_token\030\006 \001(\0132\005.HashB\034\n\032io.aelf.protob" + + "uf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -1080,7 +1950,7 @@ public io.aelf.protobuf.generated.ReferendumAuthContract.Organization getDefault internal_static_Organization_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Organization_descriptor, - new java.lang.String[] { "ReleaseThreshold", "TokenSymbol", "OrganizationAddress", "OrganizationHash", }); + new java.lang.String[] { "ProposalReleaseThreshold", "TokenSymbol", "OrganizationAddress", "OrganizationHash", "ProposerWhiteList", "CreationToken", }); io.aelf.protobuf.generated.Client.getDescriptor(); } diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/ResourceContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/ResourceContract.java deleted file mode 100644 index 46b916a..0000000 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/ResourceContract.java +++ /dev/null @@ -1,2295 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: resource_contract.proto - -package io.aelf.protobuf.generated; - -public final class ResourceContract { - private ResourceContract() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - /** - * Protobuf enum {@code ResourceType} - */ - public enum ResourceType - implements com.google.protobuf.ProtocolMessageEnum { - /** - * UNDEFINED_RESOURCE_TYPE = 0; - */ - UNDEFINED_RESOURCE_TYPE(0), - /** - * RAM = 1; - */ - RAM(1), - /** - * CPU = 2; - */ - CPU(2), - /** - * NET = 3; - */ - NET(3), - /** - * STO = 4; - */ - STO(4), - UNRECOGNIZED(-1), - ; - - /** - * UNDEFINED_RESOURCE_TYPE = 0; - */ - public static final int UNDEFINED_RESOURCE_TYPE_VALUE = 0; - /** - * RAM = 1; - */ - public static final int RAM_VALUE = 1; - /** - * CPU = 2; - */ - public static final int CPU_VALUE = 2; - /** - * NET = 3; - */ - public static final int NET_VALUE = 3; - /** - * STO = 4; - */ - public static final int STO_VALUE = 4; - - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ResourceType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static ResourceType forNumber(int value) { - switch (value) { - case 0: return UNDEFINED_RESOURCE_TYPE; - case 1: return RAM; - case 2: return CPU; - case 3: return NET; - case 4: return STO; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - ResourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ResourceType findValueByNumber(int number) { - return ResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return io.aelf.protobuf.generated.ResourceContract.getDescriptor().getEnumTypes().get(0); - } - - private static final ResourceType[] VALUES = values(); - - public static ResourceType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private ResourceType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:ResourceType) - } - - public interface ResourceIdOrBuilder extends - // @@protoc_insertion_point(interface_extends:ResourceId) - com.google.protobuf.MessageOrBuilder { - - /** - * .ResourceType type = 1; - * @return The enum numeric value on the wire for type. - */ - int getTypeValue(); - /** - * .ResourceType type = 1; - * @return The type. - */ - io.aelf.protobuf.generated.ResourceContract.ResourceType getType(); - } - /** - * Protobuf type {@code ResourceId} - */ - public static final class ResourceId extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:ResourceId) - ResourceIdOrBuilder { - private static final long serialVersionUID = 0L; - // Use ResourceId.newBuilder() to construct. - private ResourceId(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ResourceId() { - type_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ResourceId(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ResourceId( - 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: { - int rawValue = input.readEnum(); - - type_ = rawValue; - 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 io.aelf.protobuf.generated.ResourceContract.internal_static_ResourceId_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_ResourceId_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.ResourceContract.ResourceId.class, io.aelf.protobuf.generated.ResourceContract.ResourceId.Builder.class); - } - - public static final int TYPE_FIELD_NUMBER = 1; - private int type_; - /** - * .ResourceType type = 1; - * @return The enum numeric value on the wire for type. - */ - public int getTypeValue() { - return type_; - } - /** - * .ResourceType type = 1; - * @return The type. - */ - public io.aelf.protobuf.generated.ResourceContract.ResourceType getType() { - @SuppressWarnings("deprecation") - io.aelf.protobuf.generated.ResourceContract.ResourceType result = io.aelf.protobuf.generated.ResourceContract.ResourceType.valueOf(type_); - return result == null ? io.aelf.protobuf.generated.ResourceContract.ResourceType.UNRECOGNIZED : result; - } - - 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 (type_ != io.aelf.protobuf.generated.ResourceContract.ResourceType.UNDEFINED_RESOURCE_TYPE.getNumber()) { - output.writeEnum(1, type_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (type_ != io.aelf.protobuf.generated.ResourceContract.ResourceType.UNDEFINED_RESOURCE_TYPE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); - } - 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 io.aelf.protobuf.generated.ResourceContract.ResourceId)) { - return super.equals(obj); - } - io.aelf.protobuf.generated.ResourceContract.ResourceId other = (io.aelf.protobuf.generated.ResourceContract.ResourceId) obj; - - if (type_ != other.type_) 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) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.aelf.protobuf.generated.ResourceContract.ResourceId parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.ResourceContract.ResourceId parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.ResourceContract.ResourceId parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.ResourceContract.ResourceId parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.ResourceContract.ResourceId parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.ResourceContract.ResourceId parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.ResourceContract.ResourceId parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.ResourceContract.ResourceId 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 io.aelf.protobuf.generated.ResourceContract.ResourceId parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.ResourceContract.ResourceId 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 io.aelf.protobuf.generated.ResourceContract.ResourceId parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.ResourceContract.ResourceId 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(io.aelf.protobuf.generated.ResourceContract.ResourceId 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; - } - /** - * Protobuf type {@code ResourceId} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:ResourceId) - io.aelf.protobuf.generated.ResourceContract.ResourceIdOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_ResourceId_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_ResourceId_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.ResourceContract.ResourceId.class, io.aelf.protobuf.generated.ResourceContract.ResourceId.Builder.class); - } - - // Construct using io.aelf.protobuf.generated.ResourceContract.ResourceId.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(); - type_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_ResourceId_descriptor; - } - - @java.lang.Override - public io.aelf.protobuf.generated.ResourceContract.ResourceId getDefaultInstanceForType() { - return io.aelf.protobuf.generated.ResourceContract.ResourceId.getDefaultInstance(); - } - - @java.lang.Override - public io.aelf.protobuf.generated.ResourceContract.ResourceId build() { - io.aelf.protobuf.generated.ResourceContract.ResourceId result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.aelf.protobuf.generated.ResourceContract.ResourceId buildPartial() { - io.aelf.protobuf.generated.ResourceContract.ResourceId result = new io.aelf.protobuf.generated.ResourceContract.ResourceId(this); - result.type_ = type_; - 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 io.aelf.protobuf.generated.ResourceContract.ResourceId) { - return mergeFrom((io.aelf.protobuf.generated.ResourceContract.ResourceId)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.aelf.protobuf.generated.ResourceContract.ResourceId other) { - if (other == io.aelf.protobuf.generated.ResourceContract.ResourceId.getDefaultInstance()) return this; - if (other.type_ != 0) { - setTypeValue(other.getTypeValue()); - } - 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 { - io.aelf.protobuf.generated.ResourceContract.ResourceId parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.ResourceContract.ResourceId) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int type_ = 0; - /** - * .ResourceType type = 1; - * @return The enum numeric value on the wire for type. - */ - public int getTypeValue() { - return type_; - } - /** - * .ResourceType type = 1; - * @param value The enum numeric value on the wire for type to set. - * @return This builder for chaining. - */ - public Builder setTypeValue(int value) { - type_ = value; - onChanged(); - return this; - } - /** - * .ResourceType type = 1; - * @return The type. - */ - public io.aelf.protobuf.generated.ResourceContract.ResourceType getType() { - @SuppressWarnings("deprecation") - io.aelf.protobuf.generated.ResourceContract.ResourceType result = io.aelf.protobuf.generated.ResourceContract.ResourceType.valueOf(type_); - return result == null ? io.aelf.protobuf.generated.ResourceContract.ResourceType.UNRECOGNIZED : result; - } - /** - * .ResourceType type = 1; - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType(io.aelf.protobuf.generated.ResourceContract.ResourceType value) { - if (value == null) { - throw new NullPointerException(); - } - - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .ResourceType type = 1; - * @return This builder for chaining. - */ - public Builder clearType() { - - type_ = 0; - 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:ResourceId) - } - - // @@protoc_insertion_point(class_scope:ResourceId) - private static final io.aelf.protobuf.generated.ResourceContract.ResourceId DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.ResourceContract.ResourceId(); - } - - public static io.aelf.protobuf.generated.ResourceContract.ResourceId getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceId(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 io.aelf.protobuf.generated.ResourceContract.ResourceId getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ConverterOrBuilder extends - // @@protoc_insertion_point(interface_extends:Converter) - com.google.protobuf.MessageOrBuilder { - - /** - * sint64 res_balance = 1; - * @return The resBalance. - */ - long getResBalance(); - - /** - * sint64 elf_balance = 2; - * @return The elfBalance. - */ - long getElfBalance(); - - /** - *
-     * Weight based on MAX of 1,000,000
-     * 
- * - * sint64 res_weight = 3; - * @return The resWeight. - */ - long getResWeight(); - - /** - *
-     * Weight based on MAX of 1,000,000
-     * 
- * - * sint64 elf_weight = 4; - * @return The elfWeight. - */ - long getElfWeight(); - - /** - * .ResourceType type = 5; - * @return The enum numeric value on the wire for type. - */ - int getTypeValue(); - /** - * .ResourceType type = 5; - * @return The type. - */ - io.aelf.protobuf.generated.ResourceContract.ResourceType getType(); - } - /** - * Protobuf type {@code Converter} - */ - public static final class Converter extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:Converter) - ConverterOrBuilder { - private static final long serialVersionUID = 0L; - // Use Converter.newBuilder() to construct. - private Converter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Converter() { - type_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Converter(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Converter( - 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: { - - resBalance_ = input.readSInt64(); - break; - } - case 16: { - - elfBalance_ = input.readSInt64(); - break; - } - case 24: { - - resWeight_ = input.readSInt64(); - break; - } - case 32: { - - elfWeight_ = input.readSInt64(); - break; - } - case 40: { - int rawValue = input.readEnum(); - - type_ = rawValue; - 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 io.aelf.protobuf.generated.ResourceContract.internal_static_Converter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_Converter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.ResourceContract.Converter.class, io.aelf.protobuf.generated.ResourceContract.Converter.Builder.class); - } - - public static final int RES_BALANCE_FIELD_NUMBER = 1; - private long resBalance_; - /** - * sint64 res_balance = 1; - * @return The resBalance. - */ - public long getResBalance() { - return resBalance_; - } - - public static final int ELF_BALANCE_FIELD_NUMBER = 2; - private long elfBalance_; - /** - * sint64 elf_balance = 2; - * @return The elfBalance. - */ - public long getElfBalance() { - return elfBalance_; - } - - public static final int RES_WEIGHT_FIELD_NUMBER = 3; - private long resWeight_; - /** - *
-     * Weight based on MAX of 1,000,000
-     * 
- * - * sint64 res_weight = 3; - * @return The resWeight. - */ - public long getResWeight() { - return resWeight_; - } - - public static final int ELF_WEIGHT_FIELD_NUMBER = 4; - private long elfWeight_; - /** - *
-     * Weight based on MAX of 1,000,000
-     * 
- * - * sint64 elf_weight = 4; - * @return The elfWeight. - */ - public long getElfWeight() { - return elfWeight_; - } - - public static final int TYPE_FIELD_NUMBER = 5; - private int type_; - /** - * .ResourceType type = 5; - * @return The enum numeric value on the wire for type. - */ - public int getTypeValue() { - return type_; - } - /** - * .ResourceType type = 5; - * @return The type. - */ - public io.aelf.protobuf.generated.ResourceContract.ResourceType getType() { - @SuppressWarnings("deprecation") - io.aelf.protobuf.generated.ResourceContract.ResourceType result = io.aelf.protobuf.generated.ResourceContract.ResourceType.valueOf(type_); - return result == null ? io.aelf.protobuf.generated.ResourceContract.ResourceType.UNRECOGNIZED : result; - } - - 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 (resBalance_ != 0L) { - output.writeSInt64(1, resBalance_); - } - if (elfBalance_ != 0L) { - output.writeSInt64(2, elfBalance_); - } - if (resWeight_ != 0L) { - output.writeSInt64(3, resWeight_); - } - if (elfWeight_ != 0L) { - output.writeSInt64(4, elfWeight_); - } - if (type_ != io.aelf.protobuf.generated.ResourceContract.ResourceType.UNDEFINED_RESOURCE_TYPE.getNumber()) { - output.writeEnum(5, type_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (resBalance_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, resBalance_); - } - if (elfBalance_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, elfBalance_); - } - if (resWeight_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, resWeight_); - } - if (elfWeight_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, elfWeight_); - } - if (type_ != io.aelf.protobuf.generated.ResourceContract.ResourceType.UNDEFINED_RESOURCE_TYPE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, type_); - } - 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 io.aelf.protobuf.generated.ResourceContract.Converter)) { - return super.equals(obj); - } - io.aelf.protobuf.generated.ResourceContract.Converter other = (io.aelf.protobuf.generated.ResourceContract.Converter) obj; - - if (getResBalance() - != other.getResBalance()) return false; - if (getElfBalance() - != other.getElfBalance()) return false; - if (getResWeight() - != other.getResWeight()) return false; - if (getElfWeight() - != other.getElfWeight()) return false; - if (type_ != other.type_) 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) + RES_BALANCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getResBalance()); - hash = (37 * hash) + ELF_BALANCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getElfBalance()); - hash = (37 * hash) + RES_WEIGHT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getResWeight()); - hash = (37 * hash) + ELF_WEIGHT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getElfWeight()); - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.aelf.protobuf.generated.ResourceContract.Converter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.ResourceContract.Converter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.ResourceContract.Converter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.ResourceContract.Converter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.ResourceContract.Converter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.ResourceContract.Converter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.ResourceContract.Converter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.ResourceContract.Converter 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 io.aelf.protobuf.generated.ResourceContract.Converter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.ResourceContract.Converter 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 io.aelf.protobuf.generated.ResourceContract.Converter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.ResourceContract.Converter 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(io.aelf.protobuf.generated.ResourceContract.Converter 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; - } - /** - * Protobuf type {@code Converter} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:Converter) - io.aelf.protobuf.generated.ResourceContract.ConverterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_Converter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_Converter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.ResourceContract.Converter.class, io.aelf.protobuf.generated.ResourceContract.Converter.Builder.class); - } - - // Construct using io.aelf.protobuf.generated.ResourceContract.Converter.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(); - resBalance_ = 0L; - - elfBalance_ = 0L; - - resWeight_ = 0L; - - elfWeight_ = 0L; - - type_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_Converter_descriptor; - } - - @java.lang.Override - public io.aelf.protobuf.generated.ResourceContract.Converter getDefaultInstanceForType() { - return io.aelf.protobuf.generated.ResourceContract.Converter.getDefaultInstance(); - } - - @java.lang.Override - public io.aelf.protobuf.generated.ResourceContract.Converter build() { - io.aelf.protobuf.generated.ResourceContract.Converter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.aelf.protobuf.generated.ResourceContract.Converter buildPartial() { - io.aelf.protobuf.generated.ResourceContract.Converter result = new io.aelf.protobuf.generated.ResourceContract.Converter(this); - result.resBalance_ = resBalance_; - result.elfBalance_ = elfBalance_; - result.resWeight_ = resWeight_; - result.elfWeight_ = elfWeight_; - result.type_ = type_; - 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 io.aelf.protobuf.generated.ResourceContract.Converter) { - return mergeFrom((io.aelf.protobuf.generated.ResourceContract.Converter)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.aelf.protobuf.generated.ResourceContract.Converter other) { - if (other == io.aelf.protobuf.generated.ResourceContract.Converter.getDefaultInstance()) return this; - if (other.getResBalance() != 0L) { - setResBalance(other.getResBalance()); - } - if (other.getElfBalance() != 0L) { - setElfBalance(other.getElfBalance()); - } - if (other.getResWeight() != 0L) { - setResWeight(other.getResWeight()); - } - if (other.getElfWeight() != 0L) { - setElfWeight(other.getElfWeight()); - } - if (other.type_ != 0) { - setTypeValue(other.getTypeValue()); - } - 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 { - io.aelf.protobuf.generated.ResourceContract.Converter parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.ResourceContract.Converter) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private long resBalance_ ; - /** - * sint64 res_balance = 1; - * @return The resBalance. - */ - public long getResBalance() { - return resBalance_; - } - /** - * sint64 res_balance = 1; - * @param value The resBalance to set. - * @return This builder for chaining. - */ - public Builder setResBalance(long value) { - - resBalance_ = value; - onChanged(); - return this; - } - /** - * sint64 res_balance = 1; - * @return This builder for chaining. - */ - public Builder clearResBalance() { - - resBalance_ = 0L; - onChanged(); - return this; - } - - private long elfBalance_ ; - /** - * sint64 elf_balance = 2; - * @return The elfBalance. - */ - public long getElfBalance() { - return elfBalance_; - } - /** - * sint64 elf_balance = 2; - * @param value The elfBalance to set. - * @return This builder for chaining. - */ - public Builder setElfBalance(long value) { - - elfBalance_ = value; - onChanged(); - return this; - } - /** - * sint64 elf_balance = 2; - * @return This builder for chaining. - */ - public Builder clearElfBalance() { - - elfBalance_ = 0L; - onChanged(); - return this; - } - - private long resWeight_ ; - /** - *
-       * Weight based on MAX of 1,000,000
-       * 
- * - * sint64 res_weight = 3; - * @return The resWeight. - */ - public long getResWeight() { - return resWeight_; - } - /** - *
-       * Weight based on MAX of 1,000,000
-       * 
- * - * sint64 res_weight = 3; - * @param value The resWeight to set. - * @return This builder for chaining. - */ - public Builder setResWeight(long value) { - - resWeight_ = value; - onChanged(); - return this; - } - /** - *
-       * Weight based on MAX of 1,000,000
-       * 
- * - * sint64 res_weight = 3; - * @return This builder for chaining. - */ - public Builder clearResWeight() { - - resWeight_ = 0L; - onChanged(); - return this; - } - - private long elfWeight_ ; - /** - *
-       * Weight based on MAX of 1,000,000
-       * 
- * - * sint64 elf_weight = 4; - * @return The elfWeight. - */ - public long getElfWeight() { - return elfWeight_; - } - /** - *
-       * Weight based on MAX of 1,000,000
-       * 
- * - * sint64 elf_weight = 4; - * @param value The elfWeight to set. - * @return This builder for chaining. - */ - public Builder setElfWeight(long value) { - - elfWeight_ = value; - onChanged(); - return this; - } - /** - *
-       * Weight based on MAX of 1,000,000
-       * 
- * - * sint64 elf_weight = 4; - * @return This builder for chaining. - */ - public Builder clearElfWeight() { - - elfWeight_ = 0L; - onChanged(); - return this; - } - - private int type_ = 0; - /** - * .ResourceType type = 5; - * @return The enum numeric value on the wire for type. - */ - public int getTypeValue() { - return type_; - } - /** - * .ResourceType type = 5; - * @param value The enum numeric value on the wire for type to set. - * @return This builder for chaining. - */ - public Builder setTypeValue(int value) { - type_ = value; - onChanged(); - return this; - } - /** - * .ResourceType type = 5; - * @return The type. - */ - public io.aelf.protobuf.generated.ResourceContract.ResourceType getType() { - @SuppressWarnings("deprecation") - io.aelf.protobuf.generated.ResourceContract.ResourceType result = io.aelf.protobuf.generated.ResourceContract.ResourceType.valueOf(type_); - return result == null ? io.aelf.protobuf.generated.ResourceContract.ResourceType.UNRECOGNIZED : result; - } - /** - * .ResourceType type = 5; - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType(io.aelf.protobuf.generated.ResourceContract.ResourceType value) { - if (value == null) { - throw new NullPointerException(); - } - - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .ResourceType type = 5; - * @return This builder for chaining. - */ - public Builder clearType() { - - type_ = 0; - 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:Converter) - } - - // @@protoc_insertion_point(class_scope:Converter) - private static final io.aelf.protobuf.generated.ResourceContract.Converter DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.ResourceContract.Converter(); - } - - public static io.aelf.protobuf.generated.ResourceContract.Converter getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Converter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Converter(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 io.aelf.protobuf.generated.ResourceContract.Converter getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface UserResourceIdOrBuilder extends - // @@protoc_insertion_point(interface_extends:UserResourceId) - com.google.protobuf.MessageOrBuilder { - - /** - * .Address address = 1; - * @return Whether the address field is set. - */ - boolean hasAddress(); - /** - * .Address address = 1; - * @return The address. - */ - io.aelf.protobuf.generated.Client.Address getAddress(); - /** - * .Address address = 1; - */ - io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder(); - - /** - * .ResourceType type = 2; - * @return The enum numeric value on the wire for type. - */ - int getTypeValue(); - /** - * .ResourceType type = 2; - * @return The type. - */ - io.aelf.protobuf.generated.ResourceContract.ResourceType getType(); - } - /** - * Protobuf type {@code UserResourceId} - */ - public static final class UserResourceId extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:UserResourceId) - UserResourceIdOrBuilder { - private static final long serialVersionUID = 0L; - // Use UserResourceId.newBuilder() to construct. - private UserResourceId(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private UserResourceId() { - type_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new UserResourceId(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private UserResourceId( - 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 10: { - io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; - if (address_ != null) { - subBuilder = address_.toBuilder(); - } - address_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(address_); - address_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - int rawValue = input.readEnum(); - - type_ = rawValue; - 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 io.aelf.protobuf.generated.ResourceContract.internal_static_UserResourceId_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_UserResourceId_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.ResourceContract.UserResourceId.class, io.aelf.protobuf.generated.ResourceContract.UserResourceId.Builder.class); - } - - public static final int ADDRESS_FIELD_NUMBER = 1; - private io.aelf.protobuf.generated.Client.Address address_; - /** - * .Address address = 1; - * @return Whether the address field is set. - */ - public boolean hasAddress() { - return address_ != null; - } - /** - * .Address address = 1; - * @return The address. - */ - public io.aelf.protobuf.generated.Client.Address getAddress() { - return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; - } - /** - * .Address address = 1; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { - return getAddress(); - } - - public static final int TYPE_FIELD_NUMBER = 2; - private int type_; - /** - * .ResourceType type = 2; - * @return The enum numeric value on the wire for type. - */ - public int getTypeValue() { - return type_; - } - /** - * .ResourceType type = 2; - * @return The type. - */ - public io.aelf.protobuf.generated.ResourceContract.ResourceType getType() { - @SuppressWarnings("deprecation") - io.aelf.protobuf.generated.ResourceContract.ResourceType result = io.aelf.protobuf.generated.ResourceContract.ResourceType.valueOf(type_); - return result == null ? io.aelf.protobuf.generated.ResourceContract.ResourceType.UNRECOGNIZED : result; - } - - 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 (address_ != null) { - output.writeMessage(1, getAddress()); - } - if (type_ != io.aelf.protobuf.generated.ResourceContract.ResourceType.UNDEFINED_RESOURCE_TYPE.getNumber()) { - output.writeEnum(2, type_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (address_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAddress()); - } - if (type_ != io.aelf.protobuf.generated.ResourceContract.ResourceType.UNDEFINED_RESOURCE_TYPE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); - } - 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 io.aelf.protobuf.generated.ResourceContract.UserResourceId)) { - return super.equals(obj); - } - io.aelf.protobuf.generated.ResourceContract.UserResourceId other = (io.aelf.protobuf.generated.ResourceContract.UserResourceId) obj; - - if (hasAddress() != other.hasAddress()) return false; - if (hasAddress()) { - if (!getAddress() - .equals(other.getAddress())) return false; - } - if (type_ != other.type_) 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 (hasAddress()) { - hash = (37 * hash) + ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + getAddress().hashCode(); - } - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId 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 io.aelf.protobuf.generated.ResourceContract.UserResourceId parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId 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 io.aelf.protobuf.generated.ResourceContract.UserResourceId parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId 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(io.aelf.protobuf.generated.ResourceContract.UserResourceId 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; - } - /** - * Protobuf type {@code UserResourceId} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:UserResourceId) - io.aelf.protobuf.generated.ResourceContract.UserResourceIdOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_UserResourceId_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_UserResourceId_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.ResourceContract.UserResourceId.class, io.aelf.protobuf.generated.ResourceContract.UserResourceId.Builder.class); - } - - // Construct using io.aelf.protobuf.generated.ResourceContract.UserResourceId.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(); - if (addressBuilder_ == null) { - address_ = null; - } else { - address_ = null; - addressBuilder_ = null; - } - type_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.aelf.protobuf.generated.ResourceContract.internal_static_UserResourceId_descriptor; - } - - @java.lang.Override - public io.aelf.protobuf.generated.ResourceContract.UserResourceId getDefaultInstanceForType() { - return io.aelf.protobuf.generated.ResourceContract.UserResourceId.getDefaultInstance(); - } - - @java.lang.Override - public io.aelf.protobuf.generated.ResourceContract.UserResourceId build() { - io.aelf.protobuf.generated.ResourceContract.UserResourceId result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.aelf.protobuf.generated.ResourceContract.UserResourceId buildPartial() { - io.aelf.protobuf.generated.ResourceContract.UserResourceId result = new io.aelf.protobuf.generated.ResourceContract.UserResourceId(this); - if (addressBuilder_ == null) { - result.address_ = address_; - } else { - result.address_ = addressBuilder_.build(); - } - result.type_ = type_; - 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 io.aelf.protobuf.generated.ResourceContract.UserResourceId) { - return mergeFrom((io.aelf.protobuf.generated.ResourceContract.UserResourceId)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.aelf.protobuf.generated.ResourceContract.UserResourceId other) { - if (other == io.aelf.protobuf.generated.ResourceContract.UserResourceId.getDefaultInstance()) return this; - if (other.hasAddress()) { - mergeAddress(other.getAddress()); - } - if (other.type_ != 0) { - setTypeValue(other.getTypeValue()); - } - 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 { - io.aelf.protobuf.generated.ResourceContract.UserResourceId parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.ResourceContract.UserResourceId) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private io.aelf.protobuf.generated.Client.Address address_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> addressBuilder_; - /** - * .Address address = 1; - * @return Whether the address field is set. - */ - public boolean hasAddress() { - return addressBuilder_ != null || address_ != null; - } - /** - * .Address address = 1; - * @return The address. - */ - public io.aelf.protobuf.generated.Client.Address getAddress() { - if (addressBuilder_ == null) { - return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; - } else { - return addressBuilder_.getMessage(); - } - } - /** - * .Address address = 1; - */ - public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { - if (addressBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - address_ = value; - onChanged(); - } else { - addressBuilder_.setMessage(value); - } - - return this; - } - /** - * .Address address = 1; - */ - public Builder setAddress( - io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { - if (addressBuilder_ == null) { - address_ = builderForValue.build(); - onChanged(); - } else { - addressBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .Address address = 1; - */ - public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { - if (addressBuilder_ == null) { - if (address_ != null) { - address_ = - io.aelf.protobuf.generated.Client.Address.newBuilder(address_).mergeFrom(value).buildPartial(); - } else { - address_ = value; - } - onChanged(); - } else { - addressBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .Address address = 1; - */ - public Builder clearAddress() { - if (addressBuilder_ == null) { - address_ = null; - onChanged(); - } else { - address_ = null; - addressBuilder_ = null; - } - - return this; - } - /** - * .Address address = 1; - */ - public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { - - onChanged(); - return getAddressFieldBuilder().getBuilder(); - } - /** - * .Address address = 1; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { - if (addressBuilder_ != null) { - return addressBuilder_.getMessageOrBuilder(); - } else { - return address_ == null ? - io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; - } - } - /** - * .Address address = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> - getAddressFieldBuilder() { - if (addressBuilder_ == null) { - addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( - getAddress(), - getParentForChildren(), - isClean()); - address_ = null; - } - return addressBuilder_; - } - - private int type_ = 0; - /** - * .ResourceType type = 2; - * @return The enum numeric value on the wire for type. - */ - public int getTypeValue() { - return type_; - } - /** - * .ResourceType type = 2; - * @param value The enum numeric value on the wire for type to set. - * @return This builder for chaining. - */ - public Builder setTypeValue(int value) { - type_ = value; - onChanged(); - return this; - } - /** - * .ResourceType type = 2; - * @return The type. - */ - public io.aelf.protobuf.generated.ResourceContract.ResourceType getType() { - @SuppressWarnings("deprecation") - io.aelf.protobuf.generated.ResourceContract.ResourceType result = io.aelf.protobuf.generated.ResourceContract.ResourceType.valueOf(type_); - return result == null ? io.aelf.protobuf.generated.ResourceContract.ResourceType.UNRECOGNIZED : result; - } - /** - * .ResourceType type = 2; - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType(io.aelf.protobuf.generated.ResourceContract.ResourceType value) { - if (value == null) { - throw new NullPointerException(); - } - - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - * .ResourceType type = 2; - * @return This builder for chaining. - */ - public Builder clearType() { - - type_ = 0; - 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:UserResourceId) - } - - // @@protoc_insertion_point(class_scope:UserResourceId) - private static final io.aelf.protobuf.generated.ResourceContract.UserResourceId DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.ResourceContract.UserResourceId(); - } - - public static io.aelf.protobuf.generated.ResourceContract.UserResourceId getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserResourceId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UserResourceId(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 io.aelf.protobuf.generated.ResourceContract.UserResourceId getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ResourceId_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_ResourceId_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_Converter_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_Converter_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_UserResourceId_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_UserResourceId_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\027resource_contract.proto\032\014client.proto\"" + - ")\n\nResourceId\022\033\n\004type\030\001 \001(\0162\r.ResourceTy" + - "pe\"z\n\tConverter\022\023\n\013res_balance\030\001 \001(\022\022\023\n\013" + - "elf_balance\030\002 \001(\022\022\022\n\nres_weight\030\003 \001(\022\022\022\n" + - "\nelf_weight\030\004 \001(\022\022\033\n\004type\030\005 \001(\0162\r.Resour" + - "ceType\"H\n\016UserResourceId\022\031\n\007address\030\001 \001(" + - "\0132\010.Address\022\033\n\004type\030\002 \001(\0162\r.ResourceType" + - "*O\n\014ResourceType\022\033\n\027UNDEFINED_RESOURCE_T" + - "YPE\020\000\022\007\n\003RAM\020\001\022\007\n\003CPU\020\002\022\007\n\003NET\020\003\022\007\n\003STO\020" + - "\004B\034\n\032io.aelf.protobuf.generatedb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - io.aelf.protobuf.generated.Client.getDescriptor(), - }); - internal_static_ResourceId_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_ResourceId_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_ResourceId_descriptor, - new java.lang.String[] { "Type", }); - internal_static_Converter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_Converter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_Converter_descriptor, - new java.lang.String[] { "ResBalance", "ElfBalance", "ResWeight", "ElfWeight", "Type", }); - internal_static_UserResourceId_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_UserResourceId_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_UserResourceId_descriptor, - new java.lang.String[] { "Address", "Type", }); - io.aelf.protobuf.generated.Client.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/ToeknConverterContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/ToeknConverterContract.java index 37d0dd1..a5c9bdf 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/ToeknConverterContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/ToeknConverterContract.java @@ -19,11 +19,19 @@ public interface TokenSymbolOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The token symbol.
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The token symbol.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -121,6 +129,10 @@ private TokenSymbol( public static final int SYMBOL_FIELD_NUMBER = 1; private volatile java.lang.Object symbol_; /** + *
+     * The token symbol.
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -137,6 +149,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The token symbol.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -462,6 +478,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -478,6 +498,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -495,6 +519,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -510,6 +538,10 @@ public Builder setSymbol( return this; } /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -520,6 +552,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -593,11 +629,19 @@ public interface ConnectorOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The token symbol.
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The token symbol.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -605,17 +649,29 @@ public interface ConnectorOrBuilder extends getSymbolBytes(); /** - * sint64 virtual_balance = 2; + *
+     * The virtual balance for base token.
+     * 
+ * + * int64 virtual_balance = 2; * @return The virtualBalance. */ long getVirtualBalance(); /** + *
+     * The calculated weight value for this Connector.
+     * 
+ * * string weight = 3; * @return The weight. */ java.lang.String getWeight(); /** + *
+     * The calculated weight value for this Connector.
+     * 
+ * * string weight = 3; * @return The bytes for weight. */ @@ -624,7 +680,7 @@ public interface ConnectorOrBuilder extends /** *
-     * true if virtual balance is enabled, false if not
+     * Whether to use Virtual Balance.
      * 
* * bool is_virtual_balance_enabled = 4; @@ -633,10 +689,44 @@ public interface ConnectorOrBuilder extends boolean getIsVirtualBalanceEnabled(); /** + *
+     * Whether the connector is enabled.
+     * 
+ * * bool is_purchase_enabled = 5; * @return The isPurchaseEnabled. */ boolean getIsPurchaseEnabled(); + + /** + *
+     * Indicates its related connector, the pair connector includes a new created token connector and the base token connector.
+     * 
+ * + * string related_symbol = 6; + * @return The relatedSymbol. + */ + java.lang.String getRelatedSymbol(); + /** + *
+     * Indicates its related connector, the pair connector includes a new created token connector and the base token connector.
+     * 
+ * + * string related_symbol = 6; + * @return The bytes for relatedSymbol. + */ + com.google.protobuf.ByteString + getRelatedSymbolBytes(); + + /** + *
+     * Indicates if the connector is base token connector.
+     * 
+ * + * bool is_deposit_account = 7; + * @return The isDepositAccount. + */ + boolean getIsDepositAccount(); } /** * Protobuf type {@code Connector} @@ -653,6 +743,7 @@ private Connector(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Connector() { symbol_ = ""; weight_ = ""; + relatedSymbol_ = ""; } @java.lang.Override @@ -693,7 +784,7 @@ private Connector( } case 16: { - virtualBalance_ = input.readSInt64(); + virtualBalance_ = input.readInt64(); break; } case 26: { @@ -712,6 +803,17 @@ private Connector( isPurchaseEnabled_ = input.readBool(); break; } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + relatedSymbol_ = s; + break; + } + case 56: { + + isDepositAccount_ = input.readBool(); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -747,6 +849,10 @@ private Connector( public static final int SYMBOL_FIELD_NUMBER = 1; private volatile java.lang.Object symbol_; /** + *
+     * The token symbol.
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -763,6 +869,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The token symbol.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -783,7 +893,11 @@ public java.lang.String getSymbol() { public static final int VIRTUAL_BALANCE_FIELD_NUMBER = 2; private long virtualBalance_; /** - * sint64 virtual_balance = 2; + *
+     * The virtual balance for base token.
+     * 
+ * + * int64 virtual_balance = 2; * @return The virtualBalance. */ public long getVirtualBalance() { @@ -793,6 +907,10 @@ public long getVirtualBalance() { public static final int WEIGHT_FIELD_NUMBER = 3; private volatile java.lang.Object weight_; /** + *
+     * The calculated weight value for this Connector.
+     * 
+ * * string weight = 3; * @return The weight. */ @@ -809,6 +927,10 @@ public java.lang.String getWeight() { } } /** + *
+     * The calculated weight value for this Connector.
+     * 
+ * * string weight = 3; * @return The bytes for weight. */ @@ -830,7 +952,7 @@ public java.lang.String getWeight() { private boolean isVirtualBalanceEnabled_; /** *
-     * true if virtual balance is enabled, false if not
+     * Whether to use Virtual Balance.
      * 
* * bool is_virtual_balance_enabled = 4; @@ -843,6 +965,10 @@ public boolean getIsVirtualBalanceEnabled() { public static final int IS_PURCHASE_ENABLED_FIELD_NUMBER = 5; private boolean isPurchaseEnabled_; /** + *
+     * Whether the connector is enabled.
+     * 
+ * * bool is_purchase_enabled = 5; * @return The isPurchaseEnabled. */ @@ -850,6 +976,64 @@ public boolean getIsPurchaseEnabled() { return isPurchaseEnabled_; } + public static final int RELATED_SYMBOL_FIELD_NUMBER = 6; + private volatile java.lang.Object relatedSymbol_; + /** + *
+     * Indicates its related connector, the pair connector includes a new created token connector and the base token connector.
+     * 
+ * + * string related_symbol = 6; + * @return The relatedSymbol. + */ + public java.lang.String getRelatedSymbol() { + java.lang.Object ref = relatedSymbol_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + relatedSymbol_ = s; + return s; + } + } + /** + *
+     * Indicates its related connector, the pair connector includes a new created token connector and the base token connector.
+     * 
+ * + * string related_symbol = 6; + * @return The bytes for relatedSymbol. + */ + public com.google.protobuf.ByteString + getRelatedSymbolBytes() { + java.lang.Object ref = relatedSymbol_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + relatedSymbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_DEPOSIT_ACCOUNT_FIELD_NUMBER = 7; + private boolean isDepositAccount_; + /** + *
+     * Indicates if the connector is base token connector.
+     * 
+ * + * bool is_deposit_account = 7; + * @return The isDepositAccount. + */ + public boolean getIsDepositAccount() { + return isDepositAccount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -868,7 +1052,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_); } if (virtualBalance_ != 0L) { - output.writeSInt64(2, virtualBalance_); + output.writeInt64(2, virtualBalance_); } if (!getWeightBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, weight_); @@ -879,6 +1063,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (isPurchaseEnabled_ != false) { output.writeBool(5, isPurchaseEnabled_); } + if (!getRelatedSymbolBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, relatedSymbol_); + } + if (isDepositAccount_ != false) { + output.writeBool(7, isDepositAccount_); + } unknownFields.writeTo(output); } @@ -893,7 +1083,7 @@ public int getSerializedSize() { } if (virtualBalance_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, virtualBalance_); + .computeInt64Size(2, virtualBalance_); } if (!getWeightBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, weight_); @@ -906,6 +1096,13 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, isPurchaseEnabled_); } + if (!getRelatedSymbolBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, relatedSymbol_); + } + if (isDepositAccount_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, isDepositAccount_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -931,6 +1128,10 @@ public boolean equals(final java.lang.Object obj) { != other.getIsVirtualBalanceEnabled()) return false; if (getIsPurchaseEnabled() != other.getIsPurchaseEnabled()) return false; + if (!getRelatedSymbol() + .equals(other.getRelatedSymbol())) return false; + if (getIsDepositAccount() + != other.getIsDepositAccount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -955,6 +1156,11 @@ public int hashCode() { hash = (37 * hash) + IS_PURCHASE_ENABLED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsPurchaseEnabled()); + hash = (37 * hash) + RELATED_SYMBOL_FIELD_NUMBER; + hash = (53 * hash) + getRelatedSymbol().hashCode(); + hash = (37 * hash) + IS_DEPOSIT_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsDepositAccount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1098,6 +1304,10 @@ public Builder clear() { isPurchaseEnabled_ = false; + relatedSymbol_ = ""; + + isDepositAccount_ = false; + return this; } @@ -1129,6 +1339,8 @@ public io.aelf.protobuf.generated.ToeknConverterContract.Connector buildPartial( result.weight_ = weight_; result.isVirtualBalanceEnabled_ = isVirtualBalanceEnabled_; result.isPurchaseEnabled_ = isPurchaseEnabled_; + result.relatedSymbol_ = relatedSymbol_; + result.isDepositAccount_ = isDepositAccount_; onBuilt(); return result; } @@ -1194,6 +1406,13 @@ public Builder mergeFrom(io.aelf.protobuf.generated.ToeknConverterContract.Conne if (other.getIsPurchaseEnabled() != false) { setIsPurchaseEnabled(other.getIsPurchaseEnabled()); } + if (!other.getRelatedSymbol().isEmpty()) { + relatedSymbol_ = other.relatedSymbol_; + onChanged(); + } + if (other.getIsDepositAccount() != false) { + setIsDepositAccount(other.getIsDepositAccount()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1225,6 +1444,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -1241,6 +1464,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -1258,6 +1485,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -1273,6 +1504,10 @@ public Builder setSymbol( return this; } /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -1283,6 +1518,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The token symbol.
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -1301,14 +1540,22 @@ public Builder setSymbolBytes( private long virtualBalance_ ; /** - * sint64 virtual_balance = 2; + *
+       * The virtual balance for base token.
+       * 
+ * + * int64 virtual_balance = 2; * @return The virtualBalance. */ public long getVirtualBalance() { return virtualBalance_; } /** - * sint64 virtual_balance = 2; + *
+       * The virtual balance for base token.
+       * 
+ * + * int64 virtual_balance = 2; * @param value The virtualBalance to set. * @return This builder for chaining. */ @@ -1319,7 +1566,11 @@ public Builder setVirtualBalance(long value) { return this; } /** - * sint64 virtual_balance = 2; + *
+       * The virtual balance for base token.
+       * 
+ * + * int64 virtual_balance = 2; * @return This builder for chaining. */ public Builder clearVirtualBalance() { @@ -1331,6 +1582,10 @@ public Builder clearVirtualBalance() { private java.lang.Object weight_ = ""; /** + *
+       * The calculated weight value for this Connector.
+       * 
+ * * string weight = 3; * @return The weight. */ @@ -1347,6 +1602,10 @@ public java.lang.String getWeight() { } } /** + *
+       * The calculated weight value for this Connector.
+       * 
+ * * string weight = 3; * @return The bytes for weight. */ @@ -1364,6 +1623,10 @@ public java.lang.String getWeight() { } } /** + *
+       * The calculated weight value for this Connector.
+       * 
+ * * string weight = 3; * @param value The weight to set. * @return This builder for chaining. @@ -1379,6 +1642,10 @@ public Builder setWeight( return this; } /** + *
+       * The calculated weight value for this Connector.
+       * 
+ * * string weight = 3; * @return This builder for chaining. */ @@ -1389,6 +1656,10 @@ public Builder clearWeight() { return this; } /** + *
+       * The calculated weight value for this Connector.
+       * 
+ * * string weight = 3; * @param value The bytes for weight to set. * @return This builder for chaining. @@ -1408,7 +1679,7 @@ public Builder setWeightBytes( private boolean isVirtualBalanceEnabled_ ; /** *
-       * true if virtual balance is enabled, false if not
+       * Whether to use Virtual Balance.
        * 
* * bool is_virtual_balance_enabled = 4; @@ -1419,7 +1690,7 @@ public boolean getIsVirtualBalanceEnabled() { } /** *
-       * true if virtual balance is enabled, false if not
+       * Whether to use Virtual Balance.
        * 
* * bool is_virtual_balance_enabled = 4; @@ -1434,7 +1705,7 @@ public Builder setIsVirtualBalanceEnabled(boolean value) { } /** *
-       * true if virtual balance is enabled, false if not
+       * Whether to use Virtual Balance.
        * 
* * bool is_virtual_balance_enabled = 4; @@ -1449,6 +1720,10 @@ public Builder clearIsVirtualBalanceEnabled() { private boolean isPurchaseEnabled_ ; /** + *
+       * Whether the connector is enabled.
+       * 
+ * * bool is_purchase_enabled = 5; * @return The isPurchaseEnabled. */ @@ -1456,6 +1731,10 @@ public boolean getIsPurchaseEnabled() { return isPurchaseEnabled_; } /** + *
+       * Whether the connector is enabled.
+       * 
+ * * bool is_purchase_enabled = 5; * @param value The isPurchaseEnabled to set. * @return This builder for chaining. @@ -1467,6 +1746,10 @@ public Builder setIsPurchaseEnabled(boolean value) { return this; } /** + *
+       * Whether the connector is enabled.
+       * 
+ * * bool is_purchase_enabled = 5; * @return This builder for chaining. */ @@ -1476,6 +1759,144 @@ public Builder clearIsPurchaseEnabled() { onChanged(); return this; } + + private java.lang.Object relatedSymbol_ = ""; + /** + *
+       * Indicates its related connector, the pair connector includes a new created token connector and the base token connector.
+       * 
+ * + * string related_symbol = 6; + * @return The relatedSymbol. + */ + public java.lang.String getRelatedSymbol() { + java.lang.Object ref = relatedSymbol_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + relatedSymbol_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Indicates its related connector, the pair connector includes a new created token connector and the base token connector.
+       * 
+ * + * string related_symbol = 6; + * @return The bytes for relatedSymbol. + */ + public com.google.protobuf.ByteString + getRelatedSymbolBytes() { + java.lang.Object ref = relatedSymbol_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + relatedSymbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Indicates its related connector, the pair connector includes a new created token connector and the base token connector.
+       * 
+ * + * string related_symbol = 6; + * @param value The relatedSymbol to set. + * @return This builder for chaining. + */ + public Builder setRelatedSymbol( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + relatedSymbol_ = value; + onChanged(); + return this; + } + /** + *
+       * Indicates its related connector, the pair connector includes a new created token connector and the base token connector.
+       * 
+ * + * string related_symbol = 6; + * @return This builder for chaining. + */ + public Builder clearRelatedSymbol() { + + relatedSymbol_ = getDefaultInstance().getRelatedSymbol(); + onChanged(); + return this; + } + /** + *
+       * Indicates its related connector, the pair connector includes a new created token connector and the base token connector.
+       * 
+ * + * string related_symbol = 6; + * @param value The bytes for relatedSymbol to set. + * @return This builder for chaining. + */ + public Builder setRelatedSymbolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + relatedSymbol_ = value; + onChanged(); + return this; + } + + private boolean isDepositAccount_ ; + /** + *
+       * Indicates if the connector is base token connector.
+       * 
+ * + * bool is_deposit_account = 7; + * @return The isDepositAccount. + */ + public boolean getIsDepositAccount() { + return isDepositAccount_; + } + /** + *
+       * Indicates if the connector is base token connector.
+       * 
+ * + * bool is_deposit_account = 7; + * @param value The isDepositAccount to set. + * @return This builder for chaining. + */ + public Builder setIsDepositAccount(boolean value) { + + isDepositAccount_ = value; + onChanged(); + return this; + } + /** + *
+       * Indicates if the connector is base token connector.
+       * 
+ * + * bool is_deposit_account = 7; + * @return This builder for chaining. + */ + public Builder clearIsDepositAccount() { + + isDepositAccount_ = false; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1549,11 +1970,13 @@ public io.aelf.protobuf.generated.ToeknConverterContract.Connector getDefaultIns static { java.lang.String[] descriptorData = { "\n\036toekn_converter_contract.proto\"\035\n\013Toke" + - "nSymbol\022\016\n\006symbol\030\001 \001(\t\"\205\001\n\tConnector\022\016\n" + - "\006symbol\030\001 \001(\t\022\027\n\017virtual_balance\030\002 \001(\022\022\016" + + "nSymbol\022\016\n\006symbol\030\001 \001(\t\"\271\001\n\tConnector\022\016\n" + + "\006symbol\030\001 \001(\t\022\027\n\017virtual_balance\030\002 \001(\003\022\016" + "\n\006weight\030\003 \001(\t\022\"\n\032is_virtual_balance_ena" + - "bled\030\004 \001(\010\022\033\n\023is_purchase_enabled\030\005 \001(\010B" + - "\034\n\032io.aelf.protobuf.generatedb\006proto3" + "bled\030\004 \001(\010\022\033\n\023is_purchase_enabled\030\005 \001(\010\022" + + "\026\n\016related_symbol\030\006 \001(\t\022\032\n\022is_deposit_ac" + + "count\030\007 \001(\010B\034\n\032io.aelf.protobuf.generate" + + "db\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -1570,7 +1993,7 @@ public io.aelf.protobuf.generated.ToeknConverterContract.Connector getDefaultIns internal_static_Connector_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Connector_descriptor, - new java.lang.String[] { "Symbol", "VirtualBalance", "Weight", "IsVirtualBalanceEnabled", "IsPurchaseEnabled", }); + new java.lang.String[] { "Symbol", "VirtualBalance", "Weight", "IsVirtualBalanceEnabled", "IsPurchaseEnabled", "RelatedSymbol", "IsDepositAccount", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/TokenContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/TokenContract.java index 333d37a..7277c48 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/TokenContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/TokenContract.java @@ -19,11 +19,19 @@ public interface TokenInfoOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The symbol of the token.f
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The symbol of the token.f
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -31,73 +39,111 @@ public interface TokenInfoOrBuilder extends getSymbolBytes(); /** - * string tokenName = 2; + *
+     * The full name of the token.
+     * 
+ * + * string token_name = 2; * @return The tokenName. */ java.lang.String getTokenName(); /** - * string tokenName = 2; + *
+     * The full name of the token.
+     * 
+ * + * string token_name = 2; * @return The bytes for tokenName. */ com.google.protobuf.ByteString getTokenNameBytes(); /** - * sint64 supply = 3; + *
+     * The current supply of the token.
+     * 
+ * + * int64 supply = 3; * @return The supply. */ long getSupply(); /** - * sint64 totalSupply = 4; + *
+     * The total supply of the token.
+     * 
+ * + * int64 total_supply = 4; * @return The totalSupply. */ long getTotalSupply(); /** - * sint32 decimals = 5; + *
+     * The precision of the token.
+     * 
+ * + * int32 decimals = 5; * @return The decimals. */ int getDecimals(); /** + *
+     * The address that created the token.
+     * 
+ * * .Address issuer = 6; * @return Whether the issuer field is set. */ boolean hasIssuer(); /** + *
+     * The address that created the token.
+     * 
+ * * .Address issuer = 6; * @return The issuer. */ io.aelf.protobuf.generated.Client.Address getIssuer(); /** + *
+     * The address that created the token.
+     * 
+ * * .Address issuer = 6; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getIssuerOrBuilder(); /** + *
+     * A flag indicating if this token is burnable.
+     * 
+ * * bool is_burnable = 7; * @return The isBurnable. */ boolean getIsBurnable(); /** - * bool is_transfer_disabled = 8; - * @return The isTransferDisabled. - */ - boolean getIsTransferDisabled(); - - /** - * sint32 issue_chain_id = 9; + *
+     * The chain id of the token.
+     * 
+ * + * int32 issue_chain_id = 8; * @return The issueChainId. */ int getIssueChainId(); /** - * sint64 burned = 10; - * @return The burned. + *
+     * The amount of issued tokens.
+     * 
+ * + * int64 issued = 9; + * @return The issued. */ - long getBurned(); + long getIssued(); } /** *
@@ -164,17 +210,17 @@ private TokenInfo(
             }
             case 24: {
 
-              supply_ = input.readSInt64();
+              supply_ = input.readInt64();
               break;
             }
             case 32: {
 
-              totalSupply_ = input.readSInt64();
+              totalSupply_ = input.readInt64();
               break;
             }
             case 40: {
 
-              decimals_ = input.readSInt32();
+              decimals_ = input.readInt32();
               break;
             }
             case 50: {
@@ -197,17 +243,12 @@ private TokenInfo(
             }
             case 64: {
 
-              isTransferDisabled_ = input.readBool();
+              issueChainId_ = input.readInt32();
               break;
             }
             case 72: {
 
-              issueChainId_ = input.readSInt32();
-              break;
-            }
-            case 80: {
-
-              burned_ = input.readSInt64();
+              issued_ = input.readInt64();
               break;
             }
             default: {
@@ -245,6 +286,10 @@ private TokenInfo(
     public static final int SYMBOL_FIELD_NUMBER = 1;
     private volatile java.lang.Object symbol_;
     /**
+     * 
+     * The symbol of the token.f
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -261,6 +306,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The symbol of the token.f
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -278,10 +327,14 @@ public java.lang.String getSymbol() { } } - public static final int TOKENNAME_FIELD_NUMBER = 2; + public static final int TOKEN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object tokenName_; /** - * string tokenName = 2; + *
+     * The full name of the token.
+     * 
+ * + * string token_name = 2; * @return The tokenName. */ public java.lang.String getTokenName() { @@ -297,7 +350,11 @@ public java.lang.String getTokenName() { } } /** - * string tokenName = 2; + *
+     * The full name of the token.
+     * 
+ * + * string token_name = 2; * @return The bytes for tokenName. */ public com.google.protobuf.ByteString @@ -317,17 +374,25 @@ public java.lang.String getTokenName() { public static final int SUPPLY_FIELD_NUMBER = 3; private long supply_; /** - * sint64 supply = 3; + *
+     * The current supply of the token.
+     * 
+ * + * int64 supply = 3; * @return The supply. */ public long getSupply() { return supply_; } - public static final int TOTALSUPPLY_FIELD_NUMBER = 4; + public static final int TOTAL_SUPPLY_FIELD_NUMBER = 4; private long totalSupply_; /** - * sint64 totalSupply = 4; + *
+     * The total supply of the token.
+     * 
+ * + * int64 total_supply = 4; * @return The totalSupply. */ public long getTotalSupply() { @@ -337,7 +402,11 @@ public long getTotalSupply() { public static final int DECIMALS_FIELD_NUMBER = 5; private int decimals_; /** - * sint32 decimals = 5; + *
+     * The precision of the token.
+     * 
+ * + * int32 decimals = 5; * @return The decimals. */ public int getDecimals() { @@ -347,6 +416,10 @@ public int getDecimals() { public static final int ISSUER_FIELD_NUMBER = 6; private io.aelf.protobuf.generated.Client.Address issuer_; /** + *
+     * The address that created the token.
+     * 
+ * * .Address issuer = 6; * @return Whether the issuer field is set. */ @@ -354,6 +427,10 @@ public boolean hasIssuer() { return issuer_ != null; } /** + *
+     * The address that created the token.
+     * 
+ * * .Address issuer = 6; * @return The issuer. */ @@ -361,6 +438,10 @@ public io.aelf.protobuf.generated.Client.Address getIssuer() { return issuer_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : issuer_; } /** + *
+     * The address that created the token.
+     * 
+ * * .Address issuer = 6; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getIssuerOrBuilder() { @@ -370,6 +451,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getIssuerOrBuilder() { public static final int IS_BURNABLE_FIELD_NUMBER = 7; private boolean isBurnable_; /** + *
+     * A flag indicating if this token is burnable.
+     * 
+ * * bool is_burnable = 7; * @return The isBurnable. */ @@ -377,34 +462,32 @@ public boolean getIsBurnable() { return isBurnable_; } - public static final int IS_TRANSFER_DISABLED_FIELD_NUMBER = 8; - private boolean isTransferDisabled_; - /** - * bool is_transfer_disabled = 8; - * @return The isTransferDisabled. - */ - public boolean getIsTransferDisabled() { - return isTransferDisabled_; - } - - public static final int ISSUE_CHAIN_ID_FIELD_NUMBER = 9; + public static final int ISSUE_CHAIN_ID_FIELD_NUMBER = 8; private int issueChainId_; /** - * sint32 issue_chain_id = 9; + *
+     * The chain id of the token.
+     * 
+ * + * int32 issue_chain_id = 8; * @return The issueChainId. */ public int getIssueChainId() { return issueChainId_; } - public static final int BURNED_FIELD_NUMBER = 10; - private long burned_; + public static final int ISSUED_FIELD_NUMBER = 9; + private long issued_; /** - * sint64 burned = 10; - * @return The burned. + *
+     * The amount of issued tokens.
+     * 
+ * + * int64 issued = 9; + * @return The issued. */ - public long getBurned() { - return burned_; + public long getIssued() { + return issued_; } private byte memoizedIsInitialized = -1; @@ -428,13 +511,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tokenName_); } if (supply_ != 0L) { - output.writeSInt64(3, supply_); + output.writeInt64(3, supply_); } if (totalSupply_ != 0L) { - output.writeSInt64(4, totalSupply_); + output.writeInt64(4, totalSupply_); } if (decimals_ != 0) { - output.writeSInt32(5, decimals_); + output.writeInt32(5, decimals_); } if (issuer_ != null) { output.writeMessage(6, getIssuer()); @@ -442,14 +525,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (isBurnable_ != false) { output.writeBool(7, isBurnable_); } - if (isTransferDisabled_ != false) { - output.writeBool(8, isTransferDisabled_); - } if (issueChainId_ != 0) { - output.writeSInt32(9, issueChainId_); + output.writeInt32(8, issueChainId_); } - if (burned_ != 0L) { - output.writeSInt64(10, burned_); + if (issued_ != 0L) { + output.writeInt64(9, issued_); } unknownFields.writeTo(output); } @@ -468,15 +548,15 @@ public int getSerializedSize() { } if (supply_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, supply_); + .computeInt64Size(3, supply_); } if (totalSupply_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, totalSupply_); + .computeInt64Size(4, totalSupply_); } if (decimals_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeSInt32Size(5, decimals_); + .computeInt32Size(5, decimals_); } if (issuer_ != null) { size += com.google.protobuf.CodedOutputStream @@ -486,17 +566,13 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, isBurnable_); } - if (isTransferDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, isTransferDisabled_); - } if (issueChainId_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeSInt32Size(9, issueChainId_); + .computeInt32Size(8, issueChainId_); } - if (burned_ != 0L) { + if (issued_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(10, burned_); + .computeInt64Size(9, issued_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -530,12 +606,10 @@ public boolean equals(final java.lang.Object obj) { } if (getIsBurnable() != other.getIsBurnable()) return false; - if (getIsTransferDisabled() - != other.getIsTransferDisabled()) return false; if (getIssueChainId() != other.getIssueChainId()) return false; - if (getBurned() - != other.getBurned()) return false; + if (getIssued() + != other.getIssued()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -549,12 +623,12 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SYMBOL_FIELD_NUMBER; hash = (53 * hash) + getSymbol().hashCode(); - hash = (37 * hash) + TOKENNAME_FIELD_NUMBER; + hash = (37 * hash) + TOKEN_NAME_FIELD_NUMBER; hash = (53 * hash) + getTokenName().hashCode(); hash = (37 * hash) + SUPPLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSupply()); - hash = (37 * hash) + TOTALSUPPLY_FIELD_NUMBER; + hash = (37 * hash) + TOTAL_SUPPLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalSupply()); hash = (37 * hash) + DECIMALS_FIELD_NUMBER; @@ -566,14 +640,11 @@ public int hashCode() { hash = (37 * hash) + IS_BURNABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsBurnable()); - hash = (37 * hash) + IS_TRANSFER_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsTransferDisabled()); hash = (37 * hash) + ISSUE_CHAIN_ID_FIELD_NUMBER; hash = (53 * hash) + getIssueChainId(); - hash = (37 * hash) + BURNED_FIELD_NUMBER; + hash = (37 * hash) + ISSUED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getBurned()); + getIssued()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -729,11 +800,9 @@ public Builder clear() { } isBurnable_ = false; - isTransferDisabled_ = false; - issueChainId_ = 0; - burned_ = 0L; + issued_ = 0L; return this; } @@ -772,9 +841,8 @@ public io.aelf.protobuf.generated.TokenContract.TokenInfo buildPartial() { result.issuer_ = issuerBuilder_.build(); } result.isBurnable_ = isBurnable_; - result.isTransferDisabled_ = isTransferDisabled_; result.issueChainId_ = issueChainId_; - result.burned_ = burned_; + result.issued_ = issued_; onBuilt(); return result; } @@ -846,14 +914,11 @@ public Builder mergeFrom(io.aelf.protobuf.generated.TokenContract.TokenInfo othe if (other.getIsBurnable() != false) { setIsBurnable(other.getIsBurnable()); } - if (other.getIsTransferDisabled() != false) { - setIsTransferDisabled(other.getIsTransferDisabled()); - } if (other.getIssueChainId() != 0) { setIssueChainId(other.getIssueChainId()); } - if (other.getBurned() != 0L) { - setBurned(other.getBurned()); + if (other.getIssued() != 0L) { + setIssued(other.getIssued()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -886,6 +951,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The symbol of the token.f
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -902,6 +971,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of the token.f
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -919,6 +992,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of the token.f
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -934,6 +1011,10 @@ public Builder setSymbol( return this; } /** + *
+       * The symbol of the token.f
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -944,6 +1025,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The symbol of the token.f
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -962,7 +1047,11 @@ public Builder setSymbolBytes( private java.lang.Object tokenName_ = ""; /** - * string tokenName = 2; + *
+       * The full name of the token.
+       * 
+ * + * string token_name = 2; * @return The tokenName. */ public java.lang.String getTokenName() { @@ -978,7 +1067,11 @@ public java.lang.String getTokenName() { } } /** - * string tokenName = 2; + *
+       * The full name of the token.
+       * 
+ * + * string token_name = 2; * @return The bytes for tokenName. */ public com.google.protobuf.ByteString @@ -995,7 +1088,11 @@ public java.lang.String getTokenName() { } } /** - * string tokenName = 2; + *
+       * The full name of the token.
+       * 
+ * + * string token_name = 2; * @param value The tokenName to set. * @return This builder for chaining. */ @@ -1010,7 +1107,11 @@ public Builder setTokenName( return this; } /** - * string tokenName = 2; + *
+       * The full name of the token.
+       * 
+ * + * string token_name = 2; * @return This builder for chaining. */ public Builder clearTokenName() { @@ -1020,7 +1121,11 @@ public Builder clearTokenName() { return this; } /** - * string tokenName = 2; + *
+       * The full name of the token.
+       * 
+ * + * string token_name = 2; * @param value The bytes for tokenName to set. * @return This builder for chaining. */ @@ -1038,14 +1143,22 @@ public Builder setTokenNameBytes( private long supply_ ; /** - * sint64 supply = 3; + *
+       * The current supply of the token.
+       * 
+ * + * int64 supply = 3; * @return The supply. */ public long getSupply() { return supply_; } /** - * sint64 supply = 3; + *
+       * The current supply of the token.
+       * 
+ * + * int64 supply = 3; * @param value The supply to set. * @return This builder for chaining. */ @@ -1056,7 +1169,11 @@ public Builder setSupply(long value) { return this; } /** - * sint64 supply = 3; + *
+       * The current supply of the token.
+       * 
+ * + * int64 supply = 3; * @return This builder for chaining. */ public Builder clearSupply() { @@ -1068,14 +1185,22 @@ public Builder clearSupply() { private long totalSupply_ ; /** - * sint64 totalSupply = 4; + *
+       * The total supply of the token.
+       * 
+ * + * int64 total_supply = 4; * @return The totalSupply. */ public long getTotalSupply() { return totalSupply_; } /** - * sint64 totalSupply = 4; + *
+       * The total supply of the token.
+       * 
+ * + * int64 total_supply = 4; * @param value The totalSupply to set. * @return This builder for chaining. */ @@ -1086,7 +1211,11 @@ public Builder setTotalSupply(long value) { return this; } /** - * sint64 totalSupply = 4; + *
+       * The total supply of the token.
+       * 
+ * + * int64 total_supply = 4; * @return This builder for chaining. */ public Builder clearTotalSupply() { @@ -1098,14 +1227,22 @@ public Builder clearTotalSupply() { private int decimals_ ; /** - * sint32 decimals = 5; + *
+       * The precision of the token.
+       * 
+ * + * int32 decimals = 5; * @return The decimals. */ public int getDecimals() { return decimals_; } /** - * sint32 decimals = 5; + *
+       * The precision of the token.
+       * 
+ * + * int32 decimals = 5; * @param value The decimals to set. * @return This builder for chaining. */ @@ -1116,7 +1253,11 @@ public Builder setDecimals(int value) { return this; } /** - * sint32 decimals = 5; + *
+       * The precision of the token.
+       * 
+ * + * int32 decimals = 5; * @return This builder for chaining. */ public Builder clearDecimals() { @@ -1130,6 +1271,10 @@ public Builder clearDecimals() { private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> issuerBuilder_; /** + *
+       * The address that created the token.
+       * 
+ * * .Address issuer = 6; * @return Whether the issuer field is set. */ @@ -1137,6 +1282,10 @@ public boolean hasIssuer() { return issuerBuilder_ != null || issuer_ != null; } /** + *
+       * The address that created the token.
+       * 
+ * * .Address issuer = 6; * @return The issuer. */ @@ -1148,6 +1297,10 @@ public io.aelf.protobuf.generated.Client.Address getIssuer() { } } /** + *
+       * The address that created the token.
+       * 
+ * * .Address issuer = 6; */ public Builder setIssuer(io.aelf.protobuf.generated.Client.Address value) { @@ -1164,6 +1317,10 @@ public Builder setIssuer(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address that created the token.
+       * 
+ * * .Address issuer = 6; */ public Builder setIssuer( @@ -1178,6 +1335,10 @@ public Builder setIssuer( return this; } /** + *
+       * The address that created the token.
+       * 
+ * * .Address issuer = 6; */ public Builder mergeIssuer(io.aelf.protobuf.generated.Client.Address value) { @@ -1196,6 +1357,10 @@ public Builder mergeIssuer(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address that created the token.
+       * 
+ * * .Address issuer = 6; */ public Builder clearIssuer() { @@ -1210,6 +1375,10 @@ public Builder clearIssuer() { return this; } /** + *
+       * The address that created the token.
+       * 
+ * * .Address issuer = 6; */ public io.aelf.protobuf.generated.Client.Address.Builder getIssuerBuilder() { @@ -1218,6 +1387,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getIssuerBuilder() { return getIssuerFieldBuilder().getBuilder(); } /** + *
+       * The address that created the token.
+       * 
+ * * .Address issuer = 6; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getIssuerOrBuilder() { @@ -1229,6 +1402,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getIssuerOrBuilder() { } } /** + *
+       * The address that created the token.
+       * 
+ * * .Address issuer = 6; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -1247,6 +1424,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getIssuerOrBuilder() { private boolean isBurnable_ ; /** + *
+       * A flag indicating if this token is burnable.
+       * 
+ * * bool is_burnable = 7; * @return The isBurnable. */ @@ -1254,6 +1435,10 @@ public boolean getIsBurnable() { return isBurnable_; } /** + *
+       * A flag indicating if this token is burnable.
+       * 
+ * * bool is_burnable = 7; * @param value The isBurnable to set. * @return This builder for chaining. @@ -1265,6 +1450,10 @@ public Builder setIsBurnable(boolean value) { return this; } /** + *
+       * A flag indicating if this token is burnable.
+       * 
+ * * bool is_burnable = 7; * @return This builder for chaining. */ @@ -1275,46 +1464,24 @@ public Builder clearIsBurnable() { return this; } - private boolean isTransferDisabled_ ; - /** - * bool is_transfer_disabled = 8; - * @return The isTransferDisabled. - */ - public boolean getIsTransferDisabled() { - return isTransferDisabled_; - } - /** - * bool is_transfer_disabled = 8; - * @param value The isTransferDisabled to set. - * @return This builder for chaining. - */ - public Builder setIsTransferDisabled(boolean value) { - - isTransferDisabled_ = value; - onChanged(); - return this; - } - /** - * bool is_transfer_disabled = 8; - * @return This builder for chaining. - */ - public Builder clearIsTransferDisabled() { - - isTransferDisabled_ = false; - onChanged(); - return this; - } - private int issueChainId_ ; /** - * sint32 issue_chain_id = 9; + *
+       * The chain id of the token.
+       * 
+ * + * int32 issue_chain_id = 8; * @return The issueChainId. */ public int getIssueChainId() { return issueChainId_; } /** - * sint32 issue_chain_id = 9; + *
+       * The chain id of the token.
+       * 
+ * + * int32 issue_chain_id = 8; * @param value The issueChainId to set. * @return This builder for chaining. */ @@ -1325,7 +1492,11 @@ public Builder setIssueChainId(int value) { return this; } /** - * sint32 issue_chain_id = 9; + *
+       * The chain id of the token.
+       * 
+ * + * int32 issue_chain_id = 8; * @return This builder for chaining. */ public Builder clearIssueChainId() { @@ -1335,32 +1506,44 @@ public Builder clearIssueChainId() { return this; } - private long burned_ ; + private long issued_ ; /** - * sint64 burned = 10; - * @return The burned. + *
+       * The amount of issued tokens.
+       * 
+ * + * int64 issued = 9; + * @return The issued. */ - public long getBurned() { - return burned_; + public long getIssued() { + return issued_; } /** - * sint64 burned = 10; - * @param value The burned to set. + *
+       * The amount of issued tokens.
+       * 
+ * + * int64 issued = 9; + * @param value The issued to set. * @return This builder for chaining. */ - public Builder setBurned(long value) { + public Builder setIssued(long value) { - burned_ = value; + issued_ = value; onChanged(); return this; } /** - * sint64 burned = 10; + *
+       * The amount of issued tokens.
+       * 
+ * + * int64 issued = 9; * @return This builder for chaining. */ - public Builder clearBurned() { + public Builder clearIssued() { - burned_ = 0L; + issued_ = 0L; onChanged(); return this; } @@ -1422,11 +1605,19 @@ public interface GetTokenInfoInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -1520,6 +1711,10 @@ private GetTokenInfoInput( public static final int SYMBOL_FIELD_NUMBER = 1; private volatile java.lang.Object symbol_; /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -1536,6 +1731,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -1857,6 +2056,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -1873,6 +2076,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -1890,6 +2097,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -1905,6 +2116,10 @@ public Builder setSymbol( return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -1915,6 +2130,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -1988,24 +2207,44 @@ public interface TokenInfoListOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ java.util.List getValueList(); /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ io.aelf.protobuf.generated.TokenContract.TokenInfo getValue(int index); /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ int getValueCount(); /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ java.util.List getValueOrBuilderList(); /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ io.aelf.protobuf.generated.TokenContract.TokenInfoOrBuilder getValueOrBuilder( @@ -2105,12 +2344,20 @@ private TokenInfoList( public static final int VALUE_FIELD_NUMBER = 1; private java.util.List value_; /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ public java.util.List getValueList() { return value_; } /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ public java.util.List @@ -2118,18 +2365,30 @@ public java.util.List getVal return value_; } /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ public int getValueCount() { return value_.size(); } /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ public io.aelf.protobuf.generated.TokenContract.TokenInfo getValue(int index) { return value_.get(index); } /** + *
+     * List of token information.
+     * 
+ * * repeated .TokenInfo value = 1; */ public io.aelf.protobuf.generated.TokenContract.TokenInfoOrBuilder getValueOrBuilder( @@ -2492,6 +2751,10 @@ private void ensureValueIsMutable() { io.aelf.protobuf.generated.TokenContract.TokenInfo, io.aelf.protobuf.generated.TokenContract.TokenInfo.Builder, io.aelf.protobuf.generated.TokenContract.TokenInfoOrBuilder> valueBuilder_; /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public java.util.List getValueList() { @@ -2502,6 +2765,10 @@ public java.util.List getVal } } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public int getValueCount() { @@ -2512,6 +2779,10 @@ public int getValueCount() { } } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public io.aelf.protobuf.generated.TokenContract.TokenInfo getValue(int index) { @@ -2522,6 +2793,10 @@ public io.aelf.protobuf.generated.TokenContract.TokenInfo getValue(int index) { } } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public Builder setValue( @@ -2539,6 +2814,10 @@ public Builder setValue( return this; } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public Builder setValue( @@ -2553,6 +2832,10 @@ public Builder setValue( return this; } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public Builder addValue(io.aelf.protobuf.generated.TokenContract.TokenInfo value) { @@ -2569,6 +2852,10 @@ public Builder addValue(io.aelf.protobuf.generated.TokenContract.TokenInfo value return this; } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public Builder addValue( @@ -2586,6 +2873,10 @@ public Builder addValue( return this; } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public Builder addValue( @@ -2600,6 +2891,10 @@ public Builder addValue( return this; } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public Builder addValue( @@ -2614,6 +2909,10 @@ public Builder addValue( return this; } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public Builder addAllValue( @@ -2629,6 +2928,10 @@ public Builder addAllValue( return this; } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public Builder clearValue() { @@ -2642,6 +2945,10 @@ public Builder clearValue() { return this; } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public Builder removeValue(int index) { @@ -2655,6 +2962,10 @@ public Builder removeValue(int index) { return this; } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public io.aelf.protobuf.generated.TokenContract.TokenInfo.Builder getValueBuilder( @@ -2662,6 +2973,10 @@ public io.aelf.protobuf.generated.TokenContract.TokenInfo.Builder getValueBuilde return getValueFieldBuilder().getBuilder(index); } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public io.aelf.protobuf.generated.TokenContract.TokenInfoOrBuilder getValueOrBuilder( @@ -2672,6 +2987,10 @@ public io.aelf.protobuf.generated.TokenContract.TokenInfoOrBuilder getValueOrBui } } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public java.util.List @@ -2683,6 +3002,10 @@ public io.aelf.protobuf.generated.TokenContract.TokenInfoOrBuilder getValueOrBui } } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public io.aelf.protobuf.generated.TokenContract.TokenInfo.Builder addValueBuilder() { @@ -2690,6 +3013,10 @@ public io.aelf.protobuf.generated.TokenContract.TokenInfo.Builder addValueBuilde io.aelf.protobuf.generated.TokenContract.TokenInfo.getDefaultInstance()); } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public io.aelf.protobuf.generated.TokenContract.TokenInfo.Builder addValueBuilder( @@ -2698,6 +3025,10 @@ public io.aelf.protobuf.generated.TokenContract.TokenInfo.Builder addValueBuilde index, io.aelf.protobuf.generated.TokenContract.TokenInfo.getDefaultInstance()); } /** + *
+       * List of token information.
+       * 
+ * * repeated .TokenInfo value = 1; */ public java.util.List @@ -2776,11 +3107,19 @@ public interface GetBalanceInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -2788,16 +3127,28 @@ public interface GetBalanceInputOrBuilder extends getSymbolBytes(); /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ boolean hasOwner(); /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; * @return The owner. */ io.aelf.protobuf.generated.Client.Address getOwner(); /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder(); @@ -2902,6 +3253,10 @@ private GetBalanceInput( public static final int SYMBOL_FIELD_NUMBER = 1; private volatile java.lang.Object symbol_; /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -2918,6 +3273,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -2938,6 +3297,10 @@ public java.lang.String getSymbol() { public static final int OWNER_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.Address owner_; /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ @@ -2945,6 +3308,10 @@ public boolean hasOwner() { return owner_ != null; } /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; * @return The owner. */ @@ -2952,6 +3319,10 @@ public io.aelf.protobuf.generated.Client.Address getOwner() { return owner_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : owner_; } /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { @@ -3292,6 +3663,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -3308,6 +3683,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -3325,6 +3704,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -3340,6 +3723,10 @@ public Builder setSymbol( return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -3350,6 +3737,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -3370,6 +3761,10 @@ public Builder setSymbolBytes( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> ownerBuilder_; /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ @@ -3377,6 +3772,10 @@ public boolean hasOwner() { return ownerBuilder_ != null || owner_ != null; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; * @return The owner. */ @@ -3388,6 +3787,10 @@ public io.aelf.protobuf.generated.Client.Address getOwner() { } } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public Builder setOwner(io.aelf.protobuf.generated.Client.Address value) { @@ -3404,6 +3807,10 @@ public Builder setOwner(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public Builder setOwner( @@ -3418,6 +3825,10 @@ public Builder setOwner( return this; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public Builder mergeOwner(io.aelf.protobuf.generated.Client.Address value) { @@ -3436,6 +3847,10 @@ public Builder mergeOwner(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public Builder clearOwner() { @@ -3450,6 +3865,10 @@ public Builder clearOwner() { return this; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.Address.Builder getOwnerBuilder() { @@ -3458,6 +3877,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getOwnerBuilder() { return getOwnerFieldBuilder().getBuilder(); } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { @@ -3469,6 +3892,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { } } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -3542,11 +3969,19 @@ public interface GetBalanceOutputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -3554,22 +3989,38 @@ public interface GetBalanceOutputOrBuilder extends getSymbolBytes(); /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ boolean hasOwner(); /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; * @return The owner. */ io.aelf.protobuf.generated.Client.Address getOwner(); /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder(); /** - * sint64 balance = 3; + *
+     * The balance of the owner.
+     * 
+ * + * int64 balance = 3; * @return The balance. */ long getBalance(); @@ -3641,7 +4092,7 @@ private GetBalanceOutput( } case 24: { - balance_ = input.readSInt64(); + balance_ = input.readInt64(); break; } default: { @@ -3679,6 +4130,10 @@ private GetBalanceOutput( public static final int SYMBOL_FIELD_NUMBER = 1; private volatile java.lang.Object symbol_; /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -3695,6 +4150,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -3715,6 +4174,10 @@ public java.lang.String getSymbol() { public static final int OWNER_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.Address owner_; /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ @@ -3722,6 +4185,10 @@ public boolean hasOwner() { return owner_ != null; } /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; * @return The owner. */ @@ -3729,6 +4196,10 @@ public io.aelf.protobuf.generated.Client.Address getOwner() { return owner_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : owner_; } /** + *
+     * The target address of the query.
+     * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { @@ -3738,7 +4209,11 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { public static final int BALANCE_FIELD_NUMBER = 3; private long balance_; /** - * sint64 balance = 3; + *
+     * The balance of the owner.
+     * 
+ * + * int64 balance = 3; * @return The balance. */ public long getBalance() { @@ -3766,7 +4241,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, getOwner()); } if (balance_ != 0L) { - output.writeSInt64(3, balance_); + output.writeInt64(3, balance_); } unknownFields.writeTo(output); } @@ -3786,7 +4261,7 @@ public int getSerializedSize() { } if (balance_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, balance_); + .computeInt64Size(3, balance_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4097,6 +4572,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -4113,6 +4592,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -4130,6 +4613,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -4145,6 +4632,10 @@ public Builder setSymbol( return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -4155,6 +4646,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -4175,6 +4670,10 @@ public Builder setSymbolBytes( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> ownerBuilder_; /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ @@ -4182,6 +4681,10 @@ public boolean hasOwner() { return ownerBuilder_ != null || owner_ != null; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; * @return The owner. */ @@ -4193,6 +4696,10 @@ public io.aelf.protobuf.generated.Client.Address getOwner() { } } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public Builder setOwner(io.aelf.protobuf.generated.Client.Address value) { @@ -4209,6 +4716,10 @@ public Builder setOwner(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public Builder setOwner( @@ -4223,6 +4734,10 @@ public Builder setOwner( return this; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public Builder mergeOwner(io.aelf.protobuf.generated.Client.Address value) { @@ -4241,6 +4756,10 @@ public Builder mergeOwner(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public Builder clearOwner() { @@ -4255,6 +4774,10 @@ public Builder clearOwner() { return this; } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.Address.Builder getOwnerBuilder() { @@ -4263,6 +4786,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getOwnerBuilder() { return getOwnerFieldBuilder().getBuilder(); } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { @@ -4274,6 +4801,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { } } /** + *
+       * The target address of the query.
+       * 
+ * * .Address owner = 2; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -4292,14 +4823,22 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { private long balance_ ; /** - * sint64 balance = 3; + *
+       * The balance of the owner.
+       * 
+ * + * int64 balance = 3; * @return The balance. */ public long getBalance() { return balance_; } /** - * sint64 balance = 3; + *
+       * The balance of the owner.
+       * 
+ * + * int64 balance = 3; * @param value The balance to set. * @return This builder for chaining. */ @@ -4310,7 +4849,11 @@ public Builder setBalance(long value) { return this; } /** - * sint64 balance = 3; + *
+       * The balance of the owner.
+       * 
+ * + * int64 balance = 3; * @return This builder for chaining. */ public Builder clearBalance() { @@ -4377,11 +4920,19 @@ public interface GetAllowanceInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -4389,31 +4940,55 @@ public interface GetAllowanceInputOrBuilder extends getSymbolBytes(); /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ boolean hasOwner(); /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; * @return The owner. */ io.aelf.protobuf.generated.Client.Address getOwner(); /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder(); /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; * @return Whether the spender field is set. */ boolean hasSpender(); /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; * @return The spender. */ io.aelf.protobuf.generated.Client.Address getSpender(); /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder(); @@ -4531,6 +5106,10 @@ private GetAllowanceInput( public static final int SYMBOL_FIELD_NUMBER = 1; private volatile java.lang.Object symbol_; /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -4547,6 +5126,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -4567,6 +5150,10 @@ public java.lang.String getSymbol() { public static final int OWNER_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.Address owner_; /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ @@ -4574,6 +5161,10 @@ public boolean hasOwner() { return owner_ != null; } /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; * @return The owner. */ @@ -4581,6 +5172,10 @@ public io.aelf.protobuf.generated.Client.Address getOwner() { return owner_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : owner_; } /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { @@ -4590,6 +5185,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { public static final int SPENDER_FIELD_NUMBER = 3; private io.aelf.protobuf.generated.Client.Address spender_; /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; * @return Whether the spender field is set. */ @@ -4597,6 +5196,10 @@ public boolean hasSpender() { return spender_ != null; } /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; * @return The spender. */ @@ -4604,6 +5207,10 @@ public io.aelf.protobuf.generated.Client.Address getSpender() { return spender_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : spender_; } /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder() { @@ -4974,6 +5581,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -4990,6 +5601,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -5007,6 +5622,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -5022,6 +5641,10 @@ public Builder setSymbol( return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -5032,6 +5655,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -5052,6 +5679,10 @@ public Builder setSymbolBytes( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> ownerBuilder_; /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ @@ -5059,6 +5690,10 @@ public boolean hasOwner() { return ownerBuilder_ != null || owner_ != null; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; * @return The owner. */ @@ -5070,6 +5705,10 @@ public io.aelf.protobuf.generated.Client.Address getOwner() { } } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public Builder setOwner(io.aelf.protobuf.generated.Client.Address value) { @@ -5086,6 +5725,10 @@ public Builder setOwner(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public Builder setOwner( @@ -5100,6 +5743,10 @@ public Builder setOwner( return this; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public Builder mergeOwner(io.aelf.protobuf.generated.Client.Address value) { @@ -5118,6 +5765,10 @@ public Builder mergeOwner(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public Builder clearOwner() { @@ -5132,6 +5783,10 @@ public Builder clearOwner() { return this; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.Address.Builder getOwnerBuilder() { @@ -5140,6 +5795,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getOwnerBuilder() { return getOwnerFieldBuilder().getBuilder(); } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { @@ -5151,6 +5810,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { } } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -5171,6 +5834,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> spenderBuilder_; /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; * @return Whether the spender field is set. */ @@ -5178,6 +5845,10 @@ public boolean hasSpender() { return spenderBuilder_ != null || spender_ != null; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; * @return The spender. */ @@ -5189,6 +5860,10 @@ public io.aelf.protobuf.generated.Client.Address getSpender() { } } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public Builder setSpender(io.aelf.protobuf.generated.Client.Address value) { @@ -5205,6 +5880,10 @@ public Builder setSpender(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public Builder setSpender( @@ -5219,6 +5898,10 @@ public Builder setSpender( return this; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public Builder mergeSpender(io.aelf.protobuf.generated.Client.Address value) { @@ -5237,6 +5920,10 @@ public Builder mergeSpender(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public Builder clearSpender() { @@ -5251,6 +5938,10 @@ public Builder clearSpender() { return this; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public io.aelf.protobuf.generated.Client.Address.Builder getSpenderBuilder() { @@ -5259,6 +5950,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getSpenderBuilder() { return getSpenderFieldBuilder().getBuilder(); } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder() { @@ -5270,6 +5965,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder() } } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -5343,11 +6042,19 @@ public interface GetAllowanceOutputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -5355,37 +6062,65 @@ public interface GetAllowanceOutputOrBuilder extends getSymbolBytes(); /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ boolean hasOwner(); /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; * @return The owner. */ io.aelf.protobuf.generated.Client.Address getOwner(); /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder(); /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; * @return Whether the spender field is set. */ boolean hasSpender(); /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; * @return The spender. */ io.aelf.protobuf.generated.Client.Address getSpender(); /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder(); /** - * sint64 allowance = 4; + *
+     * The amount of allowance.
+     * 
+ * + * int64 allowance = 4; * @return The allowance. */ long getAllowance(); @@ -5470,7 +6205,7 @@ private GetAllowanceOutput( } case 32: { - allowance_ = input.readSInt64(); + allowance_ = input.readInt64(); break; } default: { @@ -5508,6 +6243,10 @@ private GetAllowanceOutput( public static final int SYMBOL_FIELD_NUMBER = 1; private volatile java.lang.Object symbol_; /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -5524,6 +6263,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The symbol of token.
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -5544,6 +6287,10 @@ public java.lang.String getSymbol() { public static final int OWNER_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.Address owner_; /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ @@ -5551,6 +6298,10 @@ public boolean hasOwner() { return owner_ != null; } /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; * @return The owner. */ @@ -5558,6 +6309,10 @@ public io.aelf.protobuf.generated.Client.Address getOwner() { return owner_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : owner_; } /** + *
+     * The address of the token owner.
+     * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { @@ -5567,6 +6322,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { public static final int SPENDER_FIELD_NUMBER = 3; private io.aelf.protobuf.generated.Client.Address spender_; /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; * @return Whether the spender field is set. */ @@ -5574,6 +6333,10 @@ public boolean hasSpender() { return spender_ != null; } /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; * @return The spender. */ @@ -5581,6 +6344,10 @@ public io.aelf.protobuf.generated.Client.Address getSpender() { return spender_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : spender_; } /** + *
+     * The address of the spender.
+     * 
+ * * .Address spender = 3; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder() { @@ -5590,7 +6357,11 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder() public static final int ALLOWANCE_FIELD_NUMBER = 4; private long allowance_; /** - * sint64 allowance = 4; + *
+     * The amount of allowance.
+     * 
+ * + * int64 allowance = 4; * @return The allowance. */ public long getAllowance() { @@ -5621,7 +6392,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(3, getSpender()); } if (allowance_ != 0L) { - output.writeSInt64(4, allowance_); + output.writeInt64(4, allowance_); } unknownFields.writeTo(output); } @@ -5645,7 +6416,7 @@ public int getSerializedSize() { } if (allowance_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, allowance_); + .computeInt64Size(4, allowance_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5979,6 +6750,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -5995,6 +6770,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -6012,6 +6791,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -6027,6 +6810,10 @@ public Builder setSymbol( return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -6037,6 +6824,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The symbol of token.
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -6057,6 +6848,10 @@ public Builder setSymbolBytes( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> ownerBuilder_; /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; * @return Whether the owner field is set. */ @@ -6064,6 +6859,10 @@ public boolean hasOwner() { return ownerBuilder_ != null || owner_ != null; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; * @return The owner. */ @@ -6075,6 +6874,10 @@ public io.aelf.protobuf.generated.Client.Address getOwner() { } } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public Builder setOwner(io.aelf.protobuf.generated.Client.Address value) { @@ -6091,6 +6894,10 @@ public Builder setOwner(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public Builder setOwner( @@ -6105,6 +6912,10 @@ public Builder setOwner( return this; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public Builder mergeOwner(io.aelf.protobuf.generated.Client.Address value) { @@ -6123,6 +6934,10 @@ public Builder mergeOwner(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public Builder clearOwner() { @@ -6137,6 +6952,10 @@ public Builder clearOwner() { return this; } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.Address.Builder getOwnerBuilder() { @@ -6145,6 +6964,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getOwnerBuilder() { return getOwnerFieldBuilder().getBuilder(); } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { @@ -6156,6 +6979,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { } } /** + *
+       * The address of the token owner.
+       * 
+ * * .Address owner = 2; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -6176,6 +7003,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getOwnerOrBuilder() { private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> spenderBuilder_; /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; * @return Whether the spender field is set. */ @@ -6183,6 +7014,10 @@ public boolean hasSpender() { return spenderBuilder_ != null || spender_ != null; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; * @return The spender. */ @@ -6194,6 +7029,10 @@ public io.aelf.protobuf.generated.Client.Address getSpender() { } } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public Builder setSpender(io.aelf.protobuf.generated.Client.Address value) { @@ -6210,6 +7049,10 @@ public Builder setSpender(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public Builder setSpender( @@ -6224,6 +7067,10 @@ public Builder setSpender( return this; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public Builder mergeSpender(io.aelf.protobuf.generated.Client.Address value) { @@ -6242,6 +7089,10 @@ public Builder mergeSpender(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public Builder clearSpender() { @@ -6256,6 +7107,10 @@ public Builder clearSpender() { return this; } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public io.aelf.protobuf.generated.Client.Address.Builder getSpenderBuilder() { @@ -6264,6 +7119,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getSpenderBuilder() { return getSpenderFieldBuilder().getBuilder(); } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder() { @@ -6275,6 +7134,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder() } } /** + *
+       * The address of the spender.
+       * 
+ * * .Address spender = 3; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -6293,14 +7156,22 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getSpenderOrBuilder() private long allowance_ ; /** - * sint64 allowance = 4; + *
+       * The amount of allowance.
+       * 
+ * + * int64 allowance = 4; * @return The allowance. */ public long getAllowance() { return allowance_; } /** - * sint64 allowance = 4; + *
+       * The amount of allowance.
+       * 
+ * + * int64 allowance = 4; * @param value The allowance to set. * @return This builder for chaining. */ @@ -6311,7 +7182,11 @@ public Builder setAllowance(long value) { return this; } /** - * sint64 allowance = 4; + *
+       * The amount of allowance.
+       * 
+ * + * int64 allowance = 4; * @return This builder for chaining. */ public Builder clearAllowance() { @@ -6378,11 +7253,19 @@ public interface IsInWhiteListInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The symbol of token. 
+     * 
+ * * string symbol = 1; * @return The symbol. */ java.lang.String getSymbol(); /** + *
+     * The symbol of token. 
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -6390,16 +7273,28 @@ public interface IsInWhiteListInputOrBuilder extends getSymbolBytes(); /** + *
+     * The address to check.
+     * 
+ * * .Address address = 2; * @return Whether the address field is set. */ boolean hasAddress(); /** + *
+     * The address to check.
+     * 
+ * * .Address address = 2; * @return The address. */ io.aelf.protobuf.generated.Client.Address getAddress(); /** + *
+     * The address to check.
+     * 
+ * * .Address address = 2; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder(); @@ -6504,6 +7399,10 @@ private IsInWhiteListInput( public static final int SYMBOL_FIELD_NUMBER = 1; private volatile java.lang.Object symbol_; /** + *
+     * The symbol of token. 
+     * 
+ * * string symbol = 1; * @return The symbol. */ @@ -6520,6 +7419,10 @@ public java.lang.String getSymbol() { } } /** + *
+     * The symbol of token. 
+     * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -6540,6 +7443,10 @@ public java.lang.String getSymbol() { public static final int ADDRESS_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.Address address_; /** + *
+     * The address to check.
+     * 
+ * * .Address address = 2; * @return Whether the address field is set. */ @@ -6547,6 +7454,10 @@ public boolean hasAddress() { return address_ != null; } /** + *
+     * The address to check.
+     * 
+ * * .Address address = 2; * @return The address. */ @@ -6554,6 +7465,10 @@ public io.aelf.protobuf.generated.Client.Address getAddress() { return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; } /** + *
+     * The address to check.
+     * 
+ * * .Address address = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { @@ -6894,6 +7809,10 @@ public Builder mergeFrom( private java.lang.Object symbol_ = ""; /** + *
+       * The symbol of token. 
+       * 
+ * * string symbol = 1; * @return The symbol. */ @@ -6910,6 +7829,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token. 
+       * 
+ * * string symbol = 1; * @return The bytes for symbol. */ @@ -6927,6 +7850,10 @@ public java.lang.String getSymbol() { } } /** + *
+       * The symbol of token. 
+       * 
+ * * string symbol = 1; * @param value The symbol to set. * @return This builder for chaining. @@ -6942,6 +7869,10 @@ public Builder setSymbol( return this; } /** + *
+       * The symbol of token. 
+       * 
+ * * string symbol = 1; * @return This builder for chaining. */ @@ -6952,6 +7883,10 @@ public Builder clearSymbol() { return this; } /** + *
+       * The symbol of token. 
+       * 
+ * * string symbol = 1; * @param value The bytes for symbol to set. * @return This builder for chaining. @@ -6972,6 +7907,10 @@ public Builder setSymbolBytes( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> addressBuilder_; /** + *
+       * The address to check.
+       * 
+ * * .Address address = 2; * @return Whether the address field is set. */ @@ -6979,6 +7918,10 @@ public boolean hasAddress() { return addressBuilder_ != null || address_ != null; } /** + *
+       * The address to check.
+       * 
+ * * .Address address = 2; * @return The address. */ @@ -6990,6 +7933,10 @@ public io.aelf.protobuf.generated.Client.Address getAddress() { } } /** + *
+       * The address to check.
+       * 
+ * * .Address address = 2; */ public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -7006,6 +7953,10 @@ public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address to check.
+       * 
+ * * .Address address = 2; */ public Builder setAddress( @@ -7020,6 +7971,10 @@ public Builder setAddress( return this; } /** + *
+       * The address to check.
+       * 
+ * * .Address address = 2; */ public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -7038,6 +7993,10 @@ public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address to check.
+       * 
+ * * .Address address = 2; */ public Builder clearAddress() { @@ -7052,6 +8011,10 @@ public Builder clearAddress() { return this; } /** + *
+       * The address to check.
+       * 
+ * * .Address address = 2; */ public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { @@ -7060,6 +8023,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { return getAddressFieldBuilder().getBuilder(); } /** + *
+       * The address to check.
+       * 
+ * * .Address address = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { @@ -7071,906 +8038,24 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() } } /** + *
+       * The address to check.
+       * 
+ * * .Address address = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> - getAddressFieldBuilder() { - if (addressBuilder_ == null) { - addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( - getAddress(), - getParentForChildren(), - isClean()); - address_ = null; - } - return addressBuilder_; - } - @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:IsInWhiteListInput) - } - - // @@protoc_insertion_point(class_scope:IsInWhiteListInput) - private static final io.aelf.protobuf.generated.TokenContract.IsInWhiteListInput DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.TokenContract.IsInWhiteListInput(); - } - - public static io.aelf.protobuf.generated.TokenContract.IsInWhiteListInput getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IsInWhiteListInput parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IsInWhiteListInput(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 io.aelf.protobuf.generated.TokenContract.IsInWhiteListInput getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProfitReceivingInformationOrBuilder extends - // @@protoc_insertion_point(interface_extends:ProfitReceivingInformation) - com.google.protobuf.MessageOrBuilder { - - /** - * .Address contract_address = 1; - * @return Whether the contractAddress field is set. - */ - boolean hasContractAddress(); - /** - * .Address contract_address = 1; - * @return The contractAddress. - */ - io.aelf.protobuf.generated.Client.Address getContractAddress(); - /** - * .Address contract_address = 1; - */ - io.aelf.protobuf.generated.Client.AddressOrBuilder getContractAddressOrBuilder(); - - /** - * .Address profit_receiver_address = 2; - * @return Whether the profitReceiverAddress field is set. - */ - boolean hasProfitReceiverAddress(); - /** - * .Address profit_receiver_address = 2; - * @return The profitReceiverAddress. - */ - io.aelf.protobuf.generated.Client.Address getProfitReceiverAddress(); - /** - * .Address profit_receiver_address = 2; - */ - io.aelf.protobuf.generated.Client.AddressOrBuilder getProfitReceiverAddressOrBuilder(); - - /** - * sint32 donation_parts_per_hundred = 3; - * @return The donationPartsPerHundred. - */ - int getDonationPartsPerHundred(); - } - /** - * Protobuf type {@code ProfitReceivingInformation} - */ - public static final class ProfitReceivingInformation extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:ProfitReceivingInformation) - ProfitReceivingInformationOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProfitReceivingInformation.newBuilder() to construct. - private ProfitReceivingInformation(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProfitReceivingInformation() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ProfitReceivingInformation(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProfitReceivingInformation( - 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 10: { - io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; - if (contractAddress_ != null) { - subBuilder = contractAddress_.toBuilder(); - } - contractAddress_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(contractAddress_); - contractAddress_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; - if (profitReceiverAddress_ != null) { - subBuilder = profitReceiverAddress_.toBuilder(); - } - profitReceiverAddress_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(profitReceiverAddress_); - profitReceiverAddress_ = subBuilder.buildPartial(); - } - - break; - } - case 24: { - - donationPartsPerHundred_ = input.readSInt32(); - 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 io.aelf.protobuf.generated.TokenContract.internal_static_ProfitReceivingInformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.TokenContract.internal_static_ProfitReceivingInformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation.class, io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation.Builder.class); - } - - public static final int CONTRACT_ADDRESS_FIELD_NUMBER = 1; - private io.aelf.protobuf.generated.Client.Address contractAddress_; - /** - * .Address contract_address = 1; - * @return Whether the contractAddress field is set. - */ - public boolean hasContractAddress() { - return contractAddress_ != null; - } - /** - * .Address contract_address = 1; - * @return The contractAddress. - */ - public io.aelf.protobuf.generated.Client.Address getContractAddress() { - return contractAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : contractAddress_; - } - /** - * .Address contract_address = 1; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getContractAddressOrBuilder() { - return getContractAddress(); - } - - public static final int PROFIT_RECEIVER_ADDRESS_FIELD_NUMBER = 2; - private io.aelf.protobuf.generated.Client.Address profitReceiverAddress_; - /** - * .Address profit_receiver_address = 2; - * @return Whether the profitReceiverAddress field is set. - */ - public boolean hasProfitReceiverAddress() { - return profitReceiverAddress_ != null; - } - /** - * .Address profit_receiver_address = 2; - * @return The profitReceiverAddress. - */ - public io.aelf.protobuf.generated.Client.Address getProfitReceiverAddress() { - return profitReceiverAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : profitReceiverAddress_; - } - /** - * .Address profit_receiver_address = 2; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getProfitReceiverAddressOrBuilder() { - return getProfitReceiverAddress(); - } - - public static final int DONATION_PARTS_PER_HUNDRED_FIELD_NUMBER = 3; - private int donationPartsPerHundred_; - /** - * sint32 donation_parts_per_hundred = 3; - * @return The donationPartsPerHundred. - */ - public int getDonationPartsPerHundred() { - return donationPartsPerHundred_; - } - - 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 (contractAddress_ != null) { - output.writeMessage(1, getContractAddress()); - } - if (profitReceiverAddress_ != null) { - output.writeMessage(2, getProfitReceiverAddress()); - } - if (donationPartsPerHundred_ != 0) { - output.writeSInt32(3, donationPartsPerHundred_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (contractAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getContractAddress()); - } - if (profitReceiverAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProfitReceiverAddress()); - } - if (donationPartsPerHundred_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeSInt32Size(3, donationPartsPerHundred_); - } - 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 io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation)) { - return super.equals(obj); - } - io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation other = (io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation) obj; - - if (hasContractAddress() != other.hasContractAddress()) return false; - if (hasContractAddress()) { - if (!getContractAddress() - .equals(other.getContractAddress())) return false; - } - if (hasProfitReceiverAddress() != other.hasProfitReceiverAddress()) return false; - if (hasProfitReceiverAddress()) { - if (!getProfitReceiverAddress() - .equals(other.getProfitReceiverAddress())) return false; - } - if (getDonationPartsPerHundred() - != other.getDonationPartsPerHundred()) 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 (hasContractAddress()) { - hash = (37 * hash) + CONTRACT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + getContractAddress().hashCode(); - } - if (hasProfitReceiverAddress()) { - hash = (37 * hash) + PROFIT_RECEIVER_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + getProfitReceiverAddress().hashCode(); - } - hash = (37 * hash) + DONATION_PARTS_PER_HUNDRED_FIELD_NUMBER; - hash = (53 * hash) + getDonationPartsPerHundred(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation 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 io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation 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 io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation 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(io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation 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; - } - /** - * Protobuf type {@code ProfitReceivingInformation} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:ProfitReceivingInformation) - io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.aelf.protobuf.generated.TokenContract.internal_static_ProfitReceivingInformation_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.aelf.protobuf.generated.TokenContract.internal_static_ProfitReceivingInformation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation.class, io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation.Builder.class); - } - - // Construct using io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation.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(); - if (contractAddressBuilder_ == null) { - contractAddress_ = null; - } else { - contractAddress_ = null; - contractAddressBuilder_ = null; - } - if (profitReceiverAddressBuilder_ == null) { - profitReceiverAddress_ = null; - } else { - profitReceiverAddress_ = null; - profitReceiverAddressBuilder_ = null; - } - donationPartsPerHundred_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.aelf.protobuf.generated.TokenContract.internal_static_ProfitReceivingInformation_descriptor; - } - - @java.lang.Override - public io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation getDefaultInstanceForType() { - return io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation.getDefaultInstance(); - } - - @java.lang.Override - public io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation build() { - io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation buildPartial() { - io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation result = new io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation(this); - if (contractAddressBuilder_ == null) { - result.contractAddress_ = contractAddress_; - } else { - result.contractAddress_ = contractAddressBuilder_.build(); - } - if (profitReceiverAddressBuilder_ == null) { - result.profitReceiverAddress_ = profitReceiverAddress_; - } else { - result.profitReceiverAddress_ = profitReceiverAddressBuilder_.build(); - } - result.donationPartsPerHundred_ = donationPartsPerHundred_; - 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 io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation) { - return mergeFrom((io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation other) { - if (other == io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation.getDefaultInstance()) return this; - if (other.hasContractAddress()) { - mergeContractAddress(other.getContractAddress()); - } - if (other.hasProfitReceiverAddress()) { - mergeProfitReceiverAddress(other.getProfitReceiverAddress()); - } - if (other.getDonationPartsPerHundred() != 0) { - setDonationPartsPerHundred(other.getDonationPartsPerHundred()); - } - 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 { - io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private io.aelf.protobuf.generated.Client.Address contractAddress_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> contractAddressBuilder_; - /** - * .Address contract_address = 1; - * @return Whether the contractAddress field is set. - */ - public boolean hasContractAddress() { - return contractAddressBuilder_ != null || contractAddress_ != null; - } - /** - * .Address contract_address = 1; - * @return The contractAddress. - */ - public io.aelf.protobuf.generated.Client.Address getContractAddress() { - if (contractAddressBuilder_ == null) { - return contractAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : contractAddress_; - } else { - return contractAddressBuilder_.getMessage(); - } - } - /** - * .Address contract_address = 1; - */ - public Builder setContractAddress(io.aelf.protobuf.generated.Client.Address value) { - if (contractAddressBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - contractAddress_ = value; - onChanged(); - } else { - contractAddressBuilder_.setMessage(value); - } - - return this; - } - /** - * .Address contract_address = 1; - */ - public Builder setContractAddress( - io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { - if (contractAddressBuilder_ == null) { - contractAddress_ = builderForValue.build(); - onChanged(); - } else { - contractAddressBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .Address contract_address = 1; - */ - public Builder mergeContractAddress(io.aelf.protobuf.generated.Client.Address value) { - if (contractAddressBuilder_ == null) { - if (contractAddress_ != null) { - contractAddress_ = - io.aelf.protobuf.generated.Client.Address.newBuilder(contractAddress_).mergeFrom(value).buildPartial(); - } else { - contractAddress_ = value; - } - onChanged(); - } else { - contractAddressBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .Address contract_address = 1; - */ - public Builder clearContractAddress() { - if (contractAddressBuilder_ == null) { - contractAddress_ = null; - onChanged(); - } else { - contractAddress_ = null; - contractAddressBuilder_ = null; - } - - return this; - } - /** - * .Address contract_address = 1; - */ - public io.aelf.protobuf.generated.Client.Address.Builder getContractAddressBuilder() { - - onChanged(); - return getContractAddressFieldBuilder().getBuilder(); - } - /** - * .Address contract_address = 1; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getContractAddressOrBuilder() { - if (contractAddressBuilder_ != null) { - return contractAddressBuilder_.getMessageOrBuilder(); - } else { - return contractAddress_ == null ? - io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : contractAddress_; - } - } - /** - * .Address contract_address = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> - getContractAddressFieldBuilder() { - if (contractAddressBuilder_ == null) { - contractAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( - getContractAddress(), - getParentForChildren(), - isClean()); - contractAddress_ = null; - } - return contractAddressBuilder_; - } - - private io.aelf.protobuf.generated.Client.Address profitReceiverAddress_; - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> profitReceiverAddressBuilder_; - /** - * .Address profit_receiver_address = 2; - * @return Whether the profitReceiverAddress field is set. - */ - public boolean hasProfitReceiverAddress() { - return profitReceiverAddressBuilder_ != null || profitReceiverAddress_ != null; - } - /** - * .Address profit_receiver_address = 2; - * @return The profitReceiverAddress. - */ - public io.aelf.protobuf.generated.Client.Address getProfitReceiverAddress() { - if (profitReceiverAddressBuilder_ == null) { - return profitReceiverAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : profitReceiverAddress_; - } else { - return profitReceiverAddressBuilder_.getMessage(); - } - } - /** - * .Address profit_receiver_address = 2; - */ - public Builder setProfitReceiverAddress(io.aelf.protobuf.generated.Client.Address value) { - if (profitReceiverAddressBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - profitReceiverAddress_ = value; - onChanged(); - } else { - profitReceiverAddressBuilder_.setMessage(value); - } - - return this; - } - /** - * .Address profit_receiver_address = 2; - */ - public Builder setProfitReceiverAddress( - io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { - if (profitReceiverAddressBuilder_ == null) { - profitReceiverAddress_ = builderForValue.build(); - onChanged(); - } else { - profitReceiverAddressBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .Address profit_receiver_address = 2; - */ - public Builder mergeProfitReceiverAddress(io.aelf.protobuf.generated.Client.Address value) { - if (profitReceiverAddressBuilder_ == null) { - if (profitReceiverAddress_ != null) { - profitReceiverAddress_ = - io.aelf.protobuf.generated.Client.Address.newBuilder(profitReceiverAddress_).mergeFrom(value).buildPartial(); - } else { - profitReceiverAddress_ = value; - } - onChanged(); - } else { - profitReceiverAddressBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .Address profit_receiver_address = 2; - */ - public Builder clearProfitReceiverAddress() { - if (profitReceiverAddressBuilder_ == null) { - profitReceiverAddress_ = null; - onChanged(); - } else { - profitReceiverAddress_ = null; - profitReceiverAddressBuilder_ = null; - } - - return this; - } - /** - * .Address profit_receiver_address = 2; - */ - public io.aelf.protobuf.generated.Client.Address.Builder getProfitReceiverAddressBuilder() { - - onChanged(); - return getProfitReceiverAddressFieldBuilder().getBuilder(); - } - /** - * .Address profit_receiver_address = 2; - */ - public io.aelf.protobuf.generated.Client.AddressOrBuilder getProfitReceiverAddressOrBuilder() { - if (profitReceiverAddressBuilder_ != null) { - return profitReceiverAddressBuilder_.getMessageOrBuilder(); - } else { - return profitReceiverAddress_ == null ? - io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : profitReceiverAddress_; - } - } - /** - * .Address profit_receiver_address = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> - getProfitReceiverAddressFieldBuilder() { - if (profitReceiverAddressBuilder_ == null) { - profitReceiverAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + getAddressFieldBuilder() { + if (addressBuilder_ == null) { + addressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( - getProfitReceiverAddress(), + getAddress(), getParentForChildren(), isClean()); - profitReceiverAddress_ = null; + address_ = null; } - return profitReceiverAddressBuilder_; - } - - private int donationPartsPerHundred_ ; - /** - * sint32 donation_parts_per_hundred = 3; - * @return The donationPartsPerHundred. - */ - public int getDonationPartsPerHundred() { - return donationPartsPerHundred_; - } - /** - * sint32 donation_parts_per_hundred = 3; - * @param value The donationPartsPerHundred to set. - * @return This builder for chaining. - */ - public Builder setDonationPartsPerHundred(int value) { - - donationPartsPerHundred_ = value; - onChanged(); - return this; - } - /** - * sint32 donation_parts_per_hundred = 3; - * @return This builder for chaining. - */ - public Builder clearDonationPartsPerHundred() { - - donationPartsPerHundred_ = 0; - onChanged(); - return this; + return addressBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -7985,41 +8070,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:ProfitReceivingInformation) + // @@protoc_insertion_point(builder_scope:IsInWhiteListInput) } - // @@protoc_insertion_point(class_scope:ProfitReceivingInformation) - private static final io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:IsInWhiteListInput) + private static final io.aelf.protobuf.generated.TokenContract.IsInWhiteListInput DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation(); + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.TokenContract.IsInWhiteListInput(); } - public static io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation getDefaultInstance() { + public static io.aelf.protobuf.generated.TokenContract.IsInWhiteListInput getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ProfitReceivingInformation parsePartialFrom( + public IsInWhiteListInput parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ProfitReceivingInformation(input, extensionRegistry); + return new IsInWhiteListInput(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.aelf.protobuf.generated.TokenContract.ProfitReceivingInformation getDefaultInstanceForType() { + public io.aelf.protobuf.generated.TokenContract.IsInWhiteListInput getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -8030,44 +8115,76 @@ public interface GetLockedAmountInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; * @return Whether the address field is set. */ boolean hasAddress(); /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; * @return The address. */ io.aelf.protobuf.generated.Client.Address getAddress(); /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder(); /** - * string symbol = 3; + *
+     * The token symbol.
+     * 
+ * + * string symbol = 2; * @return The symbol. */ java.lang.String getSymbol(); /** - * string symbol = 3; + *
+     * The token symbol.
+     * 
+ * + * string symbol = 2; * @return The bytes for symbol. */ com.google.protobuf.ByteString getSymbolBytes(); /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; * @return Whether the lockId field is set. */ boolean hasLockId(); /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; * @return The lockId. */ io.aelf.protobuf.generated.Client.Hash getLockId(); /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; */ io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder(); } @@ -8130,13 +8247,13 @@ private GetLockedAmountInput( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); symbol_ = s; break; } - case 34: { + case 26: { io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; if (lockId_ != null) { subBuilder = lockId_.toBuilder(); @@ -8184,6 +8301,10 @@ private GetLockedAmountInput( public static final int ADDRESS_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Address address_; /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; * @return Whether the address field is set. */ @@ -8191,6 +8312,10 @@ public boolean hasAddress() { return address_ != null; } /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; * @return The address. */ @@ -8198,16 +8323,24 @@ public io.aelf.protobuf.generated.Client.Address getAddress() { return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; } /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { return getAddress(); } - public static final int SYMBOL_FIELD_NUMBER = 3; + public static final int SYMBOL_FIELD_NUMBER = 2; private volatile java.lang.Object symbol_; /** - * string symbol = 3; + *
+     * The token symbol.
+     * 
+ * + * string symbol = 2; * @return The symbol. */ public java.lang.String getSymbol() { @@ -8223,7 +8356,11 @@ public java.lang.String getSymbol() { } } /** - * string symbol = 3; + *
+     * The token symbol.
+     * 
+ * + * string symbol = 2; * @return The bytes for symbol. */ public com.google.protobuf.ByteString @@ -8240,24 +8377,36 @@ public java.lang.String getSymbol() { } } - public static final int LOCK_ID_FIELD_NUMBER = 4; + public static final int LOCK_ID_FIELD_NUMBER = 3; private io.aelf.protobuf.generated.Client.Hash lockId_; /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; * @return Whether the lockId field is set. */ public boolean hasLockId() { return lockId_ != null; } /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; * @return The lockId. */ public io.aelf.protobuf.generated.Client.Hash getLockId() { return lockId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : lockId_; } /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { return getLockId(); @@ -8281,10 +8430,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(1, getAddress()); } if (!getSymbolBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, symbol_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbol_); } if (lockId_ != null) { - output.writeMessage(4, getLockId()); + output.writeMessage(3, getLockId()); } unknownFields.writeTo(output); } @@ -8300,11 +8449,11 @@ public int getSerializedSize() { .computeMessageSize(1, getAddress()); } if (!getSymbolBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, symbol_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbol_); } if (lockId_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getLockId()); + .computeMessageSize(3, getLockId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8629,6 +8778,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> addressBuilder_; /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; * @return Whether the address field is set. */ @@ -8636,6 +8789,10 @@ public boolean hasAddress() { return addressBuilder_ != null || address_ != null; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; * @return The address. */ @@ -8647,6 +8804,10 @@ public io.aelf.protobuf.generated.Client.Address getAddress() { } } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -8663,6 +8824,10 @@ public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public Builder setAddress( @@ -8677,6 +8842,10 @@ public Builder setAddress( return this; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -8695,6 +8864,10 @@ public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public Builder clearAddress() { @@ -8709,6 +8882,10 @@ public Builder clearAddress() { return this; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { @@ -8717,6 +8894,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { return getAddressFieldBuilder().getBuilder(); } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { @@ -8728,6 +8909,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() } } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -8746,7 +8931,11 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() private java.lang.Object symbol_ = ""; /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @return The symbol. */ public java.lang.String getSymbol() { @@ -8762,7 +8951,11 @@ public java.lang.String getSymbol() { } } /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @return The bytes for symbol. */ public com.google.protobuf.ByteString @@ -8779,7 +8972,11 @@ public java.lang.String getSymbol() { } } /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @param value The symbol to set. * @return This builder for chaining. */ @@ -8794,7 +8991,11 @@ public Builder setSymbol( return this; } /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @return This builder for chaining. */ public Builder clearSymbol() { @@ -8804,7 +9005,11 @@ public Builder clearSymbol() { return this; } /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @param value The bytes for symbol to set. * @return This builder for chaining. */ @@ -8824,14 +9029,22 @@ public Builder setSymbolBytes( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> lockIdBuilder_; /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; * @return Whether the lockId field is set. */ public boolean hasLockId() { return lockIdBuilder_ != null || lockId_ != null; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; * @return The lockId. */ public io.aelf.protobuf.generated.Client.Hash getLockId() { @@ -8842,7 +9055,11 @@ public io.aelf.protobuf.generated.Client.Hash getLockId() { } } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public Builder setLockId(io.aelf.protobuf.generated.Client.Hash value) { if (lockIdBuilder_ == null) { @@ -8858,7 +9075,11 @@ public Builder setLockId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public Builder setLockId( io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { @@ -8872,7 +9093,11 @@ public Builder setLockId( return this; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public Builder mergeLockId(io.aelf.protobuf.generated.Client.Hash value) { if (lockIdBuilder_ == null) { @@ -8890,7 +9115,11 @@ public Builder mergeLockId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public Builder clearLockId() { if (lockIdBuilder_ == null) { @@ -8904,7 +9133,11 @@ public Builder clearLockId() { return this; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public io.aelf.protobuf.generated.Client.Hash.Builder getLockIdBuilder() { @@ -8912,7 +9145,11 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getLockIdBuilder() { return getLockIdFieldBuilder().getBuilder(); } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { if (lockIdBuilder_ != null) { @@ -8923,7 +9160,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { } } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> @@ -8996,49 +9237,85 @@ public interface GetLockedAmountOutputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; * @return Whether the address field is set. */ boolean hasAddress(); /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; * @return The address. */ io.aelf.protobuf.generated.Client.Address getAddress(); /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder(); /** - * string symbol = 3; + *
+     * The token symbol.
+     * 
+ * + * string symbol = 2; * @return The symbol. */ java.lang.String getSymbol(); /** - * string symbol = 3; + *
+     * The token symbol.
+     * 
+ * + * string symbol = 2; * @return The bytes for symbol. */ com.google.protobuf.ByteString getSymbolBytes(); /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; * @return Whether the lockId field is set. */ boolean hasLockId(); /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; * @return The lockId. */ io.aelf.protobuf.generated.Client.Hash getLockId(); /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; */ io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder(); /** - * sint64 amount = 5; + *
+     * The locked amount.
+     * 
+ * + * int64 amount = 4; * @return The amount. */ long getAmount(); @@ -9102,13 +9379,13 @@ private GetLockedAmountOutput( break; } - case 26: { + case 18: { java.lang.String s = input.readStringRequireUtf8(); symbol_ = s; break; } - case 34: { + case 26: { io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; if (lockId_ != null) { subBuilder = lockId_.toBuilder(); @@ -9121,9 +9398,9 @@ private GetLockedAmountOutput( break; } - case 40: { + case 32: { - amount_ = input.readSInt64(); + amount_ = input.readInt64(); break; } default: { @@ -9161,6 +9438,10 @@ private GetLockedAmountOutput( public static final int ADDRESS_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Address address_; /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; * @return Whether the address field is set. */ @@ -9168,6 +9449,10 @@ public boolean hasAddress() { return address_ != null; } /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; * @return The address. */ @@ -9175,16 +9460,24 @@ public io.aelf.protobuf.generated.Client.Address getAddress() { return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; } /** + *
+     * The address of the lock.
+     * 
+ * * .Address address = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { return getAddress(); } - public static final int SYMBOL_FIELD_NUMBER = 3; + public static final int SYMBOL_FIELD_NUMBER = 2; private volatile java.lang.Object symbol_; /** - * string symbol = 3; + *
+     * The token symbol.
+     * 
+ * + * string symbol = 2; * @return The symbol. */ public java.lang.String getSymbol() { @@ -9200,7 +9493,11 @@ public java.lang.String getSymbol() { } } /** - * string symbol = 3; + *
+     * The token symbol.
+     * 
+ * + * string symbol = 2; * @return The bytes for symbol. */ public com.google.protobuf.ByteString @@ -9217,33 +9514,49 @@ public java.lang.String getSymbol() { } } - public static final int LOCK_ID_FIELD_NUMBER = 4; + public static final int LOCK_ID_FIELD_NUMBER = 3; private io.aelf.protobuf.generated.Client.Hash lockId_; /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; * @return Whether the lockId field is set. */ public boolean hasLockId() { return lockId_ != null; } /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; * @return The lockId. */ public io.aelf.protobuf.generated.Client.Hash getLockId() { return lockId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : lockId_; } /** - * .Hash lock_id = 4; + *
+     * The id of the lock.
+     * 
+ * + * .Hash lock_id = 3; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { return getLockId(); } - public static final int AMOUNT_FIELD_NUMBER = 5; + public static final int AMOUNT_FIELD_NUMBER = 4; private long amount_; /** - * sint64 amount = 5; + *
+     * The locked amount.
+     * 
+ * + * int64 amount = 4; * @return The amount. */ public long getAmount() { @@ -9268,13 +9581,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(1, getAddress()); } if (!getSymbolBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, symbol_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbol_); } if (lockId_ != null) { - output.writeMessage(4, getLockId()); + output.writeMessage(3, getLockId()); } if (amount_ != 0L) { - output.writeSInt64(5, amount_); + output.writeInt64(4, amount_); } unknownFields.writeTo(output); } @@ -9290,15 +9603,15 @@ public int getSerializedSize() { .computeMessageSize(1, getAddress()); } if (!getSymbolBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, symbol_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbol_); } if (lockId_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getLockId()); + .computeMessageSize(3, getLockId()); } if (amount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(5, amount_); + .computeInt64Size(4, amount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9634,6 +9947,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> addressBuilder_; /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; * @return Whether the address field is set. */ @@ -9641,6 +9958,10 @@ public boolean hasAddress() { return addressBuilder_ != null || address_ != null; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; * @return The address. */ @@ -9652,6 +9973,10 @@ public io.aelf.protobuf.generated.Client.Address getAddress() { } } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -9668,6 +9993,10 @@ public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public Builder setAddress( @@ -9682,6 +10011,10 @@ public Builder setAddress( return this; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -9700,6 +10033,10 @@ public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public Builder clearAddress() { @@ -9714,6 +10051,10 @@ public Builder clearAddress() { return this; } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { @@ -9722,6 +10063,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { return getAddressFieldBuilder().getBuilder(); } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { @@ -9733,6 +10078,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() } } /** + *
+       * The address of the lock.
+       * 
+ * * .Address address = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -9751,7 +10100,11 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() private java.lang.Object symbol_ = ""; /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @return The symbol. */ public java.lang.String getSymbol() { @@ -9767,7 +10120,11 @@ public java.lang.String getSymbol() { } } /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @return The bytes for symbol. */ public com.google.protobuf.ByteString @@ -9784,7 +10141,11 @@ public java.lang.String getSymbol() { } } /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @param value The symbol to set. * @return This builder for chaining. */ @@ -9799,7 +10160,11 @@ public Builder setSymbol( return this; } /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @return This builder for chaining. */ public Builder clearSymbol() { @@ -9809,7 +10174,11 @@ public Builder clearSymbol() { return this; } /** - * string symbol = 3; + *
+       * The token symbol.
+       * 
+ * + * string symbol = 2; * @param value The bytes for symbol to set. * @return This builder for chaining. */ @@ -9829,14 +10198,22 @@ public Builder setSymbolBytes( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> lockIdBuilder_; /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; * @return Whether the lockId field is set. */ public boolean hasLockId() { return lockIdBuilder_ != null || lockId_ != null; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; * @return The lockId. */ public io.aelf.protobuf.generated.Client.Hash getLockId() { @@ -9847,7 +10224,11 @@ public io.aelf.protobuf.generated.Client.Hash getLockId() { } } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public Builder setLockId(io.aelf.protobuf.generated.Client.Hash value) { if (lockIdBuilder_ == null) { @@ -9863,7 +10244,11 @@ public Builder setLockId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public Builder setLockId( io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { @@ -9877,7 +10262,11 @@ public Builder setLockId( return this; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public Builder mergeLockId(io.aelf.protobuf.generated.Client.Hash value) { if (lockIdBuilder_ == null) { @@ -9895,7 +10284,11 @@ public Builder mergeLockId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public Builder clearLockId() { if (lockIdBuilder_ == null) { @@ -9909,7 +10302,11 @@ public Builder clearLockId() { return this; } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public io.aelf.protobuf.generated.Client.Hash.Builder getLockIdBuilder() { @@ -9917,7 +10314,11 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getLockIdBuilder() { return getLockIdFieldBuilder().getBuilder(); } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { if (lockIdBuilder_ != null) { @@ -9928,7 +10329,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { } } /** - * .Hash lock_id = 4; + *
+       * The id of the lock.
+       * 
+ * + * .Hash lock_id = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> @@ -9946,14 +10351,22 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { private long amount_ ; /** - * sint64 amount = 5; + *
+       * The locked amount.
+       * 
+ * + * int64 amount = 4; * @return The amount. */ public long getAmount() { return amount_; } /** - * sint64 amount = 5; + *
+       * The locked amount.
+       * 
+ * + * int64 amount = 4; * @param value The amount to set. * @return This builder for chaining. */ @@ -9964,7 +10377,11 @@ public Builder setAmount(long value) { return this; } /** - * sint64 amount = 5; + *
+       * The locked amount.
+       * 
+ * + * int64 amount = 4; * @return This builder for chaining. */ public Builder clearAmount() { @@ -10031,32 +10448,56 @@ public interface GetVirtualAddressForLockingInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The address of the lock. 
+     * 
+ * * .Address address = 1; * @return Whether the address field is set. */ boolean hasAddress(); /** + *
+     * The address of the lock. 
+     * 
+ * * .Address address = 1; * @return The address. */ io.aelf.protobuf.generated.Client.Address getAddress(); /** + *
+     * The address of the lock. 
+     * 
+ * * .Address address = 1; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder(); /** - * .Hash lock_id = 3; + *
+     * The id of the lock. 
+     * 
+ * + * .Hash lock_id = 2; * @return Whether the lockId field is set. */ boolean hasLockId(); /** - * .Hash lock_id = 3; + *
+     * The id of the lock. 
+     * 
+ * + * .Hash lock_id = 2; * @return The lockId. */ io.aelf.protobuf.generated.Client.Hash getLockId(); /** - * .Hash lock_id = 3; + *
+     * The id of the lock. 
+     * 
+ * + * .Hash lock_id = 2; */ io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder(); } @@ -10118,7 +10559,7 @@ private GetVirtualAddressForLockingInput( break; } - case 26: { + case 18: { io.aelf.protobuf.generated.Client.Hash.Builder subBuilder = null; if (lockId_ != null) { subBuilder = lockId_.toBuilder(); @@ -10166,6 +10607,10 @@ private GetVirtualAddressForLockingInput( public static final int ADDRESS_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Address address_; /** + *
+     * The address of the lock. 
+     * 
+ * * .Address address = 1; * @return Whether the address field is set. */ @@ -10173,6 +10618,10 @@ public boolean hasAddress() { return address_ != null; } /** + *
+     * The address of the lock. 
+     * 
+ * * .Address address = 1; * @return The address. */ @@ -10180,30 +10629,46 @@ public io.aelf.protobuf.generated.Client.Address getAddress() { return address_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : address_; } /** + *
+     * The address of the lock. 
+     * 
+ * * .Address address = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { return getAddress(); } - public static final int LOCK_ID_FIELD_NUMBER = 3; + public static final int LOCK_ID_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.Hash lockId_; /** - * .Hash lock_id = 3; + *
+     * The id of the lock. 
+     * 
+ * + * .Hash lock_id = 2; * @return Whether the lockId field is set. */ public boolean hasLockId() { return lockId_ != null; } /** - * .Hash lock_id = 3; + *
+     * The id of the lock. 
+     * 
+ * + * .Hash lock_id = 2; * @return The lockId. */ public io.aelf.protobuf.generated.Client.Hash getLockId() { return lockId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : lockId_; } /** - * .Hash lock_id = 3; + *
+     * The id of the lock. 
+     * 
+ * + * .Hash lock_id = 2; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { return getLockId(); @@ -10227,7 +10692,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(1, getAddress()); } if (lockId_ != null) { - output.writeMessage(3, getLockId()); + output.writeMessage(2, getLockId()); } unknownFields.writeTo(output); } @@ -10244,7 +10709,7 @@ public int getSerializedSize() { } if (lockId_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLockId()); + .computeMessageSize(2, getLockId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10558,6 +11023,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> addressBuilder_; /** + *
+       * The address of the lock. 
+       * 
+ * * .Address address = 1; * @return Whether the address field is set. */ @@ -10565,6 +11034,10 @@ public boolean hasAddress() { return addressBuilder_ != null || address_ != null; } /** + *
+       * The address of the lock. 
+       * 
+ * * .Address address = 1; * @return The address. */ @@ -10576,6 +11049,10 @@ public io.aelf.protobuf.generated.Client.Address getAddress() { } } /** + *
+       * The address of the lock. 
+       * 
+ * * .Address address = 1; */ public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -10592,6 +11069,10 @@ public Builder setAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the lock. 
+       * 
+ * * .Address address = 1; */ public Builder setAddress( @@ -10606,6 +11087,10 @@ public Builder setAddress( return this; } /** + *
+       * The address of the lock. 
+       * 
+ * * .Address address = 1; */ public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { @@ -10624,6 +11109,10 @@ public Builder mergeAddress(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of the lock. 
+       * 
+ * * .Address address = 1; */ public Builder clearAddress() { @@ -10638,6 +11127,10 @@ public Builder clearAddress() { return this; } /** + *
+       * The address of the lock. 
+       * 
+ * * .Address address = 1; */ public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { @@ -10646,6 +11139,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getAddressBuilder() { return getAddressFieldBuilder().getBuilder(); } /** + *
+       * The address of the lock. 
+       * 
+ * * .Address address = 1; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() { @@ -10657,6 +11154,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() } } /** + *
+       * The address of the lock. 
+       * 
+ * * .Address address = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -10677,14 +11178,22 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getAddressOrBuilder() private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> lockIdBuilder_; /** - * .Hash lock_id = 3; + *
+       * The id of the lock. 
+       * 
+ * + * .Hash lock_id = 2; * @return Whether the lockId field is set. */ public boolean hasLockId() { return lockIdBuilder_ != null || lockId_ != null; } /** - * .Hash lock_id = 3; + *
+       * The id of the lock. 
+       * 
+ * + * .Hash lock_id = 2; * @return The lockId. */ public io.aelf.protobuf.generated.Client.Hash getLockId() { @@ -10695,7 +11204,11 @@ public io.aelf.protobuf.generated.Client.Hash getLockId() { } } /** - * .Hash lock_id = 3; + *
+       * The id of the lock. 
+       * 
+ * + * .Hash lock_id = 2; */ public Builder setLockId(io.aelf.protobuf.generated.Client.Hash value) { if (lockIdBuilder_ == null) { @@ -10711,7 +11224,11 @@ public Builder setLockId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** - * .Hash lock_id = 3; + *
+       * The id of the lock. 
+       * 
+ * + * .Hash lock_id = 2; */ public Builder setLockId( io.aelf.protobuf.generated.Client.Hash.Builder builderForValue) { @@ -10725,7 +11242,11 @@ public Builder setLockId( return this; } /** - * .Hash lock_id = 3; + *
+       * The id of the lock. 
+       * 
+ * + * .Hash lock_id = 2; */ public Builder mergeLockId(io.aelf.protobuf.generated.Client.Hash value) { if (lockIdBuilder_ == null) { @@ -10743,7 +11264,11 @@ public Builder mergeLockId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** - * .Hash lock_id = 3; + *
+       * The id of the lock. 
+       * 
+ * + * .Hash lock_id = 2; */ public Builder clearLockId() { if (lockIdBuilder_ == null) { @@ -10757,7 +11282,11 @@ public Builder clearLockId() { return this; } /** - * .Hash lock_id = 3; + *
+       * The id of the lock. 
+       * 
+ * + * .Hash lock_id = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder getLockIdBuilder() { @@ -10765,7 +11294,11 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getLockIdBuilder() { return getLockIdFieldBuilder().getBuilder(); } /** - * .Hash lock_id = 3; + *
+       * The id of the lock. 
+       * 
+ * + * .Hash lock_id = 2; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { if (lockIdBuilder_ != null) { @@ -10776,7 +11309,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getLockIdOrBuilder() { } } /** - * .Hash lock_id = 3; + *
+       * The id of the lock. 
+       * 
+ * + * .Hash lock_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> @@ -10849,6 +11386,10 @@ public interface GetCrossChainTransferTokenContractAddressInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The chain id.
+     * 
+ * * int32 chainId = 1; * @return The chainId. */ @@ -10939,6 +11480,10 @@ private GetCrossChainTransferTokenContractAddressInput( public static final int CHAINID_FIELD_NUMBER = 1; private int chainId_; /** + *
+     * The chain id.
+     * 
+ * * int32 chainId = 1; * @return The chainId. */ @@ -11250,6 +11795,10 @@ public Builder mergeFrom( private int chainId_ ; /** + *
+       * The chain id.
+       * 
+ * * int32 chainId = 1; * @return The chainId. */ @@ -11257,6 +11806,10 @@ public int getChainId() { return chainId_; } /** + *
+       * The chain id.
+       * 
+ * * int32 chainId = 1; * @param value The chainId to set. * @return This builder for chaining. @@ -11268,6 +11821,10 @@ public Builder setChainId(int value) { return this; } /** + *
+       * The chain id.
+       * 
+ * * int32 chainId = 1; * @return This builder for chaining. */ @@ -11370,11 +11927,6 @@ public io.aelf.protobuf.generated.TokenContract.GetCrossChainTransferTokenContra private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IsInWhiteListInput_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_ProfitReceivingInformation_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_ProfitReceivingInformation_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_GetLockedAmountInput_descriptor; private static final @@ -11404,38 +11956,34 @@ public io.aelf.protobuf.generated.TokenContract.GetCrossChainTransferTokenContra descriptor; static { java.lang.String[] descriptorData = { - "\n\024token_contract.proto\032\014client.proto\"\332\001\n" + - "\tTokenInfo\022\016\n\006symbol\030\001 \001(\t\022\021\n\ttokenName\030" + - "\002 \001(\t\022\016\n\006supply\030\003 \001(\022\022\023\n\013totalSupply\030\004 \001" + - "(\022\022\020\n\010decimals\030\005 \001(\021\022\030\n\006issuer\030\006 \001(\0132\010.A" + - "ddress\022\023\n\013is_burnable\030\007 \001(\010\022\034\n\024is_transf" + - "er_disabled\030\010 \001(\010\022\026\n\016issue_chain_id\030\t \001(" + - "\021\022\016\n\006burned\030\n \001(\022\"#\n\021GetTokenInfoInput\022\016" + - "\n\006symbol\030\001 \001(\t\"*\n\rTokenInfoList\022\031\n\005value" + - "\030\001 \003(\0132\n.TokenInfo\":\n\017GetBalanceInput\022\016\n" + - "\006symbol\030\001 \001(\t\022\027\n\005owner\030\002 \001(\0132\010.Address\"L" + - "\n\020GetBalanceOutput\022\016\n\006symbol\030\001 \001(\t\022\027\n\005ow" + - "ner\030\002 \001(\0132\010.Address\022\017\n\007balance\030\003 \001(\022\"W\n\021" + - "GetAllowanceInput\022\016\n\006symbol\030\001 \001(\t\022\027\n\005own" + - "er\030\002 \001(\0132\010.Address\022\031\n\007spender\030\003 \001(\0132\010.Ad" + - "dress\"k\n\022GetAllowanceOutput\022\016\n\006symbol\030\001 " + - "\001(\t\022\027\n\005owner\030\002 \001(\0132\010.Address\022\031\n\007spender\030" + - "\003 \001(\0132\010.Address\022\021\n\tallowance\030\004 \001(\022\"?\n\022Is" + - "InWhiteListInput\022\016\n\006symbol\030\001 \001(\t\022\031\n\007addr" + - "ess\030\002 \001(\0132\010.Address\"\217\001\n\032ProfitReceivingI" + - "nformation\022\"\n\020contract_address\030\001 \001(\0132\010.A" + - "ddress\022)\n\027profit_receiver_address\030\002 \001(\0132" + - "\010.Address\022\"\n\032donation_parts_per_hundred\030" + - "\003 \001(\021\"Y\n\024GetLockedAmountInput\022\031\n\007address" + - "\030\001 \001(\0132\010.Address\022\016\n\006symbol\030\003 \001(\t\022\026\n\007lock" + - "_id\030\004 \001(\0132\005.Hash\"j\n\025GetLockedAmountOutpu" + - "t\022\031\n\007address\030\001 \001(\0132\010.Address\022\016\n\006symbol\030\003" + - " \001(\t\022\026\n\007lock_id\030\004 \001(\0132\005.Hash\022\016\n\006amount\030\005" + - " \001(\022\"U\n GetVirtualAddressForLockingInput" + - "\022\031\n\007address\030\001 \001(\0132\010.Address\022\026\n\007lock_id\030\003" + - " \001(\0132\005.Hash\"A\n.GetCrossChainTransferToke" + - "nContractAddressInput\022\017\n\007chainId\030\001 \001(\005B\034" + - "\n\032io.aelf.protobuf.generatedb\006proto3" + "\n\024token_contract.proto\032\014client.proto\"\276\001\n" + + "\tTokenInfo\022\016\n\006symbol\030\001 \001(\t\022\022\n\ntoken_name" + + "\030\002 \001(\t\022\016\n\006supply\030\003 \001(\003\022\024\n\014total_supply\030\004" + + " \001(\003\022\020\n\010decimals\030\005 \001(\005\022\030\n\006issuer\030\006 \001(\0132\010" + + ".Address\022\023\n\013is_burnable\030\007 \001(\010\022\026\n\016issue_c" + + "hain_id\030\010 \001(\005\022\016\n\006issued\030\t \001(\003\"#\n\021GetToke" + + "nInfoInput\022\016\n\006symbol\030\001 \001(\t\"*\n\rTokenInfoL" + + "ist\022\031\n\005value\030\001 \003(\0132\n.TokenInfo\":\n\017GetBal" + + "anceInput\022\016\n\006symbol\030\001 \001(\t\022\027\n\005owner\030\002 \001(\013" + + "2\010.Address\"L\n\020GetBalanceOutput\022\016\n\006symbol" + + "\030\001 \001(\t\022\027\n\005owner\030\002 \001(\0132\010.Address\022\017\n\007balan" + + "ce\030\003 \001(\003\"W\n\021GetAllowanceInput\022\016\n\006symbol\030" + + "\001 \001(\t\022\027\n\005owner\030\002 \001(\0132\010.Address\022\031\n\007spende" + + "r\030\003 \001(\0132\010.Address\"k\n\022GetAllowanceOutput\022" + + "\016\n\006symbol\030\001 \001(\t\022\027\n\005owner\030\002 \001(\0132\010.Address" + + "\022\031\n\007spender\030\003 \001(\0132\010.Address\022\021\n\tallowance" + + "\030\004 \001(\003\"?\n\022IsInWhiteListInput\022\016\n\006symbol\030\001" + + " \001(\t\022\031\n\007address\030\002 \001(\0132\010.Address\"Y\n\024GetLo" + + "ckedAmountInput\022\031\n\007address\030\001 \001(\0132\010.Addre" + + "ss\022\016\n\006symbol\030\002 \001(\t\022\026\n\007lock_id\030\003 \001(\0132\005.Ha" + + "sh\"j\n\025GetLockedAmountOutput\022\031\n\007address\030\001" + + " \001(\0132\010.Address\022\016\n\006symbol\030\002 \001(\t\022\026\n\007lock_i" + + "d\030\003 \001(\0132\005.Hash\022\016\n\006amount\030\004 \001(\003\"U\n GetVir" + + "tualAddressForLockingInput\022\031\n\007address\030\001 " + + "\001(\0132\010.Address\022\026\n\007lock_id\030\002 \001(\0132\005.Hash\"A\n" + + ".GetCrossChainTransferTokenContractAddre" + + "ssInput\022\017\n\007chainId\030\001 \001(\005B\034\n\032io.aelf.prot" + + "obuf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -11447,7 +11995,7 @@ public io.aelf.protobuf.generated.TokenContract.GetCrossChainTransferTokenContra internal_static_TokenInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_TokenInfo_descriptor, - new java.lang.String[] { "Symbol", "TokenName", "Supply", "TotalSupply", "Decimals", "Issuer", "IsBurnable", "IsTransferDisabled", "IssueChainId", "Burned", }); + new java.lang.String[] { "Symbol", "TokenName", "Supply", "TotalSupply", "Decimals", "Issuer", "IsBurnable", "IssueChainId", "Issued", }); internal_static_GetTokenInfoInput_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_GetTokenInfoInput_fieldAccessorTable = new @@ -11490,32 +12038,26 @@ public io.aelf.protobuf.generated.TokenContract.GetCrossChainTransferTokenContra com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IsInWhiteListInput_descriptor, new java.lang.String[] { "Symbol", "Address", }); - internal_static_ProfitReceivingInformation_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_ProfitReceivingInformation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_ProfitReceivingInformation_descriptor, - new java.lang.String[] { "ContractAddress", "ProfitReceiverAddress", "DonationPartsPerHundred", }); internal_static_GetLockedAmountInput_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(8); internal_static_GetLockedAmountInput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GetLockedAmountInput_descriptor, new java.lang.String[] { "Address", "Symbol", "LockId", }); internal_static_GetLockedAmountOutput_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(9); internal_static_GetLockedAmountOutput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GetLockedAmountOutput_descriptor, new java.lang.String[] { "Address", "Symbol", "LockId", "Amount", }); internal_static_GetVirtualAddressForLockingInput_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(10); internal_static_GetVirtualAddressForLockingInput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GetVirtualAddressForLockingInput_descriptor, new java.lang.String[] { "Address", "LockId", }); internal_static_GetCrossChainTransferTokenContractAddressInput_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(11); internal_static_GetCrossChainTransferTokenContractAddressInput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GetCrossChainTransferTokenContractAddressInput_descriptor, diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/TransactionFee.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/TransactionFee.java index 3d4869c..e349448 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/TransactionFee.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/TransactionFee.java @@ -819,13 +819,13 @@ public interface TransactionSizeFeeSymbolOrBuilder extends getTokenSymbolBytes(); /** - * sint32 base_token_weight = 2; + * int32 base_token_weight = 2; * @return The baseTokenWeight. */ int getBaseTokenWeight(); /** - * sint32 added_token_weight = 3; + * int32 added_token_weight = 3; * @return The addedTokenWeight. */ int getAddedTokenWeight(); @@ -884,12 +884,12 @@ private TransactionSizeFeeSymbol( } case 16: { - baseTokenWeight_ = input.readSInt32(); + baseTokenWeight_ = input.readInt32(); break; } case 24: { - addedTokenWeight_ = input.readSInt32(); + addedTokenWeight_ = input.readInt32(); break; } default: { @@ -963,7 +963,7 @@ public java.lang.String getTokenSymbol() { public static final int BASE_TOKEN_WEIGHT_FIELD_NUMBER = 2; private int baseTokenWeight_; /** - * sint32 base_token_weight = 2; + * int32 base_token_weight = 2; * @return The baseTokenWeight. */ public int getBaseTokenWeight() { @@ -973,7 +973,7 @@ public int getBaseTokenWeight() { public static final int ADDED_TOKEN_WEIGHT_FIELD_NUMBER = 3; private int addedTokenWeight_; /** - * sint32 added_token_weight = 3; + * int32 added_token_weight = 3; * @return The addedTokenWeight. */ public int getAddedTokenWeight() { @@ -998,10 +998,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tokenSymbol_); } if (baseTokenWeight_ != 0) { - output.writeSInt32(2, baseTokenWeight_); + output.writeInt32(2, baseTokenWeight_); } if (addedTokenWeight_ != 0) { - output.writeSInt32(3, addedTokenWeight_); + output.writeInt32(3, addedTokenWeight_); } unknownFields.writeTo(output); } @@ -1017,11 +1017,11 @@ public int getSerializedSize() { } if (baseTokenWeight_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeSInt32Size(2, baseTokenWeight_); + .computeInt32Size(2, baseTokenWeight_); } if (addedTokenWeight_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeSInt32Size(3, addedTokenWeight_); + .computeInt32Size(3, addedTokenWeight_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1394,14 +1394,14 @@ public Builder setTokenSymbolBytes( private int baseTokenWeight_ ; /** - * sint32 base_token_weight = 2; + * int32 base_token_weight = 2; * @return The baseTokenWeight. */ public int getBaseTokenWeight() { return baseTokenWeight_; } /** - * sint32 base_token_weight = 2; + * int32 base_token_weight = 2; * @param value The baseTokenWeight to set. * @return This builder for chaining. */ @@ -1412,7 +1412,7 @@ public Builder setBaseTokenWeight(int value) { return this; } /** - * sint32 base_token_weight = 2; + * int32 base_token_weight = 2; * @return This builder for chaining. */ public Builder clearBaseTokenWeight() { @@ -1424,14 +1424,14 @@ public Builder clearBaseTokenWeight() { private int addedTokenWeight_ ; /** - * sint32 added_token_weight = 3; + * int32 added_token_weight = 3; * @return The addedTokenWeight. */ public int getAddedTokenWeight() { return addedTokenWeight_; } /** - * sint32 added_token_weight = 3; + * int32 added_token_weight = 3; * @param value The addedTokenWeight to set. * @return This builder for chaining. */ @@ -1442,7 +1442,7 @@ public Builder setAddedTokenWeight(int value) { return this; } /** - * sint32 added_token_weight = 3; + * int32 added_token_weight = 3; * @return This builder for chaining. */ public Builder clearAddedTokenWeight() { @@ -1521,7 +1521,7 @@ public interface TransactionFeeChargedOrBuilder extends getSymbolBytes(); /** - * sint64 amount = 2; + * int64 amount = 2; * @return The amount. */ long getAmount(); @@ -1580,7 +1580,7 @@ private TransactionFeeCharged( } case 16: { - amount_ = input.readSInt64(); + amount_ = input.readInt64(); break; } default: { @@ -1654,7 +1654,7 @@ public java.lang.String getSymbol() { public static final int AMOUNT_FIELD_NUMBER = 2; private long amount_; /** - * sint64 amount = 2; + * int64 amount = 2; * @return The amount. */ public long getAmount() { @@ -1679,7 +1679,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_); } if (amount_ != 0L) { - output.writeSInt64(2, amount_); + output.writeInt64(2, amount_); } unknownFields.writeTo(output); } @@ -1695,7 +1695,7 @@ public int getSerializedSize() { } if (amount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, amount_); + .computeInt64Size(2, amount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2059,14 +2059,14 @@ public Builder setSymbolBytes( private long amount_ ; /** - * sint64 amount = 2; + * int64 amount = 2; * @return The amount. */ public long getAmount() { return amount_; } /** - * sint64 amount = 2; + * int64 amount = 2; * @param value The amount to set. * @return This builder for chaining. */ @@ -2077,7 +2077,7 @@ public Builder setAmount(long value) { return this; } /** - * sint64 amount = 2; + * int64 amount = 2; * @return This builder for chaining. */ public Builder clearAmount() { @@ -2156,10 +2156,25 @@ public interface ResourceTokenChargedOrBuilder extends getSymbolBytes(); /** - * sint64 amount = 2; + * int64 amount = 2; * @return The amount. */ long getAmount(); + + /** + * .Address contract_address = 3; + * @return Whether the contractAddress field is set. + */ + boolean hasContractAddress(); + /** + * .Address contract_address = 3; + * @return The contractAddress. + */ + io.aelf.protobuf.generated.Client.Address getContractAddress(); + /** + * .Address contract_address = 3; + */ + io.aelf.protobuf.generated.Client.AddressOrBuilder getContractAddressOrBuilder(); } /** * Protobuf type {@code ResourceTokenCharged} @@ -2215,7 +2230,20 @@ private ResourceTokenCharged( } case 16: { - amount_ = input.readSInt64(); + amount_ = input.readInt64(); + break; + } + case 26: { + io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; + if (contractAddress_ != null) { + subBuilder = contractAddress_.toBuilder(); + } + contractAddress_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(contractAddress_); + contractAddress_ = subBuilder.buildPartial(); + } + break; } default: { @@ -2289,13 +2317,36 @@ public java.lang.String getSymbol() { public static final int AMOUNT_FIELD_NUMBER = 2; private long amount_; /** - * sint64 amount = 2; + * int64 amount = 2; * @return The amount. */ public long getAmount() { return amount_; } + public static final int CONTRACT_ADDRESS_FIELD_NUMBER = 3; + private io.aelf.protobuf.generated.Client.Address contractAddress_; + /** + * .Address contract_address = 3; + * @return Whether the contractAddress field is set. + */ + public boolean hasContractAddress() { + return contractAddress_ != null; + } + /** + * .Address contract_address = 3; + * @return The contractAddress. + */ + public io.aelf.protobuf.generated.Client.Address getContractAddress() { + return contractAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : contractAddress_; + } + /** + * .Address contract_address = 3; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getContractAddressOrBuilder() { + return getContractAddress(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -2314,7 +2365,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_); } if (amount_ != 0L) { - output.writeSInt64(2, amount_); + output.writeInt64(2, amount_); + } + if (contractAddress_ != null) { + output.writeMessage(3, getContractAddress()); } unknownFields.writeTo(output); } @@ -2330,7 +2384,11 @@ public int getSerializedSize() { } if (amount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, amount_); + .computeInt64Size(2, amount_); + } + if (contractAddress_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getContractAddress()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2351,6 +2409,11 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getSymbol())) return false; if (getAmount() != other.getAmount()) return false; + if (hasContractAddress() != other.hasContractAddress()) return false; + if (hasContractAddress()) { + if (!getContractAddress() + .equals(other.getContractAddress())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2367,6 +2430,10 @@ public int hashCode() { hash = (37 * hash) + AMOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAmount()); + if (hasContractAddress()) { + hash = (37 * hash) + CONTRACT_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getContractAddress().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -2504,6 +2571,12 @@ public Builder clear() { amount_ = 0L; + if (contractAddressBuilder_ == null) { + contractAddress_ = null; + } else { + contractAddress_ = null; + contractAddressBuilder_ = null; + } return this; } @@ -2532,6 +2605,11 @@ public io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged buildParti io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged result = new io.aelf.protobuf.generated.TransactionFee.ResourceTokenCharged(this); result.symbol_ = symbol_; result.amount_ = amount_; + if (contractAddressBuilder_ == null) { + result.contractAddress_ = contractAddress_; + } else { + result.contractAddress_ = contractAddressBuilder_.build(); + } onBuilt(); return result; } @@ -2587,6 +2665,9 @@ public Builder mergeFrom(io.aelf.protobuf.generated.TransactionFee.ResourceToken if (other.getAmount() != 0L) { setAmount(other.getAmount()); } + if (other.hasContractAddress()) { + mergeContractAddress(other.getContractAddress()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2694,14 +2775,14 @@ public Builder setSymbolBytes( private long amount_ ; /** - * sint64 amount = 2; + * int64 amount = 2; * @return The amount. */ public long getAmount() { return amount_; } /** - * sint64 amount = 2; + * int64 amount = 2; * @param value The amount to set. * @return This builder for chaining. */ @@ -2712,7 +2793,7 @@ public Builder setAmount(long value) { return this; } /** - * sint64 amount = 2; + * int64 amount = 2; * @return This builder for chaining. */ public Builder clearAmount() { @@ -2721,6 +2802,125 @@ public Builder clearAmount() { onChanged(); return this; } + + private io.aelf.protobuf.generated.Client.Address contractAddress_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> contractAddressBuilder_; + /** + * .Address contract_address = 3; + * @return Whether the contractAddress field is set. + */ + public boolean hasContractAddress() { + return contractAddressBuilder_ != null || contractAddress_ != null; + } + /** + * .Address contract_address = 3; + * @return The contractAddress. + */ + public io.aelf.protobuf.generated.Client.Address getContractAddress() { + if (contractAddressBuilder_ == null) { + return contractAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : contractAddress_; + } else { + return contractAddressBuilder_.getMessage(); + } + } + /** + * .Address contract_address = 3; + */ + public Builder setContractAddress(io.aelf.protobuf.generated.Client.Address value) { + if (contractAddressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + contractAddress_ = value; + onChanged(); + } else { + contractAddressBuilder_.setMessage(value); + } + + return this; + } + /** + * .Address contract_address = 3; + */ + public Builder setContractAddress( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (contractAddressBuilder_ == null) { + contractAddress_ = builderForValue.build(); + onChanged(); + } else { + contractAddressBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .Address contract_address = 3; + */ + public Builder mergeContractAddress(io.aelf.protobuf.generated.Client.Address value) { + if (contractAddressBuilder_ == null) { + if (contractAddress_ != null) { + contractAddress_ = + io.aelf.protobuf.generated.Client.Address.newBuilder(contractAddress_).mergeFrom(value).buildPartial(); + } else { + contractAddress_ = value; + } + onChanged(); + } else { + contractAddressBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .Address contract_address = 3; + */ + public Builder clearContractAddress() { + if (contractAddressBuilder_ == null) { + contractAddress_ = null; + onChanged(); + } else { + contractAddress_ = null; + contractAddressBuilder_ = null; + } + + return this; + } + /** + * .Address contract_address = 3; + */ + public io.aelf.protobuf.generated.Client.Address.Builder getContractAddressBuilder() { + + onChanged(); + return getContractAddressFieldBuilder().getBuilder(); + } + /** + * .Address contract_address = 3; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getContractAddressOrBuilder() { + if (contractAddressBuilder_ != null) { + return contractAddressBuilder_.getMessageOrBuilder(); + } else { + return contractAddress_ == null ? + io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : contractAddress_; + } + } + /** + * .Address contract_address = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getContractAddressFieldBuilder() { + if (contractAddressBuilder_ == null) { + contractAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + getContractAddress(), + getParentForChildren(), + isClean()); + contractAddress_ = null; + } + return contractAddressBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2791,10 +2991,25 @@ public interface ResourceTokenOwnedOrBuilder extends getSymbolBytes(); /** - * sint64 amount = 2; + * int64 amount = 2; * @return The amount. */ long getAmount(); + + /** + * .Address contract_address = 3; + * @return Whether the contractAddress field is set. + */ + boolean hasContractAddress(); + /** + * .Address contract_address = 3; + * @return The contractAddress. + */ + io.aelf.protobuf.generated.Client.Address getContractAddress(); + /** + * .Address contract_address = 3; + */ + io.aelf.protobuf.generated.Client.AddressOrBuilder getContractAddressOrBuilder(); } /** * Protobuf type {@code ResourceTokenOwned} @@ -2850,7 +3065,20 @@ private ResourceTokenOwned( } case 16: { - amount_ = input.readSInt64(); + amount_ = input.readInt64(); + break; + } + case 26: { + io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; + if (contractAddress_ != null) { + subBuilder = contractAddress_.toBuilder(); + } + contractAddress_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(contractAddress_); + contractAddress_ = subBuilder.buildPartial(); + } + break; } default: { @@ -2924,13 +3152,36 @@ public java.lang.String getSymbol() { public static final int AMOUNT_FIELD_NUMBER = 2; private long amount_; /** - * sint64 amount = 2; + * int64 amount = 2; * @return The amount. */ public long getAmount() { return amount_; } + public static final int CONTRACT_ADDRESS_FIELD_NUMBER = 3; + private io.aelf.protobuf.generated.Client.Address contractAddress_; + /** + * .Address contract_address = 3; + * @return Whether the contractAddress field is set. + */ + public boolean hasContractAddress() { + return contractAddress_ != null; + } + /** + * .Address contract_address = 3; + * @return The contractAddress. + */ + public io.aelf.protobuf.generated.Client.Address getContractAddress() { + return contractAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : contractAddress_; + } + /** + * .Address contract_address = 3; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getContractAddressOrBuilder() { + return getContractAddress(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -2949,7 +3200,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 1, symbol_); } if (amount_ != 0L) { - output.writeSInt64(2, amount_); + output.writeInt64(2, amount_); + } + if (contractAddress_ != null) { + output.writeMessage(3, getContractAddress()); } unknownFields.writeTo(output); } @@ -2965,7 +3219,11 @@ public int getSerializedSize() { } if (amount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, amount_); + .computeInt64Size(2, amount_); + } + if (contractAddress_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getContractAddress()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2986,6 +3244,11 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getSymbol())) return false; if (getAmount() != other.getAmount()) return false; + if (hasContractAddress() != other.hasContractAddress()) return false; + if (hasContractAddress()) { + if (!getContractAddress() + .equals(other.getContractAddress())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3002,6 +3265,10 @@ public int hashCode() { hash = (37 * hash) + AMOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAmount()); + if (hasContractAddress()) { + hash = (37 * hash) + CONTRACT_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getContractAddress().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -3139,6 +3406,12 @@ public Builder clear() { amount_ = 0L; + if (contractAddressBuilder_ == null) { + contractAddress_ = null; + } else { + contractAddress_ = null; + contractAddressBuilder_ = null; + } return this; } @@ -3167,6 +3440,11 @@ public io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned buildPartial io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned result = new io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned(this); result.symbol_ = symbol_; result.amount_ = amount_; + if (contractAddressBuilder_ == null) { + result.contractAddress_ = contractAddress_; + } else { + result.contractAddress_ = contractAddressBuilder_.build(); + } onBuilt(); return result; } @@ -3222,6 +3500,9 @@ public Builder mergeFrom(io.aelf.protobuf.generated.TransactionFee.ResourceToken if (other.getAmount() != 0L) { setAmount(other.getAmount()); } + if (other.hasContractAddress()) { + mergeContractAddress(other.getContractAddress()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3329,14 +3610,14 @@ public Builder setSymbolBytes( private long amount_ ; /** - * sint64 amount = 2; + * int64 amount = 2; * @return The amount. */ public long getAmount() { return amount_; } /** - * sint64 amount = 2; + * int64 amount = 2; * @param value The amount to set. * @return This builder for chaining. */ @@ -3347,7 +3628,7 @@ public Builder setAmount(long value) { return this; } /** - * sint64 amount = 2; + * int64 amount = 2; * @return This builder for chaining. */ public Builder clearAmount() { @@ -3356,6 +3637,125 @@ public Builder clearAmount() { onChanged(); return this; } + + private io.aelf.protobuf.generated.Client.Address contractAddress_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> contractAddressBuilder_; + /** + * .Address contract_address = 3; + * @return Whether the contractAddress field is set. + */ + public boolean hasContractAddress() { + return contractAddressBuilder_ != null || contractAddress_ != null; + } + /** + * .Address contract_address = 3; + * @return The contractAddress. + */ + public io.aelf.protobuf.generated.Client.Address getContractAddress() { + if (contractAddressBuilder_ == null) { + return contractAddress_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : contractAddress_; + } else { + return contractAddressBuilder_.getMessage(); + } + } + /** + * .Address contract_address = 3; + */ + public Builder setContractAddress(io.aelf.protobuf.generated.Client.Address value) { + if (contractAddressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + contractAddress_ = value; + onChanged(); + } else { + contractAddressBuilder_.setMessage(value); + } + + return this; + } + /** + * .Address contract_address = 3; + */ + public Builder setContractAddress( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (contractAddressBuilder_ == null) { + contractAddress_ = builderForValue.build(); + onChanged(); + } else { + contractAddressBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .Address contract_address = 3; + */ + public Builder mergeContractAddress(io.aelf.protobuf.generated.Client.Address value) { + if (contractAddressBuilder_ == null) { + if (contractAddress_ != null) { + contractAddress_ = + io.aelf.protobuf.generated.Client.Address.newBuilder(contractAddress_).mergeFrom(value).buildPartial(); + } else { + contractAddress_ = value; + } + onChanged(); + } else { + contractAddressBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .Address contract_address = 3; + */ + public Builder clearContractAddress() { + if (contractAddressBuilder_ == null) { + contractAddress_ = null; + onChanged(); + } else { + contractAddress_ = null; + contractAddressBuilder_ = null; + } + + return this; + } + /** + * .Address contract_address = 3; + */ + public io.aelf.protobuf.generated.Client.Address.Builder getContractAddressBuilder() { + + onChanged(); + return getContractAddressFieldBuilder().getBuilder(); + } + /** + * .Address contract_address = 3; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getContractAddressOrBuilder() { + if (contractAddressBuilder_ != null) { + return contractAddressBuilder_.getMessageOrBuilder(); + } else { + return contractAddress_ == null ? + io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : contractAddress_; + } + } + /** + * .Address contract_address = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getContractAddressFieldBuilder() { + if (contractAddressBuilder_ == null) { + contractAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + getContractAddress(), + getParentForChildren(), + isClean()); + contractAddress_ = null; + } + return contractAddressBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3448,13 +3848,14 @@ public io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned getDefaultIn "n_size_fee_symbol_list\030\001 \003(\0132\031.Transacti" + "onSizeFeeSymbol\"g\n\030TransactionSizeFeeSym" + "bol\022\024\n\014token_symbol\030\001 \001(\t\022\031\n\021base_token_" + - "weight\030\002 \001(\021\022\032\n\022added_token_weight\030\003 \001(\021" + + "weight\030\002 \001(\005\022\032\n\022added_token_weight\030\003 \001(\005" + "\"7\n\025TransactionFeeCharged\022\016\n\006symbol\030\001 \001(" + - "\t\022\016\n\006amount\030\002 \001(\022\"6\n\024ResourceTokenCharge" + - "d\022\016\n\006symbol\030\001 \001(\t\022\016\n\006amount\030\002 \001(\022\"4\n\022Res" + - "ourceTokenOwned\022\016\n\006symbol\030\001 \001(\t\022\016\n\006amoun" + - "t\030\002 \001(\022B\034\n\032io.aelf.protobuf.generatedb\006p" + - "roto3" + "\t\022\016\n\006amount\030\002 \001(\003\"Z\n\024ResourceTokenCharge" + + "d\022\016\n\006symbol\030\001 \001(\t\022\016\n\006amount\030\002 \001(\003\022\"\n\020con" + + "tract_address\030\003 \001(\0132\010.Address\"X\n\022Resourc" + + "eTokenOwned\022\016\n\006symbol\030\001 \001(\t\022\016\n\006amount\030\002 " + + "\001(\003\022\"\n\020contract_address\030\003 \001(\0132\010.AddressB" + + "\034\n\032io.aelf.protobuf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -3484,13 +3885,13 @@ public io.aelf.protobuf.generated.TransactionFee.ResourceTokenOwned getDefaultIn internal_static_ResourceTokenCharged_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ResourceTokenCharged_descriptor, - new java.lang.String[] { "Symbol", "Amount", }); + new java.lang.String[] { "Symbol", "Amount", "ContractAddress", }); internal_static_ResourceTokenOwned_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_ResourceTokenOwned_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ResourceTokenOwned_descriptor, - new java.lang.String[] { "Symbol", "Amount", }); + new java.lang.String[] { "Symbol", "Amount", "ContractAddress", }); io.aelf.protobuf.generated.Client.getDescriptor(); } diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/VoteContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/VoteContract.java index c955d06..5c36170 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/VoteContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/VoteContract.java @@ -19,16 +19,28 @@ public interface GetVotingItemInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ boolean hasVotingItemId(); /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ io.aelf.protobuf.generated.Client.Hash getVotingItemId(); /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder(); @@ -126,6 +138,10 @@ private GetVotingItemInput( public static final int VOTING_ITEM_ID_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Hash votingItemId_; /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ @@ -133,6 +149,10 @@ public boolean hasVotingItemId() { return votingItemId_ != null; } /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ @@ -140,6 +160,10 @@ public io.aelf.protobuf.generated.Client.Hash getVotingItemId() { return votingItemId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : votingItemId_; } /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder() { @@ -465,6 +489,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> votingItemIdBuilder_; /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ @@ -472,6 +500,10 @@ public boolean hasVotingItemId() { return votingItemIdBuilder_ != null || votingItemId_ != null; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ @@ -483,6 +515,10 @@ public io.aelf.protobuf.generated.Client.Hash getVotingItemId() { } } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder setVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { @@ -499,6 +535,10 @@ public Builder setVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder setVotingItemId( @@ -513,6 +553,10 @@ public Builder setVotingItemId( return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder mergeVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { @@ -531,6 +575,10 @@ public Builder mergeVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder clearVotingItemId() { @@ -545,6 +593,10 @@ public Builder clearVotingItemId() { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getVotingItemIdBuilder() { @@ -553,6 +605,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getVotingItemIdBuilder() { return getVotingItemIdFieldBuilder().getBuilder(); } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder() { @@ -564,6 +620,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder( } } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -637,10 +697,18 @@ public interface VotedItemsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The voted ids.
+     * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ int getVotedItemVoteIdsCount(); /** + *
+     * The voted ids.
+     * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ boolean containsVotedItemVoteIds( @@ -652,11 +720,19 @@ boolean containsVotedItemVoteIds( java.util.Map getVotedItemVoteIds(); /** + *
+     * The voted ids.
+     * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ java.util.Map getVotedItemVoteIdsMap(); /** + *
+     * The voted ids.
+     * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -664,6 +740,10 @@ io.aelf.protobuf.generated.VoteContract.VotedIds getVotedItemVoteIdsOrDefault( java.lang.String key, io.aelf.protobuf.generated.VoteContract.VotedIds defaultValue); /** + *
+     * The voted ids.
+     * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -800,6 +880,10 @@ public int getVotedItemVoteIdsCount() { return internalGetVotedItemVoteIds().getMap().size(); } /** + *
+     * The voted ids.
+     * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -816,6 +900,10 @@ public java.util.Map + * The voted ids. + *
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -823,6 +911,10 @@ public java.util.Map + * The voted ids. + * + * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -835,6 +927,10 @@ public io.aelf.protobuf.generated.VoteContract.VotedIds getVotedItemVoteIdsOrDef return map.containsKey(key) ? map.get(key) : defaultValue; } /** + *
+     * The voted ids.
+     * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -1212,6 +1308,10 @@ public int getVotedItemVoteIdsCount() { return internalGetVotedItemVoteIds().getMap().size(); } /** + *
+       * The voted ids.
+       * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -1228,6 +1328,10 @@ public java.util.Map + * The voted ids. + * + * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -1235,6 +1339,10 @@ public java.util.Map + * The voted ids. + * + * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -1247,6 +1355,10 @@ public io.aelf.protobuf.generated.VoteContract.VotedIds getVotedItemVoteIdsOrDef return map.containsKey(key) ? map.get(key) : defaultValue; } /** + *
+       * The voted ids.
+       * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -1267,6 +1379,10 @@ public Builder clearVotedItemVoteIds() { return this; } /** + *
+       * The voted ids.
+       * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -1286,6 +1402,10 @@ public Builder removeVotedItemVoteIds( return internalGetMutableVotedItemVoteIds().getMutableMap(); } /** + *
+       * The voted ids.
+       * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ public Builder putVotedItemVoteIds( @@ -1298,6 +1418,10 @@ public Builder putVotedItemVoteIds( return this; } /** + *
+       * The voted ids.
+       * 
+ * * map<string, .VotedIds> voted_item_vote_ids = 1; */ @@ -1365,48 +1489,88 @@ public interface VotedIdsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ java.util.List getActiveVotesList(); /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ io.aelf.protobuf.generated.Client.Hash getActiveVotes(int index); /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ int getActiveVotesCount(); /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ java.util.List getActiveVotesOrBuilderList(); /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotesOrBuilder( int index); /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ java.util.List getWithdrawnVotesList(); /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ io.aelf.protobuf.generated.Client.Hash getWithdrawnVotes(int index); /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ int getWithdrawnVotesCount(); /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ java.util.List getWithdrawnVotesOrBuilderList(); /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotesOrBuilder( @@ -1519,12 +1683,20 @@ private VotedIds( public static final int ACTIVE_VOTES_FIELD_NUMBER = 1; private java.util.List activeVotes_; /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ public java.util.List getActiveVotesList() { return activeVotes_; } /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ public java.util.List @@ -1532,18 +1704,30 @@ public java.util.List getActiveVotesList return activeVotes_; } /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ public int getActiveVotesCount() { return activeVotes_.size(); } /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ public io.aelf.protobuf.generated.Client.Hash getActiveVotes(int index) { return activeVotes_.get(index); } /** + *
+     * The active vote ids.
+     * 
+ * * repeated .Hash active_votes = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotesOrBuilder( @@ -1554,12 +1738,20 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotesOrBuilder( public static final int WITHDRAWN_VOTES_FIELD_NUMBER = 2; private java.util.List withdrawnVotes_; /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ public java.util.List getWithdrawnVotesList() { return withdrawnVotes_; } /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ public java.util.List @@ -1567,18 +1759,30 @@ public java.util.List getWithdrawnVotesL return withdrawnVotes_; } /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ public int getWithdrawnVotesCount() { return withdrawnVotes_.size(); } /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ public io.aelf.protobuf.generated.Client.Hash getWithdrawnVotes(int index) { return withdrawnVotes_.get(index); } /** + *
+     * The withdrawn vote ids.
+     * 
+ * * repeated .Hash withdrawn_votes = 2; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotesOrBuilder( @@ -1996,6 +2200,10 @@ private void ensureActiveVotesIsMutable() { io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> activeVotesBuilder_; /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public java.util.List getActiveVotesList() { @@ -2006,6 +2214,10 @@ public java.util.List getActiveVotesList } } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public int getActiveVotesCount() { @@ -2016,6 +2228,10 @@ public int getActiveVotesCount() { } } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public io.aelf.protobuf.generated.Client.Hash getActiveVotes(int index) { @@ -2026,6 +2242,10 @@ public io.aelf.protobuf.generated.Client.Hash getActiveVotes(int index) { } } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public Builder setActiveVotes( @@ -2043,6 +2263,10 @@ public Builder setActiveVotes( return this; } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public Builder setActiveVotes( @@ -2057,6 +2281,10 @@ public Builder setActiveVotes( return this; } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public Builder addActiveVotes(io.aelf.protobuf.generated.Client.Hash value) { @@ -2073,6 +2301,10 @@ public Builder addActiveVotes(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public Builder addActiveVotes( @@ -2090,6 +2322,10 @@ public Builder addActiveVotes( return this; } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public Builder addActiveVotes( @@ -2104,6 +2340,10 @@ public Builder addActiveVotes( return this; } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public Builder addActiveVotes( @@ -2118,6 +2358,10 @@ public Builder addActiveVotes( return this; } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public Builder addAllActiveVotes( @@ -2133,6 +2377,10 @@ public Builder addAllActiveVotes( return this; } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public Builder clearActiveVotes() { @@ -2146,6 +2394,10 @@ public Builder clearActiveVotes() { return this; } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public Builder removeActiveVotes(int index) { @@ -2159,6 +2411,10 @@ public Builder removeActiveVotes(int index) { return this; } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getActiveVotesBuilder( @@ -2166,6 +2422,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getActiveVotesBuilder( return getActiveVotesFieldBuilder().getBuilder(index); } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotesOrBuilder( @@ -2176,6 +2436,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotesOrBuilder( } } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public java.util.List @@ -2187,6 +2451,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getActiveVotesOrBuilder( } } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addActiveVotesBuilder() { @@ -2194,6 +2462,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addActiveVotesBuilder() { io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addActiveVotesBuilder( @@ -2202,6 +2474,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addActiveVotesBuilder( index, io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The active vote ids.
+       * 
+ * * repeated .Hash active_votes = 1; */ public java.util.List @@ -2236,6 +2512,10 @@ private void ensureWithdrawnVotesIsMutable() { io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> withdrawnVotesBuilder_; /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public java.util.List getWithdrawnVotesList() { @@ -2246,6 +2526,10 @@ public java.util.List getWithdrawnVotesL } } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public int getWithdrawnVotesCount() { @@ -2256,6 +2540,10 @@ public int getWithdrawnVotesCount() { } } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public io.aelf.protobuf.generated.Client.Hash getWithdrawnVotes(int index) { @@ -2266,6 +2554,10 @@ public io.aelf.protobuf.generated.Client.Hash getWithdrawnVotes(int index) { } } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public Builder setWithdrawnVotes( @@ -2283,6 +2575,10 @@ public Builder setWithdrawnVotes( return this; } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public Builder setWithdrawnVotes( @@ -2297,6 +2593,10 @@ public Builder setWithdrawnVotes( return this; } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public Builder addWithdrawnVotes(io.aelf.protobuf.generated.Client.Hash value) { @@ -2313,6 +2613,10 @@ public Builder addWithdrawnVotes(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public Builder addWithdrawnVotes( @@ -2330,6 +2634,10 @@ public Builder addWithdrawnVotes( return this; } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public Builder addWithdrawnVotes( @@ -2344,6 +2652,10 @@ public Builder addWithdrawnVotes( return this; } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public Builder addWithdrawnVotes( @@ -2358,6 +2670,10 @@ public Builder addWithdrawnVotes( return this; } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public Builder addAllWithdrawnVotes( @@ -2373,6 +2689,10 @@ public Builder addAllWithdrawnVotes( return this; } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public Builder clearWithdrawnVotes() { @@ -2386,6 +2706,10 @@ public Builder clearWithdrawnVotes() { return this; } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public Builder removeWithdrawnVotes(int index) { @@ -2399,6 +2723,10 @@ public Builder removeWithdrawnVotes(int index) { return this; } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder getWithdrawnVotesBuilder( @@ -2406,6 +2734,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getWithdrawnVotesBuilder( return getWithdrawnVotesFieldBuilder().getBuilder(index); } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotesOrBuilder( @@ -2416,6 +2748,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotesOrBuilde } } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public java.util.List @@ -2427,6 +2763,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getWithdrawnVotesOrBuilde } } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder addWithdrawnVotesBuilder() { @@ -2434,7 +2774,11 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addWithdrawnVotesBuilder() io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** - * repeated .Hash withdrawn_votes = 2; + *
+       * The withdrawn vote ids.
+       * 
+ * + * repeated .Hash withdrawn_votes = 2; */ public io.aelf.protobuf.generated.Client.Hash.Builder addWithdrawnVotesBuilder( int index) { @@ -2442,6 +2786,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addWithdrawnVotesBuilder( index, io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The withdrawn vote ids.
+       * 
+ * * repeated .Hash withdrawn_votes = 2; */ public java.util.List @@ -2520,22 +2868,38 @@ public interface GetVotingResultInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ boolean hasVotingItemId(); /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ io.aelf.protobuf.generated.Client.Hash getVotingItemId(); /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder(); /** - * sint64 snapshot_number = 2; + *
+     * The snapshot number.
+     * 
+ * + * int64 snapshot_number = 2; * @return The snapshotNumber. */ long getSnapshotNumber(); @@ -2600,7 +2964,7 @@ private GetVotingResultInput( } case 16: { - snapshotNumber_ = input.readSInt64(); + snapshotNumber_ = input.readInt64(); break; } default: { @@ -2638,6 +3002,10 @@ private GetVotingResultInput( public static final int VOTING_ITEM_ID_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Hash votingItemId_; /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ @@ -2645,6 +3013,10 @@ public boolean hasVotingItemId() { return votingItemId_ != null; } /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ @@ -2652,6 +3024,10 @@ public io.aelf.protobuf.generated.Client.Hash getVotingItemId() { return votingItemId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : votingItemId_; } /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder() { @@ -2661,7 +3037,11 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder( public static final int SNAPSHOT_NUMBER_FIELD_NUMBER = 2; private long snapshotNumber_; /** - * sint64 snapshot_number = 2; + *
+     * The snapshot number.
+     * 
+ * + * int64 snapshot_number = 2; * @return The snapshotNumber. */ public long getSnapshotNumber() { @@ -2686,7 +3066,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(1, getVotingItemId()); } if (snapshotNumber_ != 0L) { - output.writeSInt64(2, snapshotNumber_); + output.writeInt64(2, snapshotNumber_); } unknownFields.writeTo(output); } @@ -2703,7 +3083,7 @@ public int getSerializedSize() { } if (snapshotNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(2, snapshotNumber_); + .computeInt64Size(2, snapshotNumber_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3005,6 +3385,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> votingItemIdBuilder_; /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ @@ -3012,6 +3396,10 @@ public boolean hasVotingItemId() { return votingItemIdBuilder_ != null || votingItemId_ != null; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ @@ -3023,6 +3411,10 @@ public io.aelf.protobuf.generated.Client.Hash getVotingItemId() { } } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder setVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { @@ -3039,6 +3431,10 @@ public Builder setVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder setVotingItemId( @@ -3053,6 +3449,10 @@ public Builder setVotingItemId( return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder mergeVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { @@ -3071,6 +3471,10 @@ public Builder mergeVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder clearVotingItemId() { @@ -3085,6 +3489,10 @@ public Builder clearVotingItemId() { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getVotingItemIdBuilder() { @@ -3093,6 +3501,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getVotingItemIdBuilder() { return getVotingItemIdFieldBuilder().getBuilder(); } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder() { @@ -3104,6 +3516,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder( } } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -3122,14 +3538,22 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder( private long snapshotNumber_ ; /** - * sint64 snapshot_number = 2; + *
+       * The snapshot number.
+       * 
+ * + * int64 snapshot_number = 2; * @return The snapshotNumber. */ public long getSnapshotNumber() { return snapshotNumber_; } /** - * sint64 snapshot_number = 2; + *
+       * The snapshot number.
+       * 
+ * + * int64 snapshot_number = 2; * @param value The snapshotNumber to set. * @return This builder for chaining. */ @@ -3140,7 +3564,11 @@ public Builder setSnapshotNumber(long value) { return this; } /** - * sint64 snapshot_number = 2; + *
+       * The snapshot number.
+       * 
+ * + * int64 snapshot_number = 2; * @return This builder for chaining. */ public Builder clearSnapshotNumber() { @@ -3207,34 +3635,46 @@ public interface VotingResultOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ boolean hasVotingItemId(); /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ io.aelf.protobuf.generated.Client.Hash getVotingItemId(); /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder(); /** *
-     * option -> amount
+     * The voting result, option -> amount of votes,
      * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ int getResultsCount(); /** *
-     * option -> amount
+     * The voting result, option -> amount of votes,
      * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ boolean containsResults( java.lang.String key); @@ -3246,19 +3686,19 @@ boolean containsResults( getResults(); /** *
-     * option -> amount
+     * The voting result, option -> amount of votes,
      * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ java.util.Map getResultsMap(); /** *
-     * option -> amount
+     * The voting result, option -> amount of votes,
      * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ long getResultsOrDefault( @@ -3266,59 +3706,95 @@ long getResultsOrDefault( long defaultValue); /** *
-     * option -> amount
+     * The voting result, option -> amount of votes,
      * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ long getResultsOrThrow( java.lang.String key); /** - * sint64 snapshot_number = 3; + *
+     * The snapshot number.
+     * 
+ * + * int64 snapshot_number = 3; * @return The snapshotNumber. */ long getSnapshotNumber(); /** - * sint64 voters_count = 4; + *
+     * The total number of voters.
+     * 
+ * + * int64 voters_count = 4; * @return The votersCount. */ long getVotersCount(); /** + *
+     * The start time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; * @return Whether the snapshotStartTimestamp field is set. */ boolean hasSnapshotStartTimestamp(); /** + *
+     * The start time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; * @return The snapshotStartTimestamp. */ com.google.protobuf.Timestamp getSnapshotStartTimestamp(); /** + *
+     * The start time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; */ com.google.protobuf.TimestampOrBuilder getSnapshotStartTimestampOrBuilder(); /** + *
+     * The end time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; * @return Whether the snapshotEndTimestamp field is set. */ boolean hasSnapshotEndTimestamp(); /** + *
+     * The end time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; * @return The snapshotEndTimestamp. */ com.google.protobuf.Timestamp getSnapshotEndTimestamp(); /** + *
+     * The end time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; */ com.google.protobuf.TimestampOrBuilder getSnapshotEndTimestampOrBuilder(); /** - * sint64 votes_amount = 7; + *
+     * Total votes received during the process of this snapshot.
+     * 
+ * + * int64 votes_amount = 7; * @return The votesAmount. */ long getVotesAmount(); @@ -3397,12 +3873,12 @@ private VotingResult( } case 24: { - snapshotNumber_ = input.readSInt64(); + snapshotNumber_ = input.readInt64(); break; } case 32: { - votersCount_ = input.readSInt64(); + votersCount_ = input.readInt64(); break; } case 42: { @@ -3433,7 +3909,7 @@ private VotingResult( } case 56: { - votesAmount_ = input.readSInt64(); + votesAmount_ = input.readInt64(); break; } default: { @@ -3483,6 +3959,10 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int VOTING_ITEM_ID_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Hash votingItemId_; /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ @@ -3490,6 +3970,10 @@ public boolean hasVotingItemId() { return votingItemId_ != null; } /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ @@ -3497,6 +3981,10 @@ public io.aelf.protobuf.generated.Client.Hash getVotingItemId() { return votingItemId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : votingItemId_; } /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder() { @@ -3512,7 +4000,7 @@ private static final class ResultsDefaultEntryHolder { io.aelf.protobuf.generated.VoteContract.internal_static_VotingResult_ResultsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", - com.google.protobuf.WireFormat.FieldType.SINT64, + com.google.protobuf.WireFormat.FieldType.INT64, 0L); } private com.google.protobuf.MapField< @@ -3531,10 +4019,10 @@ public int getResultsCount() { } /** *
-     * option -> amount
+     * The voting result, option -> amount of votes,
      * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public boolean containsResults( @@ -3551,10 +4039,10 @@ public java.util.Map getResults() { } /** *
-     * option -> amount
+     * The voting result, option -> amount of votes,
      * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public java.util.Map getResultsMap() { @@ -3562,10 +4050,10 @@ public java.util.Map getResultsMap() { } /** *
-     * option -> amount
+     * The voting result, option -> amount of votes,
      * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public long getResultsOrDefault( @@ -3578,10 +4066,10 @@ public long getResultsOrDefault( } /** *
-     * option -> amount
+     * The voting result, option -> amount of votes,
      * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public long getResultsOrThrow( @@ -3598,7 +4086,11 @@ public long getResultsOrThrow( public static final int SNAPSHOT_NUMBER_FIELD_NUMBER = 3; private long snapshotNumber_; /** - * sint64 snapshot_number = 3; + *
+     * The snapshot number.
+     * 
+ * + * int64 snapshot_number = 3; * @return The snapshotNumber. */ public long getSnapshotNumber() { @@ -3608,7 +4100,11 @@ public long getSnapshotNumber() { public static final int VOTERS_COUNT_FIELD_NUMBER = 4; private long votersCount_; /** - * sint64 voters_count = 4; + *
+     * The total number of voters.
+     * 
+ * + * int64 voters_count = 4; * @return The votersCount. */ public long getVotersCount() { @@ -3618,6 +4114,10 @@ public long getVotersCount() { public static final int SNAPSHOT_START_TIMESTAMP_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp snapshotStartTimestamp_; /** + *
+     * The start time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; * @return Whether the snapshotStartTimestamp field is set. */ @@ -3625,6 +4125,10 @@ public boolean hasSnapshotStartTimestamp() { return snapshotStartTimestamp_ != null; } /** + *
+     * The start time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; * @return The snapshotStartTimestamp. */ @@ -3632,6 +4136,10 @@ public com.google.protobuf.Timestamp getSnapshotStartTimestamp() { return snapshotStartTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotStartTimestamp_; } /** + *
+     * The start time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; */ public com.google.protobuf.TimestampOrBuilder getSnapshotStartTimestampOrBuilder() { @@ -3641,6 +4149,10 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotStartTimestampOrBuilder public static final int SNAPSHOT_END_TIMESTAMP_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp snapshotEndTimestamp_; /** + *
+     * The end time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; * @return Whether the snapshotEndTimestamp field is set. */ @@ -3648,6 +4160,10 @@ public boolean hasSnapshotEndTimestamp() { return snapshotEndTimestamp_ != null; } /** + *
+     * The end time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; * @return The snapshotEndTimestamp. */ @@ -3655,6 +4171,10 @@ public com.google.protobuf.Timestamp getSnapshotEndTimestamp() { return snapshotEndTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotEndTimestamp_; } /** + *
+     * The end time of this snapshot.
+     * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; */ public com.google.protobuf.TimestampOrBuilder getSnapshotEndTimestampOrBuilder() { @@ -3664,7 +4184,11 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotEndTimestampOrBuilder() public static final int VOTES_AMOUNT_FIELD_NUMBER = 7; private long votesAmount_; /** - * sint64 votes_amount = 7; + *
+     * Total votes received during the process of this snapshot.
+     * 
+ * + * int64 votes_amount = 7; * @return The votesAmount. */ public long getVotesAmount() { @@ -3695,10 +4219,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) ResultsDefaultEntryHolder.defaultEntry, 2); if (snapshotNumber_ != 0L) { - output.writeSInt64(3, snapshotNumber_); + output.writeInt64(3, snapshotNumber_); } if (votersCount_ != 0L) { - output.writeSInt64(4, votersCount_); + output.writeInt64(4, votersCount_); } if (snapshotStartTimestamp_ != null) { output.writeMessage(5, getSnapshotStartTimestamp()); @@ -3707,7 +4231,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(6, getSnapshotEndTimestamp()); } if (votesAmount_ != 0L) { - output.writeSInt64(7, votesAmount_); + output.writeInt64(7, votesAmount_); } unknownFields.writeTo(output); } @@ -3734,11 +4258,11 @@ public int getSerializedSize() { } if (snapshotNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, snapshotNumber_); + .computeInt64Size(3, snapshotNumber_); } if (votersCount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, votersCount_); + .computeInt64Size(4, votersCount_); } if (snapshotStartTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream @@ -3750,7 +4274,7 @@ public int getSerializedSize() { } if (votesAmount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(7, votesAmount_); + .computeInt64Size(7, votesAmount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4155,6 +4679,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> votingItemIdBuilder_; /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ @@ -4162,6 +4690,10 @@ public boolean hasVotingItemId() { return votingItemIdBuilder_ != null || votingItemId_ != null; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ @@ -4173,6 +4705,10 @@ public io.aelf.protobuf.generated.Client.Hash getVotingItemId() { } } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder setVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { @@ -4189,6 +4725,10 @@ public Builder setVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder setVotingItemId( @@ -4203,6 +4743,10 @@ public Builder setVotingItemId( return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder mergeVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { @@ -4221,6 +4765,10 @@ public Builder mergeVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder clearVotingItemId() { @@ -4235,6 +4783,10 @@ public Builder clearVotingItemId() { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getVotingItemIdBuilder() { @@ -4243,6 +4795,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getVotingItemIdBuilder() { return getVotingItemIdFieldBuilder().getBuilder(); } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder() { @@ -4254,6 +4810,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder( } } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -4298,10 +4858,10 @@ public int getResultsCount() { } /** *
-       * option -> amount
+       * The voting result, option -> amount of votes,
        * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public boolean containsResults( @@ -4318,10 +4878,10 @@ public java.util.Map getResults() { } /** *
-       * option -> amount
+       * The voting result, option -> amount of votes,
        * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public java.util.Map getResultsMap() { @@ -4329,10 +4889,10 @@ public java.util.Map getResultsMap() { } /** *
-       * option -> amount
+       * The voting result, option -> amount of votes,
        * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public long getResultsOrDefault( @@ -4345,10 +4905,10 @@ public long getResultsOrDefault( } /** *
-       * option -> amount
+       * The voting result, option -> amount of votes,
        * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public long getResultsOrThrow( @@ -4369,10 +4929,10 @@ public Builder clearResults() { } /** *
-       * option -> amount
+       * The voting result, option -> amount of votes,
        * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public Builder removeResults( @@ -4392,10 +4952,10 @@ public Builder removeResults( } /** *
-       * option -> amount
+       * The voting result, option -> amount of votes,
        * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public Builder putResults( java.lang.String key, @@ -4408,10 +4968,10 @@ public Builder putResults( } /** *
-       * option -> amount
+       * The voting result, option -> amount of votes,
        * 
* - * map<string, sint64> results = 2; + * map<string, int64> results = 2; */ public Builder putAllResults( @@ -4423,14 +4983,22 @@ public Builder putAllResults( private long snapshotNumber_ ; /** - * sint64 snapshot_number = 3; + *
+       * The snapshot number.
+       * 
+ * + * int64 snapshot_number = 3; * @return The snapshotNumber. */ public long getSnapshotNumber() { return snapshotNumber_; } /** - * sint64 snapshot_number = 3; + *
+       * The snapshot number.
+       * 
+ * + * int64 snapshot_number = 3; * @param value The snapshotNumber to set. * @return This builder for chaining. */ @@ -4441,7 +5009,11 @@ public Builder setSnapshotNumber(long value) { return this; } /** - * sint64 snapshot_number = 3; + *
+       * The snapshot number.
+       * 
+ * + * int64 snapshot_number = 3; * @return This builder for chaining. */ public Builder clearSnapshotNumber() { @@ -4453,14 +5025,22 @@ public Builder clearSnapshotNumber() { private long votersCount_ ; /** - * sint64 voters_count = 4; + *
+       * The total number of voters.
+       * 
+ * + * int64 voters_count = 4; * @return The votersCount. */ public long getVotersCount() { return votersCount_; } /** - * sint64 voters_count = 4; + *
+       * The total number of voters.
+       * 
+ * + * int64 voters_count = 4; * @param value The votersCount to set. * @return This builder for chaining. */ @@ -4471,7 +5051,11 @@ public Builder setVotersCount(long value) { return this; } /** - * sint64 voters_count = 4; + *
+       * The total number of voters.
+       * 
+ * + * int64 voters_count = 4; * @return This builder for chaining. */ public Builder clearVotersCount() { @@ -4485,6 +5069,10 @@ public Builder clearVotersCount() { private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotStartTimestampBuilder_; /** + *
+       * The start time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; * @return Whether the snapshotStartTimestamp field is set. */ @@ -4492,6 +5080,10 @@ public boolean hasSnapshotStartTimestamp() { return snapshotStartTimestampBuilder_ != null || snapshotStartTimestamp_ != null; } /** + *
+       * The start time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; * @return The snapshotStartTimestamp. */ @@ -4503,6 +5095,10 @@ public com.google.protobuf.Timestamp getSnapshotStartTimestamp() { } } /** + *
+       * The start time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; */ public Builder setSnapshotStartTimestamp(com.google.protobuf.Timestamp value) { @@ -4519,6 +5115,10 @@ public Builder setSnapshotStartTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + *
+       * The start time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; */ public Builder setSnapshotStartTimestamp( @@ -4533,6 +5133,10 @@ public Builder setSnapshotStartTimestamp( return this; } /** + *
+       * The start time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; */ public Builder mergeSnapshotStartTimestamp(com.google.protobuf.Timestamp value) { @@ -4551,6 +5155,10 @@ public Builder mergeSnapshotStartTimestamp(com.google.protobuf.Timestamp value) return this; } /** + *
+       * The start time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; */ public Builder clearSnapshotStartTimestamp() { @@ -4565,6 +5173,10 @@ public Builder clearSnapshotStartTimestamp() { return this; } /** + *
+       * The start time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; */ public com.google.protobuf.Timestamp.Builder getSnapshotStartTimestampBuilder() { @@ -4573,6 +5185,10 @@ public com.google.protobuf.Timestamp.Builder getSnapshotStartTimestampBuilder() return getSnapshotStartTimestampFieldBuilder().getBuilder(); } /** + *
+       * The start time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; */ public com.google.protobuf.TimestampOrBuilder getSnapshotStartTimestampOrBuilder() { @@ -4584,6 +5200,10 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotStartTimestampOrBuilder } } /** + *
+       * The start time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_start_timestamp = 5; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -4604,6 +5224,10 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotStartTimestampOrBuilder private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotEndTimestampBuilder_; /** + *
+       * The end time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; * @return Whether the snapshotEndTimestamp field is set. */ @@ -4611,6 +5235,10 @@ public boolean hasSnapshotEndTimestamp() { return snapshotEndTimestampBuilder_ != null || snapshotEndTimestamp_ != null; } /** + *
+       * The end time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; * @return The snapshotEndTimestamp. */ @@ -4622,6 +5250,10 @@ public com.google.protobuf.Timestamp getSnapshotEndTimestamp() { } } /** + *
+       * The end time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; */ public Builder setSnapshotEndTimestamp(com.google.protobuf.Timestamp value) { @@ -4638,6 +5270,10 @@ public Builder setSnapshotEndTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + *
+       * The end time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; */ public Builder setSnapshotEndTimestamp( @@ -4652,6 +5288,10 @@ public Builder setSnapshotEndTimestamp( return this; } /** + *
+       * The end time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; */ public Builder mergeSnapshotEndTimestamp(com.google.protobuf.Timestamp value) { @@ -4670,6 +5310,10 @@ public Builder mergeSnapshotEndTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + *
+       * The end time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; */ public Builder clearSnapshotEndTimestamp() { @@ -4684,6 +5328,10 @@ public Builder clearSnapshotEndTimestamp() { return this; } /** + *
+       * The end time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; */ public com.google.protobuf.Timestamp.Builder getSnapshotEndTimestampBuilder() { @@ -4692,6 +5340,10 @@ public com.google.protobuf.Timestamp.Builder getSnapshotEndTimestampBuilder() { return getSnapshotEndTimestampFieldBuilder().getBuilder(); } /** + *
+       * The end time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; */ public com.google.protobuf.TimestampOrBuilder getSnapshotEndTimestampOrBuilder() { @@ -4703,6 +5355,10 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotEndTimestampOrBuilder() } } /** + *
+       * The end time of this snapshot.
+       * 
+ * * .google.protobuf.Timestamp snapshot_end_timestamp = 6; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -4721,14 +5377,22 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotEndTimestampOrBuilder() private long votesAmount_ ; /** - * sint64 votes_amount = 7; + *
+       * Total votes received during the process of this snapshot.
+       * 
+ * + * int64 votes_amount = 7; * @return The votesAmount. */ public long getVotesAmount() { return votesAmount_; } /** - * sint64 votes_amount = 7; + *
+       * Total votes received during the process of this snapshot.
+       * 
+ * + * int64 votes_amount = 7; * @param value The votesAmount to set. * @return This builder for chaining. */ @@ -4739,7 +5403,11 @@ public Builder setVotesAmount(long value) { return this; } /** - * sint64 votes_amount = 7; + *
+       * Total votes received during the process of this snapshot.
+       * 
+ * + * int64 votes_amount = 7; * @return This builder for chaining. */ public Builder clearVotesAmount() { @@ -4806,89 +5474,157 @@ public interface VotingRecordOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ boolean hasVotingItemId(); /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ io.aelf.protobuf.generated.Client.Hash getVotingItemId(); /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder(); /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 2; * @return Whether the voter field is set. */ boolean hasVoter(); /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 2; * @return The voter. */ io.aelf.protobuf.generated.Client.Address getVoter(); /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 2; */ io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder(); /** - * sint64 snapshot_number = 3; + *
+     * The snapshot number.
+     * 
+ * + * int64 snapshot_number = 3; * @return The snapshotNumber. */ long getSnapshotNumber(); /** - * sint64 amount = 4; + *
+     * The amount of vote.
+     * 
+ * + * int64 amount = 4; * @return The amount. */ long getAmount(); /** + *
+     * The time of withdraw.
+     * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; * @return Whether the withdrawTimestamp field is set. */ boolean hasWithdrawTimestamp(); /** + *
+     * The time of withdraw.
+     * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; * @return The withdrawTimestamp. */ com.google.protobuf.Timestamp getWithdrawTimestamp(); /** + *
+     * The time of withdraw.
+     * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; */ com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder(); /** + *
+     * The time of vote.
+     * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; * @return Whether the voteTimestamp field is set. */ boolean hasVoteTimestamp(); /** + *
+     * The time of vote.
+     * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; * @return The voteTimestamp. */ com.google.protobuf.Timestamp getVoteTimestamp(); /** + *
+     * The time of vote.
+     * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; */ com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder(); /** + *
+     * Whether the vote had been withdrawn.
+     * 
+ * * bool is_withdrawn = 7; * @return The isWithdrawn. */ boolean getIsWithdrawn(); /** + *
+     * The option voted.
+     * 
+ * * string option = 8; * @return The option. */ java.lang.String getOption(); /** + *
+     * The option voted.
+     * 
+ * * string option = 8; * @return The bytes for option. */ @@ -4896,6 +5632,10 @@ public interface VotingRecordOrBuilder extends getOptionBytes(); /** + *
+     * Whether vote others.
+     * 
+ * * bool is_change_target = 9; * @return The isChangeTarget. */ @@ -4975,12 +5715,12 @@ private VotingRecord( } case 24: { - snapshotNumber_ = input.readSInt64(); + snapshotNumber_ = input.readInt64(); break; } case 32: { - amount_ = input.readSInt64(); + amount_ = input.readInt64(); break; } case 42: { @@ -5060,6 +5800,10 @@ private VotingRecord( public static final int VOTING_ITEM_ID_FIELD_NUMBER = 1; private io.aelf.protobuf.generated.Client.Hash votingItemId_; /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ @@ -5067,6 +5811,10 @@ public boolean hasVotingItemId() { return votingItemId_ != null; } /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ @@ -5074,6 +5822,10 @@ public io.aelf.protobuf.generated.Client.Hash getVotingItemId() { return votingItemId_ == null ? io.aelf.protobuf.generated.Client.Hash.getDefaultInstance() : votingItemId_; } /** + *
+     * The voting activity id.
+     * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder() { @@ -5083,6 +5835,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder( public static final int VOTER_FIELD_NUMBER = 2; private io.aelf.protobuf.generated.Client.Address voter_; /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 2; * @return Whether the voter field is set. */ @@ -5090,6 +5846,10 @@ public boolean hasVoter() { return voter_ != null; } /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 2; * @return The voter. */ @@ -5097,6 +5857,10 @@ public io.aelf.protobuf.generated.Client.Address getVoter() { return voter_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : voter_; } /** + *
+     * The address of voter.
+     * 
+ * * .Address voter = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { @@ -5106,7 +5870,11 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { public static final int SNAPSHOT_NUMBER_FIELD_NUMBER = 3; private long snapshotNumber_; /** - * sint64 snapshot_number = 3; + *
+     * The snapshot number.
+     * 
+ * + * int64 snapshot_number = 3; * @return The snapshotNumber. */ public long getSnapshotNumber() { @@ -5116,7 +5884,11 @@ public long getSnapshotNumber() { public static final int AMOUNT_FIELD_NUMBER = 4; private long amount_; /** - * sint64 amount = 4; + *
+     * The amount of vote.
+     * 
+ * + * int64 amount = 4; * @return The amount. */ public long getAmount() { @@ -5126,6 +5898,10 @@ public long getAmount() { public static final int WITHDRAW_TIMESTAMP_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp withdrawTimestamp_; /** + *
+     * The time of withdraw.
+     * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; * @return Whether the withdrawTimestamp field is set. */ @@ -5133,6 +5909,10 @@ public boolean hasWithdrawTimestamp() { return withdrawTimestamp_ != null; } /** + *
+     * The time of withdraw.
+     * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; * @return The withdrawTimestamp. */ @@ -5140,6 +5920,10 @@ public com.google.protobuf.Timestamp getWithdrawTimestamp() { return withdrawTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : withdrawTimestamp_; } /** + *
+     * The time of withdraw.
+     * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; */ public com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder() { @@ -5149,6 +5933,10 @@ public com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder() { public static final int VOTE_TIMESTAMP_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp voteTimestamp_; /** + *
+     * The time of vote.
+     * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; * @return Whether the voteTimestamp field is set. */ @@ -5156,6 +5944,10 @@ public boolean hasVoteTimestamp() { return voteTimestamp_ != null; } /** + *
+     * The time of vote.
+     * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; * @return The voteTimestamp. */ @@ -5163,6 +5955,10 @@ public com.google.protobuf.Timestamp getVoteTimestamp() { return voteTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : voteTimestamp_; } /** + *
+     * The time of vote.
+     * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; */ public com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder() { @@ -5172,6 +5968,10 @@ public com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder() { public static final int IS_WITHDRAWN_FIELD_NUMBER = 7; private boolean isWithdrawn_; /** + *
+     * Whether the vote had been withdrawn.
+     * 
+ * * bool is_withdrawn = 7; * @return The isWithdrawn. */ @@ -5182,6 +5982,10 @@ public boolean getIsWithdrawn() { public static final int OPTION_FIELD_NUMBER = 8; private volatile java.lang.Object option_; /** + *
+     * The option voted.
+     * 
+ * * string option = 8; * @return The option. */ @@ -5198,6 +6002,10 @@ public java.lang.String getOption() { } } /** + *
+     * The option voted.
+     * 
+ * * string option = 8; * @return The bytes for option. */ @@ -5218,6 +6026,10 @@ public java.lang.String getOption() { public static final int IS_CHANGE_TARGET_FIELD_NUMBER = 9; private boolean isChangeTarget_; /** + *
+     * Whether vote others.
+     * 
+ * * bool is_change_target = 9; * @return The isChangeTarget. */ @@ -5246,10 +6058,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, getVoter()); } if (snapshotNumber_ != 0L) { - output.writeSInt64(3, snapshotNumber_); + output.writeInt64(3, snapshotNumber_); } if (amount_ != 0L) { - output.writeSInt64(4, amount_); + output.writeInt64(4, amount_); } if (withdrawTimestamp_ != null) { output.writeMessage(5, getWithdrawTimestamp()); @@ -5285,11 +6097,11 @@ public int getSerializedSize() { } if (snapshotNumber_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, snapshotNumber_); + .computeInt64Size(3, snapshotNumber_); } if (amount_ != 0L) { size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(4, amount_); + .computeInt64Size(4, amount_); } if (withdrawTimestamp_ != null) { size += com.google.protobuf.CodedOutputStream @@ -5723,6 +6535,10 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> votingItemIdBuilder_; /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; * @return Whether the votingItemId field is set. */ @@ -5730,6 +6546,10 @@ public boolean hasVotingItemId() { return votingItemIdBuilder_ != null || votingItemId_ != null; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; * @return The votingItemId. */ @@ -5741,6 +6561,10 @@ public io.aelf.protobuf.generated.Client.Hash getVotingItemId() { } } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder setVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { @@ -5757,6 +6581,10 @@ public Builder setVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder setVotingItemId( @@ -5771,6 +6599,10 @@ public Builder setVotingItemId( return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder mergeVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { @@ -5789,6 +6621,10 @@ public Builder mergeVotingItemId(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public Builder clearVotingItemId() { @@ -5803,6 +6639,10 @@ public Builder clearVotingItemId() { return this; } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getVotingItemIdBuilder() { @@ -5811,6 +6651,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getVotingItemIdBuilder() { return getVotingItemIdFieldBuilder().getBuilder(); } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder() { @@ -5822,6 +6666,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder( } } /** + *
+       * The voting activity id.
+       * 
+ * * .Hash voting_item_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -5842,6 +6690,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getVotingItemIdOrBuilder( private com.google.protobuf.SingleFieldBuilderV3< io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> voterBuilder_; /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 2; * @return Whether the voter field is set. */ @@ -5849,6 +6701,10 @@ public boolean hasVoter() { return voterBuilder_ != null || voter_ != null; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 2; * @return The voter. */ @@ -5860,6 +6716,10 @@ public io.aelf.protobuf.generated.Client.Address getVoter() { } } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 2; */ public Builder setVoter(io.aelf.protobuf.generated.Client.Address value) { @@ -5876,6 +6736,10 @@ public Builder setVoter(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 2; */ public Builder setVoter( @@ -5890,6 +6754,10 @@ public Builder setVoter( return this; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 2; */ public Builder mergeVoter(io.aelf.protobuf.generated.Client.Address value) { @@ -5908,6 +6776,10 @@ public Builder mergeVoter(io.aelf.protobuf.generated.Client.Address value) { return this; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 2; */ public Builder clearVoter() { @@ -5922,6 +6794,10 @@ public Builder clearVoter() { return this; } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 2; */ public io.aelf.protobuf.generated.Client.Address.Builder getVoterBuilder() { @@ -5930,6 +6806,10 @@ public io.aelf.protobuf.generated.Client.Address.Builder getVoterBuilder() { return getVoterFieldBuilder().getBuilder(); } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 2; */ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { @@ -5941,6 +6821,10 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { } } /** + *
+       * The address of voter.
+       * 
+ * * .Address voter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -5959,14 +6843,22 @@ public io.aelf.protobuf.generated.Client.AddressOrBuilder getVoterOrBuilder() { private long snapshotNumber_ ; /** - * sint64 snapshot_number = 3; + *
+       * The snapshot number.
+       * 
+ * + * int64 snapshot_number = 3; * @return The snapshotNumber. */ public long getSnapshotNumber() { return snapshotNumber_; } /** - * sint64 snapshot_number = 3; + *
+       * The snapshot number.
+       * 
+ * + * int64 snapshot_number = 3; * @param value The snapshotNumber to set. * @return This builder for chaining. */ @@ -5977,7 +6869,11 @@ public Builder setSnapshotNumber(long value) { return this; } /** - * sint64 snapshot_number = 3; + *
+       * The snapshot number.
+       * 
+ * + * int64 snapshot_number = 3; * @return This builder for chaining. */ public Builder clearSnapshotNumber() { @@ -5989,14 +6885,22 @@ public Builder clearSnapshotNumber() { private long amount_ ; /** - * sint64 amount = 4; + *
+       * The amount of vote.
+       * 
+ * + * int64 amount = 4; * @return The amount. */ public long getAmount() { return amount_; } /** - * sint64 amount = 4; + *
+       * The amount of vote.
+       * 
+ * + * int64 amount = 4; * @param value The amount to set. * @return This builder for chaining. */ @@ -6007,7 +6911,11 @@ public Builder setAmount(long value) { return this; } /** - * sint64 amount = 4; + *
+       * The amount of vote.
+       * 
+ * + * int64 amount = 4; * @return This builder for chaining. */ public Builder clearAmount() { @@ -6021,6 +6929,10 @@ public Builder clearAmount() { private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> withdrawTimestampBuilder_; /** + *
+       * The time of withdraw.
+       * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; * @return Whether the withdrawTimestamp field is set. */ @@ -6028,6 +6940,10 @@ public boolean hasWithdrawTimestamp() { return withdrawTimestampBuilder_ != null || withdrawTimestamp_ != null; } /** + *
+       * The time of withdraw.
+       * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; * @return The withdrawTimestamp. */ @@ -6039,6 +6955,10 @@ public com.google.protobuf.Timestamp getWithdrawTimestamp() { } } /** + *
+       * The time of withdraw.
+       * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; */ public Builder setWithdrawTimestamp(com.google.protobuf.Timestamp value) { @@ -6055,6 +6975,10 @@ public Builder setWithdrawTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + *
+       * The time of withdraw.
+       * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; */ public Builder setWithdrawTimestamp( @@ -6069,6 +6993,10 @@ public Builder setWithdrawTimestamp( return this; } /** + *
+       * The time of withdraw.
+       * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; */ public Builder mergeWithdrawTimestamp(com.google.protobuf.Timestamp value) { @@ -6087,6 +7015,10 @@ public Builder mergeWithdrawTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + *
+       * The time of withdraw.
+       * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; */ public Builder clearWithdrawTimestamp() { @@ -6101,6 +7033,10 @@ public Builder clearWithdrawTimestamp() { return this; } /** + *
+       * The time of withdraw.
+       * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; */ public com.google.protobuf.Timestamp.Builder getWithdrawTimestampBuilder() { @@ -6109,6 +7045,10 @@ public com.google.protobuf.Timestamp.Builder getWithdrawTimestampBuilder() { return getWithdrawTimestampFieldBuilder().getBuilder(); } /** + *
+       * The time of withdraw.
+       * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; */ public com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder() { @@ -6120,6 +7060,10 @@ public com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder() { } } /** + *
+       * The time of withdraw.
+       * 
+ * * .google.protobuf.Timestamp withdraw_timestamp = 5; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -6140,6 +7084,10 @@ public com.google.protobuf.TimestampOrBuilder getWithdrawTimestampOrBuilder() { private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> voteTimestampBuilder_; /** + *
+       * The time of vote.
+       * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; * @return Whether the voteTimestamp field is set. */ @@ -6147,6 +7095,10 @@ public boolean hasVoteTimestamp() { return voteTimestampBuilder_ != null || voteTimestamp_ != null; } /** + *
+       * The time of vote.
+       * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; * @return The voteTimestamp. */ @@ -6158,6 +7110,10 @@ public com.google.protobuf.Timestamp getVoteTimestamp() { } } /** + *
+       * The time of vote.
+       * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; */ public Builder setVoteTimestamp(com.google.protobuf.Timestamp value) { @@ -6174,6 +7130,10 @@ public Builder setVoteTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + *
+       * The time of vote.
+       * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; */ public Builder setVoteTimestamp( @@ -6188,6 +7148,10 @@ public Builder setVoteTimestamp( return this; } /** + *
+       * The time of vote.
+       * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; */ public Builder mergeVoteTimestamp(com.google.protobuf.Timestamp value) { @@ -6206,6 +7170,10 @@ public Builder mergeVoteTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + *
+       * The time of vote.
+       * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; */ public Builder clearVoteTimestamp() { @@ -6220,6 +7188,10 @@ public Builder clearVoteTimestamp() { return this; } /** + *
+       * The time of vote.
+       * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; */ public com.google.protobuf.Timestamp.Builder getVoteTimestampBuilder() { @@ -6228,6 +7200,10 @@ public com.google.protobuf.Timestamp.Builder getVoteTimestampBuilder() { return getVoteTimestampFieldBuilder().getBuilder(); } /** + *
+       * The time of vote.
+       * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; */ public com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder() { @@ -6239,6 +7215,10 @@ public com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder() { } } /** + *
+       * The time of vote.
+       * 
+ * * .google.protobuf.Timestamp vote_timestamp = 6; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -6257,6 +7237,10 @@ public com.google.protobuf.TimestampOrBuilder getVoteTimestampOrBuilder() { private boolean isWithdrawn_ ; /** + *
+       * Whether the vote had been withdrawn.
+       * 
+ * * bool is_withdrawn = 7; * @return The isWithdrawn. */ @@ -6264,6 +7248,10 @@ public boolean getIsWithdrawn() { return isWithdrawn_; } /** + *
+       * Whether the vote had been withdrawn.
+       * 
+ * * bool is_withdrawn = 7; * @param value The isWithdrawn to set. * @return This builder for chaining. @@ -6275,6 +7263,10 @@ public Builder setIsWithdrawn(boolean value) { return this; } /** + *
+       * Whether the vote had been withdrawn.
+       * 
+ * * bool is_withdrawn = 7; * @return This builder for chaining. */ @@ -6287,6 +7279,10 @@ public Builder clearIsWithdrawn() { private java.lang.Object option_ = ""; /** + *
+       * The option voted.
+       * 
+ * * string option = 8; * @return The option. */ @@ -6303,6 +7299,10 @@ public java.lang.String getOption() { } } /** + *
+       * The option voted.
+       * 
+ * * string option = 8; * @return The bytes for option. */ @@ -6320,6 +7320,10 @@ public java.lang.String getOption() { } } /** + *
+       * The option voted.
+       * 
+ * * string option = 8; * @param value The option to set. * @return This builder for chaining. @@ -6335,6 +7339,10 @@ public Builder setOption( return this; } /** + *
+       * The option voted.
+       * 
+ * * string option = 8; * @return This builder for chaining. */ @@ -6345,6 +7353,10 @@ public Builder clearOption() { return this; } /** + *
+       * The option voted.
+       * 
+ * * string option = 8; * @param value The bytes for option to set. * @return This builder for chaining. @@ -6363,6 +7375,10 @@ public Builder setOptionBytes( private boolean isChangeTarget_ ; /** + *
+       * Whether vote others.
+       * 
+ * * bool is_change_target = 9; * @return The isChangeTarget. */ @@ -6370,6 +7386,10 @@ public boolean getIsChangeTarget() { return isChangeTarget_; } /** + *
+       * Whether vote others.
+       * 
+ * * bool is_change_target = 9; * @param value The isChangeTarget to set. * @return This builder for chaining. @@ -6381,6 +7401,10 @@ public Builder setIsChangeTarget(boolean value) { return this; } /** + *
+       * Whether vote others.
+       * 
+ * * bool is_change_target = 9; * @return This builder for chaining. */ @@ -6448,24 +7472,44 @@ public interface GetVotingRecordsInputOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ java.util.List getIdsList(); /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ io.aelf.protobuf.generated.Client.Hash getIds(int index); /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ int getIdsCount(); /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ java.util.List getIdsOrBuilderList(); /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ io.aelf.protobuf.generated.Client.HashOrBuilder getIdsOrBuilder( @@ -6565,12 +7609,20 @@ private GetVotingRecordsInput( public static final int IDS_FIELD_NUMBER = 1; private java.util.List ids_; /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ public java.util.List getIdsList() { return ids_; } /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ public java.util.List @@ -6578,18 +7630,30 @@ public java.util.List getIdsList() { return ids_; } /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ public int getIdsCount() { return ids_.size(); } /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ public io.aelf.protobuf.generated.Client.Hash getIds(int index) { return ids_.get(index); } /** + *
+     * The vote ids.
+     * 
+ * * repeated .Hash ids = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getIdsOrBuilder( @@ -6952,6 +8016,10 @@ private void ensureIdsIsMutable() { io.aelf.protobuf.generated.Client.Hash, io.aelf.protobuf.generated.Client.Hash.Builder, io.aelf.protobuf.generated.Client.HashOrBuilder> idsBuilder_; /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public java.util.List getIdsList() { @@ -6962,6 +8030,10 @@ public java.util.List getIdsList() { } } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public int getIdsCount() { @@ -6972,6 +8044,10 @@ public int getIdsCount() { } } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public io.aelf.protobuf.generated.Client.Hash getIds(int index) { @@ -6982,6 +8058,10 @@ public io.aelf.protobuf.generated.Client.Hash getIds(int index) { } } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public Builder setIds( @@ -6999,6 +8079,10 @@ public Builder setIds( return this; } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public Builder setIds( @@ -7013,6 +8097,10 @@ public Builder setIds( return this; } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public Builder addIds(io.aelf.protobuf.generated.Client.Hash value) { @@ -7029,6 +8117,10 @@ public Builder addIds(io.aelf.protobuf.generated.Client.Hash value) { return this; } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public Builder addIds( @@ -7046,6 +8138,10 @@ public Builder addIds( return this; } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public Builder addIds( @@ -7060,6 +8156,10 @@ public Builder addIds( return this; } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public Builder addIds( @@ -7074,6 +8174,10 @@ public Builder addIds( return this; } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public Builder addAllIds( @@ -7089,6 +8193,10 @@ public Builder addAllIds( return this; } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public Builder clearIds() { @@ -7102,6 +8210,10 @@ public Builder clearIds() { return this; } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public Builder removeIds(int index) { @@ -7115,6 +8227,10 @@ public Builder removeIds(int index) { return this; } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder getIdsBuilder( @@ -7122,6 +8238,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder getIdsBuilder( return getIdsFieldBuilder().getBuilder(index); } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public io.aelf.protobuf.generated.Client.HashOrBuilder getIdsOrBuilder( @@ -7132,6 +8252,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getIdsOrBuilder( } } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public java.util.List @@ -7143,6 +8267,10 @@ public io.aelf.protobuf.generated.Client.HashOrBuilder getIdsOrBuilder( } } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addIdsBuilder() { @@ -7150,6 +8278,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addIdsBuilder() { io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public io.aelf.protobuf.generated.Client.Hash.Builder addIdsBuilder( @@ -7158,6 +8290,10 @@ public io.aelf.protobuf.generated.Client.Hash.Builder addIdsBuilder( index, io.aelf.protobuf.generated.Client.Hash.getDefaultInstance()); } /** + *
+       * The vote ids.
+       * 
+ * * repeated .Hash ids = 1; */ public java.util.List @@ -7236,24 +8372,44 @@ public interface VotingRecordsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ java.util.List getRecordsList(); /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ io.aelf.protobuf.generated.VoteContract.VotingRecord getRecords(int index); /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ int getRecordsCount(); /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ java.util.List getRecordsOrBuilderList(); /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ io.aelf.protobuf.generated.VoteContract.VotingRecordOrBuilder getRecordsOrBuilder( @@ -7353,12 +8509,20 @@ private VotingRecords( public static final int RECORDS_FIELD_NUMBER = 1; private java.util.List records_; /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ public java.util.List getRecordsList() { return records_; } /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ public java.util.List @@ -7366,18 +8530,30 @@ public java.util.List getR return records_; } /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ public int getRecordsCount() { return records_.size(); } /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ public io.aelf.protobuf.generated.VoteContract.VotingRecord getRecords(int index) { return records_.get(index); } /** + *
+     * The voting records.
+     * 
+ * * repeated .VotingRecord records = 1; */ public io.aelf.protobuf.generated.VoteContract.VotingRecordOrBuilder getRecordsOrBuilder( @@ -7740,6 +8916,10 @@ private void ensureRecordsIsMutable() { io.aelf.protobuf.generated.VoteContract.VotingRecord, io.aelf.protobuf.generated.VoteContract.VotingRecord.Builder, io.aelf.protobuf.generated.VoteContract.VotingRecordOrBuilder> recordsBuilder_; /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public java.util.List getRecordsList() { @@ -7750,6 +8930,10 @@ public java.util.List getR } } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public int getRecordsCount() { @@ -7760,6 +8944,10 @@ public int getRecordsCount() { } } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public io.aelf.protobuf.generated.VoteContract.VotingRecord getRecords(int index) { @@ -7770,6 +8958,10 @@ public io.aelf.protobuf.generated.VoteContract.VotingRecord getRecords(int index } } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public Builder setRecords( @@ -7787,6 +8979,10 @@ public Builder setRecords( return this; } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public Builder setRecords( @@ -7801,6 +8997,10 @@ public Builder setRecords( return this; } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public Builder addRecords(io.aelf.protobuf.generated.VoteContract.VotingRecord value) { @@ -7817,6 +9017,10 @@ public Builder addRecords(io.aelf.protobuf.generated.VoteContract.VotingRecord v return this; } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public Builder addRecords( @@ -7834,6 +9038,10 @@ public Builder addRecords( return this; } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public Builder addRecords( @@ -7848,6 +9056,10 @@ public Builder addRecords( return this; } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public Builder addRecords( @@ -7862,6 +9074,10 @@ public Builder addRecords( return this; } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public Builder addAllRecords( @@ -7877,6 +9093,10 @@ public Builder addAllRecords( return this; } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public Builder clearRecords() { @@ -7890,6 +9110,10 @@ public Builder clearRecords() { return this; } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public Builder removeRecords(int index) { @@ -7903,6 +9127,10 @@ public Builder removeRecords(int index) { return this; } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public io.aelf.protobuf.generated.VoteContract.VotingRecord.Builder getRecordsBuilder( @@ -7910,6 +9138,10 @@ public io.aelf.protobuf.generated.VoteContract.VotingRecord.Builder getRecordsBu return getRecordsFieldBuilder().getBuilder(index); } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public io.aelf.protobuf.generated.VoteContract.VotingRecordOrBuilder getRecordsOrBuilder( @@ -7920,6 +9152,10 @@ public io.aelf.protobuf.generated.VoteContract.VotingRecordOrBuilder getRecordsO } } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public java.util.List @@ -7931,6 +9167,10 @@ public io.aelf.protobuf.generated.VoteContract.VotingRecordOrBuilder getRecordsO } } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public io.aelf.protobuf.generated.VoteContract.VotingRecord.Builder addRecordsBuilder() { @@ -7938,6 +9178,10 @@ public io.aelf.protobuf.generated.VoteContract.VotingRecord.Builder addRecordsBu io.aelf.protobuf.generated.VoteContract.VotingRecord.getDefaultInstance()); } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public io.aelf.protobuf.generated.VoteContract.VotingRecord.Builder addRecordsBuilder( @@ -7946,6 +9190,10 @@ public io.aelf.protobuf.generated.VoteContract.VotingRecord.Builder addRecordsBu index, io.aelf.protobuf.generated.VoteContract.VotingRecord.getDefaultInstance()); } /** + *
+       * The voting records.
+       * 
+ * * repeated .VotingRecord records = 1; */ public java.util.List @@ -8088,18 +9336,18 @@ public io.aelf.protobuf.generated.VoteContract.VotingRecords getDefaultInstanceF "\022\033\n\014active_votes\030\001 \003(\0132\005.Hash\022\036\n\017withdra" + "wn_votes\030\002 \003(\0132\005.Hash\"N\n\024GetVotingResult" + "Input\022\035\n\016voting_item_id\030\001 \001(\0132\005.Hash\022\027\n\017" + - "snapshot_number\030\002 \001(\022\"\311\002\n\014VotingResult\022\035" + + "snapshot_number\030\002 \001(\003\"\311\002\n\014VotingResult\022\035" + "\n\016voting_item_id\030\001 \001(\0132\005.Hash\022+\n\007results" + "\030\002 \003(\0132\032.VotingResult.ResultsEntry\022\027\n\017sn" + - "apshot_number\030\003 \001(\022\022\024\n\014voters_count\030\004 \001(" + - "\022\022<\n\030snapshot_start_timestamp\030\005 \001(\0132\032.go" + + "apshot_number\030\003 \001(\003\022\024\n\014voters_count\030\004 \001(" + + "\003\022<\n\030snapshot_start_timestamp\030\005 \001(\0132\032.go" + "ogle.protobuf.Timestamp\022:\n\026snapshot_end_" + "timestamp\030\006 \001(\0132\032.google.protobuf.Timest" + - "amp\022\024\n\014votes_amount\030\007 \001(\022\032.\n\014ResultsEntr" + - "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\022:\0028\001\"\233\002\n\014Vo" + + "amp\022\024\n\014votes_amount\030\007 \001(\003\032.\n\014ResultsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\"\233\002\n\014Vo" + "tingRecord\022\035\n\016voting_item_id\030\001 \001(\0132\005.Has" + "h\022\027\n\005voter\030\002 \001(\0132\010.Address\022\027\n\017snapshot_n" + - "umber\030\003 \001(\022\022\016\n\006amount\030\004 \001(\022\0226\n\022withdraw_" + + "umber\030\003 \001(\003\022\016\n\006amount\030\004 \001(\003\0226\n\022withdraw_" + "timestamp\030\005 \001(\0132\032.google.protobuf.Timest" + "amp\0222\n\016vote_timestamp\030\006 \001(\0132\032.google.pro" + "tobuf.Timestamp\022\024\n\014is_withdrawn\030\007 \001(\010\022\016\n" + diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/aedpos_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/aedpos_contract.proto index 9bbd0f0..44853f9 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/aedpos_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/aedpos_contract.proto @@ -4,18 +4,23 @@ option java_package = "io.aelf.protobuf.generated"; //aedpos_contract message MinerList { + // The miners public key list. repeated bytes pubkeys = 1; } message PubkeyList { + // The miners public key list. repeated string pubkeys = 1; } message MinerListWithRoundNumber { + // The list of miners. MinerList miner_list = 1; - sint64 round_number = 2; + // The round number. + int64 round_number = 2; } message GetMinerListInput { - sint64 term_number = 1; + // The term number. + int64 term_number = 1; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/association_auth_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/association_auth_contract.proto index 47e622e..dca618f 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/association_auth_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/association_auth_contract.proto @@ -6,14 +6,21 @@ option java_package = "io.aelf.protobuf.generated"; // association_auth_contract message Organization{ - int32 release_threshold = 1; - repeated Reviewer reviewers = 2; - int32 proposer_threshold = 3; + // The organization members. + OrganizationMemberList organization_member_list = 1; + // The threshold for releasing the proposal. + ProposalReleaseThreshold proposal_release_threshold = 2; + // The proposer whitelist. + ProposerWhiteList proposer_white_list = 3; + // The address of organization. Address organization_address = 4; + // The organizations id. Hash organization_hash = 5; + // The creation token is for organization address generation. + Hash creation_token = 6; } -message Reviewer { - Address address = 1; - int32 weight = 2; +message OrganizationMemberList { + // The address of organization members. + repeated Address organization_members = 1; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/basic_contract_zero.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/basic_contract_zero.proto deleted file mode 100644 index 5d89cc0..0000000 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/basic_contract_zero.proto +++ /dev/null @@ -1,10 +0,0 @@ -syntax = "proto3"; - -import "client.proto"; - -option java_package = "io.aelf.protobuf.generated"; - -//basic_contract_zero -message AddressList { - repeated Address value = 1; -} \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/client.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/client.proto index 5f16dc2..730f09e 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/client.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/client.proto @@ -38,103 +38,167 @@ message StatePath { } message SmartContractRegistration { - int32 category = 1; + sint32 category = 1; bytes code = 2; Hash code_hash = 3; + bool is_system_contract = 4; + int32 version = 5; } //acs0 message ContractInfo { - uint64 serial_number = 1; - int32 category = 3; + // The serial number of the contract. + int64 serial_number = 1; + // The author of the contract, this is the person who deployed the contract. + Address author = 2; + // The category of contract code(0: C#). + sint32 category = 3; + // The hash of the contract code. Hash code_hash = 4; + // Whether it is a system contract. bool is_system_contract = 5; + // The version of the current contract. + int32 version = 6; } //acs1 message MethodFees { + // The name of the method to be charged. string method_name = 1; + // List of fees to be charged. repeated MethodFee fees = 2; + bool is_size_fee_free = 3;// Optional based on the implementation of SetMethodFee method. } message MethodFee { + // The token symbol of the method fee. string symbol = 1; - sint64 basic_fee = 2; + // The amount of fees to be charged. + int64 basic_fee = 2; } //acs2 message ResourceInfo { - repeated ScopedStatePath paths = 1; - bool non_parallelizable = 2; + // The state path that depends on when writing. + repeated ScopedStatePath write_paths = 1; + // The state path that depends on when reading. + repeated ScopedStatePath read_paths = 2; + // Whether the transaction is not executed in parallel. + bool non_parallelizable = 3; } // acs3 message ProposalOutput { + // The id of the proposal. Hash proposal_id = 1; + // The method that this proposal will call when being released. string contract_method_name = 2; + // The address of the target contract. Address to_address = 3; + // The parameters of the release transaction. bytes params = 4; + // The date at which this proposal will expire. google.protobuf.Timestamp expired_time = 5; + // The address of this proposals organization. Address organization_address = 6; + // The address of the proposer of this proposal. Address proposer = 7; + // Indicates if this proposal is releasable. bool to_be_released = 8; + // Approval count for this proposal. + int64 approval_count = 9; + // Rejection count for this proposal. + int64 rejection_count = 10; + // Abstention count for this proposal. + int64 abstention_count = 11; +} + +message ProposalReleaseThreshold { + // The value for the minimum approval threshold. + int64 minimal_approval_threshold = 1; + // The value for the maximal rejection threshold. + int64 maximal_rejection_threshold = 2; + // The value for the maximal abstention threshold. + int64 maximal_abstention_threshold = 3; + // The value for the minimal vote threshold. + int64 minimal_vote_threshold = 4; +} + +message ProposerWhiteList{ + // The address of the proposers + repeated Address proposers = 1; } //acs4 message ValidationResult { + // Is successful. bool success = 1; + // The error message. string message = 2; + // Whether to trigger mining again. + bool is_re_trigger = 3; } //acs5 message MethodCallingThreshold { - map symbol_to_amount = 1;// The order matters. + // The threshold for method calling, token symbol -> amount. + map symbol_to_amount = 1; + // The type of threshold check. ThresholdCheckType threshold_check_type = 2; } enum ThresholdCheckType { + // Check balance only. BALANCE = 0; + // Check balance and allowance at the same time. ALLOWANCE = 1; } //acs7 -message SideChainIdAndHeightDict { - map id_height_dict = 1; -} - message SideChainIndexingInformationList { + // A list contains indexing information of side chains. repeated SideChainIndexingInformation indexing_information_list = 1; } message SideChainIndexingInformation { + // The side chain id. int32 chain_id = 1; + // The indexed height. int64 indexed_height = 2; - int64 to_be_indexed_count = 3; } message CrossChainBlockData { - repeated SideChainBlockData side_chain_block_data = 1; - repeated ParentChainBlockData parent_chain_block_data = 2; - int64 previous_block_height = 3; + // The side chain block data list to index. + repeated SideChainBlockData side_chain_block_data_list = 1; + // The parent chain block data list to index. + repeated ParentChainBlockData parent_chain_block_data_list = 2; } message SideChainBlockData { + // The height of side chain block. int64 height = 1; + // The hash of side chain block. Hash block_header_hash = 2; + // The merkle tree root computing from transactions status in side chain block. Hash transaction_status_merkle_tree_root = 3; + // The id of side chain. int32 chain_id = 4; } message ParentChainBlockData { + // The height of parent chain. int64 height = 1; + // The merkle tree root computing from side chain roots. CrossChainExtraData cross_chain_extra_data = 2; + // The parent chain id. int32 chain_id = 3; + // The merkle tree root computing from transactions status in parent chain block. Hash transaction_status_merkle_tree_root = 4; - // Indexed block height from side chain and merkle path for this side chain block map indexed_merkle_path = 5; + // Extra data map. map extra_data = 6; } @@ -143,21 +207,58 @@ message CrossChainExtraData { Hash transaction_status_merkle_tree_root = 1; } -message IndexedSideChainBlockData{ - repeated SideChainBlockData side_chain_block_data = 1; -} - message CrossChainMerkleProofContext { + // The height of parent chain bound up with side chain. int64 bound_parent_chain_height = 1; + // The merkle path generated from parent chain. MerklePath merkle_path_from_parent_chain = 2; } message ChainInitializationData { + // The id of side chain. int32 chain_id = 1; + // The side chain creator. Address creator = 2; + // The timestamp for side chain creation. google.protobuf.Timestamp creation_timestamp = 3; - repeated bytes extra_information = 4; - int64 creation_height_on_parent_chain = 5; - bool chain_creator_privilege_preserved = 6; - string side_chain_token_symbol = 7; + // The height of side chain creation on parent chain. + int64 creation_height_on_parent_chain = 4; + // Creator privilege boolean flag: True if chain creator privilege preserved, otherwise false. + bool chain_creator_privilege_preserved = 5; + // Parent chain token contract address. + Address parent_chain_token_contract_address = 6; + // Initial consensus information. + ChainInitializationConsensusInfo chain_initialization_consensus_info = 7; + // The native token info. + bytes native_token_info_data = 8; + // The resource token information. + ResourceTokenInfo resource_token_info = 9; + // The chain primary token information. + ChainPrimaryTokenInfo chain_primary_token_info = 10; } + +message ChainInitializationConsensusInfo { + // Initial consensus data. + bytes initial_consensus_data = 1; +} + +message ResourceTokenInfo { + // The resource token information. + bytes resource_token_list_data = 1; + // The initial resource token amount. + map initial_resource_amount = 2; +} + +message ChainPrimaryTokenInfo { + // The side chain primary token data. + bytes chain_primary_token_data = 1; + // The side chain primary token initial issue list. + repeated SideChainTokenInitialIssue side_chain_token_initial_issue_list = 2; +} + +message SideChainTokenInitialIssue { + // The account that will be issued. + Address address = 1; + // The amount that will be issued. + int64 amount = 2; +} \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/core.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/core.proto index 78e1b30..2283f96 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/core.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/core.proto @@ -1,6 +1,7 @@ syntax = "proto3"; option java_package = "io.aelf.protobuf.generated"; import "client.proto"; + message Transaction { Address from = 1; Address to = 2; @@ -18,8 +19,9 @@ enum TransactionResultStatus { PENDING = 1; FAILED = 2; MINED = 3; - UNEXECUTABLE = 4; - CONFLICT = 5; + CONFLICT = 4; + PENDING_VALIDATION = 5; + NODE_VALIDATION_FAILED = 6; } message TransactionResult { @@ -30,23 +32,9 @@ message TransactionResult { bytes return_value = 5; int64 block_number = 6; Hash block_hash = 7; - int32 index = 8; - Hash state_hash = 9; - // Merkle proof path for this transaction string error = 10; } -message TransactionFee { - map value = 1;// symbol -> amount - bool is_failed_to_charge = 2; -} - -message ConsumedResourceTokens { - map value = 1;// symbol -> amount - map owning = 2;// symbol -> amount - bool is_failed_to_charge = 3; -} - message LogEvent { Address address = 1; string name = 2; diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/cross_chain_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/cross_chain_contract.proto index 2b732a2..36c03f7 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/cross_chain_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/cross_chain_contract.proto @@ -6,8 +6,12 @@ import "client.proto"; //cross_chain_contract message VerifyTransactionInput { + // The cross chain transaction id to verify. Hash transaction_id = 1; + // The merkle path of the transaction. MerklePath path = 2; - sint64 parent_chain_height = 3; + // The height of parent chain that indexing this transaction. + int64 parent_chain_height = 3; + // The chain if to verify. int32 verified_chain_id = 4; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/election_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/election_contract.proto index e1d9779..8e94c24 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/election_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/election_contract.proto @@ -6,93 +6,142 @@ import "client.proto"; //election_contract message CandidateInformation { + // Candidate’s public key. string pubkey = 1; - repeated sint64 terms = 2; - sint64 produced_blocks = 3; - sint64 missed_time_slots = 4; - sint64 continual_appointment_count = 5; + // The number of terms that the candidate is elected. + repeated int64 terms = 2; + // The number of blocks the candidate has produced. + int64 produced_blocks = 3; + // The time slot for which the candidate failed to produce blocks. + int64 missed_time_slots = 4; + // The count of continual appointment. + int64 continual_appointment_count = 5; + // The transaction id when the candidate announced. Hash announcement_transaction_id = 6; + // Indicate whether the candidate can be elected in the current term. bool is_current_candidate = 7; } message GetTermSnapshotInput { - sint64 term_number = 1; + // The term number. + int64 term_number = 1; } message TermSnapshot { - sint64 end_round_number = 1; - sint64 mined_blocks = 2; - map election_result = 3; + // The end round number of this term. + int64 end_round_number = 1; + // The number of blocks mined in this term. + int64 mined_blocks = 2; + // The election result, candidates’ public key -> number of votes. + map election_result = 3; } message GetElectionResultInput { - sint64 term_number = 1; + // The term number. + int64 term_number = 1; } message ElectionResult { - sint64 term_number = 1; - map results = 2; + // The term number + int64 term_number = 1; + // The election result, candidates’ public key -> number of votes. + map results = 2; + // Whether an election is currently being held. bool is_active = 3; } message ElectorVote { - repeated Hash active_voting_record_ids = 1;// Not withdrawn. + // The active voting record ids. + repeated Hash active_voting_record_ids = 1; + // The voting record ids that were withdrawn. repeated Hash withdrawn_voting_record_ids = 2; - sint64 active_voted_votes_amount = 3; - sint64 all_voted_votes_amount = 4; + // The total number of active votes. + int64 active_voted_votes_amount = 3; + // The total number of votes (including the number of votes withdrawn). + int64 all_voted_votes_amount = 4; + // The active voting records. repeated ElectionVotingRecord active_voting_records = 5; + // The voting records that were withdrawn. repeated ElectionVotingRecord withdrawn_votes_records = 6; + // Public key for voter. bytes pubkey = 7; } message ElectionVotingRecord { + // The address of voter. Address voter = 1; + // The public key of candidate. string candidate = 2; - sint64 amount = 3; - sint64 term_number = 4; + // Amount of voting. + int64 amount = 3; + // The term number of voting. + int64 term_number = 4; + // The vote id. Hash vote_id = 5; - sint64 lock_time = 7; - google.protobuf.Timestamp unlock_timestamp = 10; - google.protobuf.Timestamp withdraw_timestamp = 11; - google.protobuf.Timestamp vote_timestamp = 12; - bool is_withdrawn = 13; - sint64 weight = 14; - bool is_change_target = 15; + // Vote lock time. + int64 lock_time = 6; + // The unlock timestamp. + google.protobuf.Timestamp unlock_timestamp = 7; + // The withdraw timestamp. + google.protobuf.Timestamp withdraw_timestamp = 8; + // The vote timestamp. + google.protobuf.Timestamp vote_timestamp = 9; + // Indicates if the vote has been withdrawn. + bool is_withdrawn = 10; + // Vote weight for sharing bonus. + int64 weight = 11; + // Whether vote others. + bool is_change_target = 12; } message CandidateVote { + // The active voting record ids obtained. repeated Hash obtained_active_voting_record_ids = 1; + // The active voting record ids that were withdrawn. repeated Hash obtained_withdrawn_voting_record_ids = 2; - sint64 obtained_active_voted_votes_amount = 3; - sint64 all_obtained_voted_votes_amount = 4; + // The total number of active votes obtained. + int64 obtained_active_voted_votes_amount = 3; + // The total number of votes obtained. + int64 all_obtained_voted_votes_amount = 4; + // The active voting records. repeated ElectionVotingRecord obtained_active_voting_records = 5; + // The voting records that were withdrawn. repeated ElectionVotingRecord obtained_withdrawn_votes_records = 6; + // Public key for candidate. bytes pubkey = 7; } message GetWelfareRewardAmountSampleInput { - repeated sint64 value = 1; + // Token lock time. + repeated int64 value = 1; } message GetWelfareRewardAmountSampleOutput { - repeated sint64 value = 1; + // The weight calculated. + repeated int64 value = 1; } message PageInformation { - sint32 start = 1; - sint32 length = 2; + // The start index. + int32 start = 1; + // The number of records. + int32 length = 2; } message CandidateDetail { + // The candidate information. CandidateInformation candidate_information = 1; - sint64 obtained_votes_amount = 2; + // The number of votes a candidate has obtained. + int64 obtained_votes_amount = 2; } message GetPageableCandidateInformationOutput { + // The details of the candidates. repeated CandidateDetail value = 1; } message DataCenterRankingList { - map data_centers = 1; - sint64 minimum_votes = 2; + // The top n * 5 candidates with vote amount, candidate public key -> vote amount. + map data_centers = 1; + int64 minimum_votes = 2; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/parliament_auth_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/parliament_auth_contract.proto index 01c97f5..f3f7096 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/parliament_auth_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/parliament_auth_contract.proto @@ -5,11 +5,21 @@ option java_package = "io.aelf.protobuf.generated"; //parliament_auth message ProposalIdList{ + // The list of proposal ids. repeated Hash proposal_ids = 1; } message Organization { - sint32 release_threshold = 1; + // Indicates if proposals need authority to be created. + bool proposer_authority_required = 1; + // The organization address. Address organization_address = 2; + // The organization id. Hash organization_hash = 3; + // The threshold for releasing the proposal. + ProposalReleaseThreshold proposal_release_threshold = 4; + // Indicates if parliament member can propose to this organization. + bool parliament_member_proposing_allowed = 5; + // The creation token is for organization address generation. + Hash creation_token = 6; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/profit_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/profit_contract.proto index 80b70f1..7e56116 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/profit_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/profit_contract.proto @@ -5,61 +5,93 @@ option java_package = "io.aelf.protobuf.generated"; //profit_contract message CreatedSchemeIds { + // The scheme ids. repeated Hash scheme_ids = 1; } message GetManagingSchemeIdsInput { + // The manager address. Address manager = 1; } message SchemeBeneficiaryShare { + // The id of the sub scheme. Hash scheme_id = 1; - sint64 shares = 2; + // The weight of the sub scheme. + int64 shares = 2; } message Scheme { + // The virtual address of the scheme. Address virtual_address = 1; - sint64 total_shares = 2; - map undistributed_profits = 3;// token symbol -> amount - sint64 current_period = 4; + // The total weight of the scheme. + int64 total_shares = 2; + // The manager of the scheme. + Address manager = 3; + // The current period. + int64 current_period = 4; + // Sub schemes information. repeated SchemeBeneficiaryShare sub_schemes = 5; - sint64 profit_receiving_due_period_count = 7; + // Whether you can directly remove the beneficiary. + bool can_remove_beneficiary_directly = 6; + // Period of profit distribution. + int64 profit_receiving_due_period_count = 7; + // Whether all the schemes balance will be distributed during distribution each period. bool is_release_all_balance_every_time_by_default = 8; + // The is of the scheme. Hash scheme_id = 9; - sint32 delay_distribute_period_count = 10; - map cached_delay_total_shares = 11;// period -> total shares, max elements count should be delay_distribute_period_count - Address manager = 12; + // Delay distribute period. + int32 delay_distribute_period_count = 10; + // Record the scheme's current total share for deferred distribution of benefits, period -> total shares. + map cached_delay_total_shares = 11; + // The received token symbols. + repeated string received_token_symbols = 12; } message SchemePeriod { + // The scheme id. Hash scheme_id = 1; - sint64 period = 2; + // The period number. + int64 period = 2; } message DistributedProfitsInfo { - sint64 total_shares = 1; - map profits_amount = 2; + // The total amount of shares in this scheme at the current period. + int64 total_shares = 1; + // The contributed amount in this scheme at the current period. + map amounts_map = 2; + // Whether released. bool is_released = 3; } message GetProfitDetailsInput { + // The scheme id. Hash scheme_id = 1; + // The address of beneficiary. Address beneficiary = 2; } message ProfitDetails { + // The profit information. repeated ProfitDetail details = 1; } message ProfitDetail { - sint64 start_period = 1; - sint64 end_period = 2; - sint64 shares = 3; - sint64 last_profit_period = 4; + // The start period number. + int64 start_period = 1; + // The end period number. + int64 end_period = 2; + // The weight of the proceeds on the current period of the scheme. + int64 shares = 3; + // The last period number that the beneficiary received the profit. + int64 last_profit_period = 4; + // Whether the weight has been removed. bool is_weight_removed = 5; } message ClaimProfitsInput { + // The scheme id. Hash scheme_id = 1; - string symbol = 2; + // The address of beneficiary. + Address beneficiary = 2; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/referendum_auth_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/referendum_auth_contract.proto index 6f84781..1174280 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/referendum_auth_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/referendum_auth_contract.proto @@ -4,8 +4,16 @@ import "client.proto"; option java_package = "io.aelf.protobuf.generated"; message Organization { - int64 release_threshold = 1; + // The threshold for releasing the proposal. + ProposalReleaseThreshold proposal_release_threshold = 1; + // The token used during proposal operations. string token_symbol = 2; + // The address of organization. Address organization_address = 3; + // The organizations id. Hash organization_hash = 4; + // The proposer whitelist. + ProposerWhiteList proposer_white_list = 5; + // The creation token is for organization address generation. + Hash creation_token = 6; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/resource_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/resource_contract.proto deleted file mode 100644 index 279cb7e..0000000 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/resource_contract.proto +++ /dev/null @@ -1,29 +0,0 @@ -syntax = "proto3"; - -import "client.proto"; -option java_package = "io.aelf.protobuf.generated"; - -message ResourceId { - ResourceType type = 1; -} - -enum ResourceType { - UNDEFINED_RESOURCE_TYPE = 0; - RAM = 1; - CPU = 2; - NET = 3; - STO = 4; -} - -message Converter { - sint64 res_balance = 1; - sint64 elf_balance = 2; - sint64 res_weight = 3; // Weight based on MAX of 1,000,000 - sint64 elf_weight = 4; // Weight based on MAX of 1,000,000 - ResourceType type = 5; -} - -message UserResourceId { - Address address = 1; - ResourceType type = 2; -} \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/toekn_converter_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/toekn_converter_contract.proto index 49fca4b..e47fb25 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/toekn_converter_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/toekn_converter_contract.proto @@ -3,13 +3,23 @@ option java_package = "io.aelf.protobuf.generated"; //token converter message TokenSymbol { + // The token symbol. string symbol = 1; } message Connector { + // The token symbol. string symbol = 1; - sint64 virtual_balance = 2; + // The virtual balance for base token. + int64 virtual_balance = 2; + // The calculated weight value for this Connector. string weight = 3; - bool is_virtual_balance_enabled = 4; // true if virtual balance is enabled, false if not + // Whether to use Virtual Balance. + bool is_virtual_balance_enabled = 4; + // Whether the connector is enabled. bool is_purchase_enabled = 5; + // Indicates its related connector, the pair connector includes a new created token connector and the base token connector. + string related_symbol = 6; + // Indicates if the connector is base token connector. + bool is_deposit_account = 7; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/token_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/token_contract.proto index dca29bc..063ac6c 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/token_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/token_contract.proto @@ -5,80 +5,108 @@ option java_package = "io.aelf.protobuf.generated"; //tokenContract message TokenInfo { + // The symbol of the token.f string symbol = 1; - string tokenName = 2; - sint64 supply = 3; - sint64 totalSupply = 4; - sint32 decimals = 5; + // The full name of the token. + string token_name = 2; + // The current supply of the token. + int64 supply = 3; + // The total supply of the token. + int64 total_supply = 4; + // The precision of the token. + int32 decimals = 5; + // The address that created the token. Address issuer = 6; + // A flag indicating if this token is burnable. bool is_burnable = 7; - bool is_transfer_disabled = 8; - sint32 issue_chain_id = 9; - sint64 burned = 10; + // The chain id of the token. + int32 issue_chain_id = 8; + // The amount of issued tokens. + int64 issued = 9; } message GetTokenInfoInput { + // The symbol of token. string symbol = 1; } message TokenInfoList { + // List of token information. repeated TokenInfo value = 1; } message GetBalanceInput { + // The symbol of token. string symbol = 1; + // The target address of the query. Address owner = 2; } message GetBalanceOutput { + // The symbol of token. string symbol = 1; + // The target address of the query. Address owner = 2; - sint64 balance = 3; + // The balance of the owner. + int64 balance = 3; } message GetAllowanceInput { + // The symbol of token. string symbol = 1; + // The address of the token owner. Address owner = 2; + // The address of the spender. Address spender = 3; } message GetAllowanceOutput { + // The symbol of token. string symbol = 1; + // The address of the token owner. Address owner = 2; + // The address of the spender. Address spender = 3; - sint64 allowance = 4; + // The amount of allowance. + int64 allowance = 4; } message IsInWhiteListInput { + // The symbol of token. string symbol = 1; + // The address to check. Address address = 2; } -message ProfitReceivingInformation { - Address contract_address = 1; - Address profit_receiver_address = 2; - sint32 donation_parts_per_hundred = 3; -} - message GetLockedAmountInput { + // The address of the lock. Address address = 1; - string symbol = 3; - Hash lock_id = 4; + // The token symbol. + string symbol = 2; + // The id of the lock. + Hash lock_id = 3; } message GetLockedAmountOutput { + // The address of the lock. Address address = 1; - string symbol = 3; - Hash lock_id = 4; - sint64 amount = 5; + // The token symbol. + string symbol = 2; + // The id of the lock. + Hash lock_id = 3; + // The locked amount. + int64 amount = 4; } message GetVirtualAddressForLockingInput { + // The address of the lock. Address address = 1; - Hash lock_id = 3; + // The id of the lock. + Hash lock_id = 2; } message GetCrossChainTransferTokenContractAddressInput { + // The chain id. int32 chainId = 1; } diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto index 4084af8..bf437d8 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/transaction_fee.proto @@ -8,23 +8,25 @@ message TransactionSizeFeeSymbols message TransactionSizeFeeSymbol { string token_symbol = 1; - sint32 base_token_weight = 2; - sint32 added_token_weight = 3; + int32 base_token_weight = 2; + int32 added_token_weight = 3; } // Events message TransactionFeeCharged { string symbol = 1; - sint64 amount = 2; + int64 amount = 2; } message ResourceTokenCharged { string symbol = 1; - sint64 amount = 2; + int64 amount = 2; + Address contract_address = 3; } message ResourceTokenOwned { string symbol = 1; - sint64 amount = 2; + int64 amount = 2; + Address contract_address = 3; } \ No newline at end of file diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/vote_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/vote_contract.proto index 1066b74..c8950e8 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/vote_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/vote_contract.proto @@ -5,49 +5,73 @@ import "google/protobuf/timestamp.proto"; option java_package = "io.aelf.protobuf.generated"; message GetVotingItemInput { + // The voting activity id. Hash voting_item_id = 1; } message VotedItems { + // The voted ids. map voted_item_vote_ids = 1; } message VotedIds { + // The active vote ids. repeated Hash active_votes = 1; + // The withdrawn vote ids. repeated Hash withdrawn_votes = 2; } message GetVotingResultInput { + // The voting activity id. Hash voting_item_id = 1; - sint64 snapshot_number = 2; + // The snapshot number. + int64 snapshot_number = 2; } message VotingResult { + // The voting activity id. Hash voting_item_id = 1; - map results = 2; // option -> amount - sint64 snapshot_number = 3; - sint64 voters_count = 4; + // The voting result, option -> amount of votes, + map results = 2; + // The snapshot number. + int64 snapshot_number = 3; + // The total number of voters. + int64 voters_count = 4; + // The start time of this snapshot. google.protobuf.Timestamp snapshot_start_timestamp = 5; + // The end time of this snapshot. google.protobuf.Timestamp snapshot_end_timestamp = 6; - sint64 votes_amount = 7; + // Total votes received during the process of this snapshot. + int64 votes_amount = 7; } message VotingRecord { + // The voting activity id. Hash voting_item_id = 1; + // The address of voter. Address voter = 2; - sint64 snapshot_number = 3; - sint64 amount = 4; + // The snapshot number. + int64 snapshot_number = 3; + // The amount of vote. + int64 amount = 4; + // The time of withdraw. google.protobuf.Timestamp withdraw_timestamp = 5; + // The time of vote. google.protobuf.Timestamp vote_timestamp = 6; + // Whether the vote had been withdrawn. bool is_withdrawn = 7; + // The option voted. string option = 8; + // Whether vote others. bool is_change_target = 9; } message GetVotingRecordsInput { + // The vote ids. repeated Hash ids = 1; } message VotingRecords { + // The voting records. repeated VotingRecord records = 1; } diff --git a/scripts/aelf-node/start-mac.sh b/scripts/aelf-node/start-mac.sh index 6625adb..34fddef 100644 --- a/scripts/aelf-node/start-mac.sh +++ b/scripts/aelf-node/start-mac.sh @@ -3,7 +3,7 @@ brew services start redis brew install unzip mkdir -p ~/.local/share/aelf/keys cd ../../ -wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-preview1/aelf.zip && unzip aelf.zip +wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip && unzip aelf.zip cp scripts/aelf-node/keys/SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM.json ~/.local/share/aelf/keys/ cp scripts/aelf-node/app* aelf/ echo "start node" diff --git a/scripts/aelf-node/start-window.ps1 b/scripts/aelf-node/start-window.ps1 index a74fe35..4fa5fce 100644 --- a/scripts/aelf-node/start-window.ps1 +++ b/scripts/aelf-node/start-window.ps1 @@ -4,7 +4,7 @@ $job1 = Start-Job -ScriptBlock { cd D:\a\1\s\redis; .\redis-server.exe; } sleep 30 mkdir -p C:\Users\VssAdministrator\AppData\Local\aelf\keys cp -r scripts\aelf-node\keys\* C:\Users\VssAdministrator\AppData\Local\aelf\keys; -wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-preview1/aelf.zip -OutFile aelf.zip ; +wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip -OutFile aelf.zip ; Expand-Archive -Path aelf.zip -DestinationPath aelf ; cp scripts\aelf-node\appsettings.json aelf\aelf\appsettings.json ; cp scripts\aelf-node\appsettings.MainChain.TestNet.json aelf\aelf\appsettings.MainChain.TestNet.json ; diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index d740f33..661c2a3 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -5,7 +5,7 @@ sudo sed -i "s/127.0.0.1/$ip/g" appsettings.json sudo apt update && apt install unzip sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys cd ../../ -wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-preview1/aelf.zip +wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip sudo unzip aelf.zip sudo mkdir -p aelf/aelf/keys sudo cp scripts/aelf-node/keys/*.json aelf/aelf/keys/ From 48bdaf314396240b7e2dcad70444fbcff0dfb5b3 Mon Sep 17 00:00:00 2001 From: zhxymh Date: Tue, 1 Dec 2020 17:14:28 +0800 Subject: [PATCH 15/56] fix method name --- AElfClient/src/main/java/io/aelf/sdk/AElfClient.java | 4 ++-- AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java | 4 ++-- .../src/main/java/io/aelf/test/BlockChainSdkTest.java | 4 ++-- README.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java index 5fc1c9f..0f9cbef 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java +++ b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java @@ -147,8 +147,8 @@ public ChainstatusDto getChainStatus() throws Exception { /** * Get the protobuf definitions related to a contract /api/blockChain/contractFileDescriptorSet. */ - public byte[] getContractFilCeDescriptorSet(String address) throws Exception { - return this.getBlockChainSdkObj().getContractFilCeDescriptorSet(address); + public byte[] getContractFileDescriptorSet(String address) throws Exception { + return this.getBlockChainSdkObj().getContractFileDescriptorSet(address); } /** diff --git a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java index 216e1f5..c812365 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java @@ -175,13 +175,13 @@ public ChainstatusDto getChainStatus() throws Exception { /** * Get the protobuf definitions related to a contract /api/blockChain/contractFileDescriptorSet. */ - public byte[] getContractFilCeDescriptorSet(String address) throws Exception { + public byte[] getContractFileDescriptorSet(String address) throws Exception { String url = this.AElfClientUrl + WA_GETCFCRIPTORSET + "?address=" + address; String chainContext = HttpUtilExt.sendGet(url, "UTF-8", this.version); if (chainContext.startsWith("\"") && chainContext.endsWith("\"")) { return chainContext.getBytes(); } else { - throw new RuntimeException("getContractFilCeDescriptorSet body Exception"); + throw new RuntimeException("getContractFileDescriptorSet body Exception"); } } diff --git a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java index 594710e..f3634bf 100644 --- a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java +++ b/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java @@ -204,7 +204,7 @@ public void getChainStatusTest() throws Exception { } @Test - public void getContractFilCeDescriptorSetTest() throws Exception { + public void getContractFileDescriptorSetTest() throws Exception { long blockHeight = client.getBlockHeight(); Assert.assertTrue(blockHeight > 0); BlockDto blockDto = client.getBlockByHeight(blockHeight, false); @@ -212,7 +212,7 @@ public void getContractFilCeDescriptorSetTest() throws Exception { .getTransactionResults(blockDto.getBlockHash(), 0, 10); for (TransactionResultDto transactionResultDtoObj : transactionResultDtoList) { client - .getContractFilCeDescriptorSet(transactionResultDtoObj.getTransaction().getTo()); + .getContractFileDescriptorSet(transactionResultDtoObj.getTransaction().getTo()); } } diff --git a/README.md b/README.md index 4c2a9b0..a8651c3 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ public BlockStateDto getBlockState(String blockHash) throws Exception; public ChainstatusDto getChainStatus() throws Exception; -public byte[] getContractFilCeDescriptorSet(String address) throws Exception; +public byte[] getContractFileDescriptorSet(String address) throws Exception; public List getTaskQueueStatus() throws Exception; From 0430e37b49853b6f7440ba2748b27401cb0192d2 Mon Sep 17 00:00:00 2001 From: zhxymh Date: Tue, 1 Dec 2020 19:40:21 +0800 Subject: [PATCH 16/56] fix unit test --- AElfClient/pom.xml | 17 +++ .../main/java/io/aelf/utils/ClientUtil.java | 22 ++-- .../main/java/io/aelf/utils/HttpUtilExt.java | 12 +- .../java/io/aelf/sdk}/BlockChainSdkTest.java | 2 +- .../test/java/io/aelf/sdk}/NetSdkTest.java | 2 +- .../src/test}/resources/junit-4.12.jar | Bin .../src/test}/resources/junit.bat | 0 .../src/test}/resources/junit.sh | 0 .../src/test}/resources/log4j2.xml | 0 AElfClientTest/pom.xml | 105 ------------------ build.sh | 9 +- pom.xml | 1 - 12 files changed, 38 insertions(+), 132 deletions(-) rename {AElfClientTest/src/main/java/io/aelf/test => AElfClient/src/test/java/io/aelf/sdk}/BlockChainSdkTest.java (99%) rename {AElfClientTest/src/main/java/io/aelf/test => AElfClient/src/test/java/io/aelf/sdk}/NetSdkTest.java (98%) rename {AElfClientTest/src/main => AElfClient/src/test}/resources/junit-4.12.jar (100%) rename {AElfClientTest/src/main => AElfClient/src/test}/resources/junit.bat (100%) rename {AElfClientTest/src/main => AElfClient/src/test}/resources/junit.sh (100%) rename {AElfClientTest/src/main => AElfClient/src/test}/resources/log4j2.xml (100%) delete mode 100644 AElfClientTest/pom.xml diff --git a/AElfClient/pom.xml b/AElfClient/pom.xml index 33c48fb..f55510e 100644 --- a/AElfClient/pom.xml +++ b/AElfClient/pom.xml @@ -21,6 +21,7 @@ 1.60 0.14.3 3.11.1 + 4.12 @@ -73,6 +74,22 @@ protobuf-java ${protobuf-java.version} + + junit + junit + ${junit.version} + test + + + org.slf4j + slf4j-api + 1.7.25 + + + org.slf4j + slf4j-simple + 1.7.25 + diff --git a/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java b/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java index e60c243..0ad420d 100644 --- a/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java +++ b/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java @@ -84,13 +84,13 @@ public static String sendGet(String reqUrl, String decodeCharset, String content if (200 != response.getStatusLine().getStatusCode()) { responseContent = "@ERROR:@" + responseContent; } - logger.info("Request address:" + httpGet.getURI()); - logger.info("Response status:" + response.getStatusLine()); - logger.info("Response length:" + responseLength); - logger.info("Response content:" + responseContent); + logger.debug("Request address:" + httpGet.getURI()); + logger.debug("Response status:" + response.getStatusLine()); + logger.debug("Response length:" + responseLength); + logger.debug("Response content:" + responseContent); } catch (Exception ex) { responseContent = "@ERROR:@" + ex.getMessage(); - logger.info("sendGet Exception:", ex); + logger.debug("sendGet Exception:", ex); } finally { httpClient.getConnectionManager().shutdown(); } @@ -129,12 +129,12 @@ public static String sendDelete(String reqUrl, String decodeCharset, String cont responseContent = "@ERROR:@" + responseContent; } - logger.info("Request address:" + httpDelete.getURI()); - logger.info("Response status:" + response.getStatusLine()); - logger.info("Response length:" + responseLength); - logger.info("Response content:" + responseContent); + logger.debug("Request address:" + httpDelete.getURI()); + logger.debug("Response status:" + response.getStatusLine()); + logger.debug("Response length:" + responseLength); + logger.debug("Response content:" + responseContent); } catch (Exception ex) { - logger.info("sendDelete Exception:", ex); + logger.error("sendDelete Exception:", ex); responseContent = "@ERROR:@" + ex.getMessage(); } finally { httpClient.getConnectionManager().shutdown(); @@ -178,7 +178,7 @@ public static String sendPost(String reqUrl, String param, String encodeCharset, responseContent = "@ERROR:@" + responseContent; } } catch (Exception ex) { - logger.info("sendPost Exception:", ex); + logger.error("sendPost Exception:", ex); responseContent = "@ERROR:@" + ex.getMessage(); } finally { httpClient.getConnectionManager().shutdown(); diff --git a/AElfClient/src/main/java/io/aelf/utils/HttpUtilExt.java b/AElfClient/src/main/java/io/aelf/utils/HttpUtilExt.java index 167be84..7c4f41a 100644 --- a/AElfClient/src/main/java/io/aelf/utils/HttpUtilExt.java +++ b/AElfClient/src/main/java/io/aelf/utils/HttpUtilExt.java @@ -12,7 +12,7 @@ public class HttpUtilExt { */ public static String sendGet(String reqUrl, String decodeCharset, String version) throws Exception { - logger.info("Request address:" + reqUrl); + logger.debug("Request address:" + reqUrl); if (StringUtil.isBlank(version)) { version = ""; } else { @@ -23,7 +23,7 @@ public static String sendGet(String reqUrl, chainContext = chainContext.replace("@ERROR:@", ""); throw new RuntimeException(chainContext); } - logger.info("Return parameters:" + chainContext); + logger.debug("Return parameters:" + chainContext); return chainContext; } @@ -31,7 +31,7 @@ public static String sendGet(String reqUrl, * HTTP DELETE Request help method. */ public static String sendDelete(String reqUrl, String decodeCharset, String version) { - logger.info("Request address:" + reqUrl); + logger.debug("Request address:" + reqUrl); if (StringUtil.isBlank(version)) { version = ""; } else { @@ -39,7 +39,7 @@ public static String sendDelete(String reqUrl, String decodeCharset, String vers } String chainContext = ClientUtil .sendDelete(reqUrl, decodeCharset, "application/json" + version); - logger.info("Return parameters:" + chainContext); + logger.debug("Return parameters:" + chainContext); return chainContext; } @@ -52,14 +52,14 @@ public static String sendPost(String reqUrl, String params, String version) thro } else { version = ";v=" + version; } - logger.info("Request address:" + reqUrl); + logger.debug("Request address:" + reqUrl); String chainContext = ClientUtil .sendPost(reqUrl, params, "UTF-8", "UTF-8", "application/json" + version); if (StringUtil.toString(chainContext).length() > 0 && chainContext.contains("@ERROR:@")) { chainContext = chainContext.replace("@ERROR:@", ""); throw new RuntimeException(chainContext); } - logger.info("Return parameters:" + chainContext); + logger.debug("Return parameters:" + chainContext); return chainContext; } } diff --git a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java similarity index 99% rename from AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java rename to AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index f3634bf..0c08a4b 100644 --- a/AElfClientTest/src/main/java/io/aelf/test/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -1,4 +1,4 @@ -package io.aelf.test; +package io.aelf.sdk; import com.google.protobuf.ByteString; import io.aelf.protobuf.generated.Core; diff --git a/AElfClientTest/src/main/java/io/aelf/test/NetSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java similarity index 98% rename from AElfClientTest/src/main/java/io/aelf/test/NetSdkTest.java rename to AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java index f013eea..df236b9 100644 --- a/AElfClientTest/src/main/java/io/aelf/test/NetSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java @@ -1,4 +1,4 @@ -package io.aelf.test; +package io.aelf.sdk; import io.aelf.schemas.AddPeerInput; import io.aelf.schemas.PeerDto; diff --git a/AElfClientTest/src/main/resources/junit-4.12.jar b/AElfClient/src/test/resources/junit-4.12.jar similarity index 100% rename from AElfClientTest/src/main/resources/junit-4.12.jar rename to AElfClient/src/test/resources/junit-4.12.jar diff --git a/AElfClientTest/src/main/resources/junit.bat b/AElfClient/src/test/resources/junit.bat similarity index 100% rename from AElfClientTest/src/main/resources/junit.bat rename to AElfClient/src/test/resources/junit.bat diff --git a/AElfClientTest/src/main/resources/junit.sh b/AElfClient/src/test/resources/junit.sh similarity index 100% rename from AElfClientTest/src/main/resources/junit.sh rename to AElfClient/src/test/resources/junit.sh diff --git a/AElfClientTest/src/main/resources/log4j2.xml b/AElfClient/src/test/resources/log4j2.xml similarity index 100% rename from AElfClientTest/src/main/resources/log4j2.xml rename to AElfClient/src/test/resources/log4j2.xml diff --git a/AElfClientTest/pom.xml b/AElfClientTest/pom.xml deleted file mode 100644 index e97c823..0000000 --- a/AElfClientTest/pom.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - 4.0.0 - - io.aelf - aelf-sdk-test - AElfClientTest - 0.1.2 - - 4.12 - 0.1.4 - 1.8 - - - - io.aelf - aelf-sdk - ${io.aelf.version} - - - org.slf4j - slf4j-simple - - - org.slf4j - slf4j-api - - - - - org.slf4j - slf4j-api - 1.7.25 - - - org.slf4j - slf4j-simple - 1.7.25 - - - junit - junit - ${junit.version} - - - - AElfClientTest - ${basedir}/src/main/java - - - maven-compiler-plugin - 3.2 - - ${jdk.version} - ${jdk.version} - - - - maven-resources-plugin - 2.6 - - - copy-resources - package - - copy-resources - - - ${project.build.directory}/ - - - src/main/resources - - **/*.xml - - - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - 2.2-beta-5 - - - jar-with-dependencies - - - - - make-assembly - package - - single - - - - - - - \ No newline at end of file diff --git a/build.sh b/build.sh index f29a897..43b42d5 100644 --- a/build.sh +++ b/build.sh @@ -1,8 +1,3 @@ #!/bin/bash -AElfClient_path=AElfClient/ -AElfClientTestpath=AElfClientTest/ -for i in $AElfClient_path $AElfClientTestpath; -do - cd $i && mvn clean package && mvn compile && cd .. -done -cd $AElfClientTestpath && mvn test + +cd AElfClient/ && mvn clean package && mvn compile && mvn test \ No newline at end of file diff --git a/pom.xml b/pom.xml index ce30283..1c8be82 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,6 @@ pom AElfClient - AElfClientTest \ No newline at end of file From 11c4a2a6272d5fec5d5b51fd1798f4b260193dfb Mon Sep 17 00:00:00 2001 From: zhxymh Date: Tue, 1 Dec 2020 20:43:43 +0800 Subject: [PATCH 17/56] fix create transaction bug --- .../src/main/java/io/aelf/sdk/AElfClient.java | 10 ++++---- .../java/io/aelf/sdk/BlockChainSdkTest.java | 22 ++++++++++++++---- AElfClient/src/test/resources/junit-4.12.jar | Bin 314932 -> 0 bytes AElfClient/src/test/resources/junit.bat | 2 -- AElfClient/src/test/resources/junit.sh | 2 -- 5 files changed, 23 insertions(+), 13 deletions(-) delete mode 100644 AElfClient/src/test/resources/junit-4.12.jar delete mode 100644 AElfClient/src/test/resources/junit.bat delete mode 100644 AElfClient/src/test/resources/junit.sh diff --git a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java index 0f9cbef..25aa4d0 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java +++ b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java @@ -281,7 +281,6 @@ public NetworkInfoOutput getNetworkInfo() throws Exception { public Core.Transaction.Builder generateTransaction(String from, String to, String methodName, byte[] params) throws Exception { final ChainstatusDto chainStatus = this.getBlockChainSdkObj().getChainStatus(); - final Client.Hash.Builder hash = Client.Hash.newBuilder(); final Core.Transaction.Builder transaction = Core.Transaction.newBuilder(); Client.Address.Builder addressForm = Client.Address.newBuilder(); Client.Address.Builder addressTo = Client.Address.newBuilder(); @@ -292,9 +291,7 @@ public Core.Transaction.Builder generateTransaction(String from, String to, Stri transaction.setFrom(addressFormObj); transaction.setTo(addressToObj); transaction.setMethodName(methodName); - hash.setValue(ByteString.copyFrom(params)); - Client.Hash hashObj = hash.build(); - transaction.setParams(hashObj.toByteString()); + transaction.setParams(ByteString.copyFrom(params)); transaction.setRefBlockNumber(chainStatus.getBestChainHeight()); byte[] refBlockPrefix = ByteArrayHelper.hexToByteArray(chainStatus.getBestChainHash()); refBlockPrefix = Arrays.copyOf(refBlockPrefix, 4); @@ -380,8 +377,11 @@ public String getContractAddressByName(String privateKey, byte[] contractNameHas String from = this.getAddressFromPrivateKey(privateKey); String to = this.getGenesisContractAddress(); String methodName = "GetContractAddressByName"; + Client.Hash.Builder hash = Client.Hash.newBuilder(); + hash.setValue(ByteString.copyFrom(contractNameHash)); + Client.Hash hashObj = hash.build(); Core.Transaction.Builder transaction = this - .generateTransaction(from, to, methodName, contractNameHash); + .generateTransaction(from, to, methodName, hashObj.toByteArray()); String signature = this.signTransaction(privateKey, transaction.build()); transaction.setSignature(ByteString.copyFrom(ByteArrayHelper.hexToByteArray(signature))); Core.Transaction transactionObj = transaction.build(); diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 0c08a4b..9a68736 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -1,6 +1,8 @@ package io.aelf.sdk; import com.google.protobuf.ByteString; + +import io.aelf.protobuf.generated.Client; import io.aelf.protobuf.generated.Core; import io.aelf.protobuf.generated.Core.TransactionResultStatus; import io.aelf.protobuf.generated.TokenContract.GetBalanceOutput; @@ -227,8 +229,11 @@ public void executeTransactionTest() throws Exception { String toAddress = client.getGenesisContractAddress(); String methodName = "GetContractAddressByName"; byte[] bytes = Sha256.getBytesSha256("AElf.ContractNames.TokenConverter"); + Client.Hash.Builder hash = Client.Hash.newBuilder(); + hash.setValue(ByteString.copyFrom(bytes)); + Client.Hash hashObj = hash.build(); Core.Transaction.Builder transaction = client - .generateTransaction(address, toAddress, methodName, bytes); + .generateTransaction(address, toAddress, methodName, hashObj.toByteArray()); Core.Transaction transactionObj = transaction.build(); String signature = client.signTransaction(privateKey, transactionObj); transaction.setSignature(ByteString.copyFrom(ByteArrayHelper.hexToByteArray(signature))); @@ -314,7 +319,10 @@ public void sendTransactionTest() throws Exception { String toAddress = client.getGenesisContractAddress(); String methodName = "GetContractAddressByName"; byte[] bytes = Sha256.getBytesSha256("AElf.ContractNames.Vote"); - Core.Transaction transactionObj = buildTransaction(toAddress, methodName, bytes); + Client.Hash.Builder hash = Client.Hash.newBuilder(); + hash.setValue(ByteString.copyFrom(bytes)); + Client.Hash hashObj = hash.build(); + Core.Transaction transactionObj = buildTransaction(toAddress, methodName, hashObj.toByteArray()); SendTransactionInput sendTransactionInputObj = new SendTransactionInput(); sendTransactionInputObj.setRawTransaction(Hex.toHexString(transactionObj.toByteArray())); client.sendTransaction(sendTransactionInputObj); @@ -330,7 +338,10 @@ public void sendTransactionsTest() throws Exception { parameters.add(param1); parameters.add(param2); for (byte[] tmp : parameters) { - Core.Transaction transactionObj = buildTransaction(toAddress, methodName, tmp); + Client.Hash.Builder hash = Client.Hash.newBuilder(); + hash.setValue(ByteString.copyFrom(tmp)); + Client.Hash hashObj = hash.build(); + Core.Transaction transactionObj = buildTransaction(toAddress, methodName, hashObj.toByteArray()); SendTransactionsInput sendTransactionsInputs = new SendTransactionsInput(); String rawTransactions = Hex.toHexString(transactionObj.toByteArray()); sendTransactionsInputs.setRawTransactions(rawTransactions); @@ -395,7 +406,10 @@ public void potobuffTest() throws Exception { String toAddress = client.getGenesisContractAddress(); byte[] bytes = Sha256.getBytesSha256("AElf.ContractNames.Vote"); String methodName = "GetContractAddressByName"; - Core.Transaction transactionObj = buildTransaction(toAddress, methodName, bytes); + Client.Hash.Builder hash = Client.Hash.newBuilder(); + hash.setValue(ByteString.copyFrom(bytes)); + Client.Hash hashObj = hash.build(); + Core.Transaction transactionObj = buildTransaction(toAddress, methodName, hashObj.toByteArray()); SendTransactionInput sendTransactionInputObj = new SendTransactionInput(); sendTransactionInputObj.setRawTransaction(Hex.toHexString(transactionObj.toByteArray())); client.sendTransaction(sendTransactionInputObj); diff --git a/AElfClient/src/test/resources/junit-4.12.jar b/AElfClient/src/test/resources/junit-4.12.jar deleted file mode 100644 index 3a7fc266c3e32283a2b21fe12166ebdcc33a1da1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 314932 zcmbrl1yH5St~QJ_I1KJGxVyW%ySuwPgF6f`xVyVExVyVMgS*?$+0syT2h2od8eo>e^ zS(`cj10DRI=D zw7=!HvN1HW`~%lt*NFHhE-O7p1Ji$AB*LEAtHgTM0rRjywa{QHhN>sgu^>N(o{aixEq?a!Jpv;NSywca09 z_g4n2KTYu;hW~>OG5?GXHsl z|1_hOp6ee>{;!O9|9w_RQzILDvww6rtC?_~C$MSKGIH8PTGeE8MJh+%*L0O%jzzxy=-OFah% z`HwI}ZSd$CSTAS-~5WeN2HQ^G~O{Lof z_(N{57ThV(X6GoUD{hbHyQeo`Q&(|kbtms;z@$g9X8N_N8S%||y=BU*Sv&Qf_~&s2 zlQQ+IRP$N>>vX#Kcx9ymeCR?xL<_SpRqGH|qY>gP4So}%`s?OgpS+29<;P`A!KbJ1 zQpONlIcu>)ExO0?DyN<~ZifuDx8T9gJ7V-+c#bAwcdYlDWhLQFj>1c>*W`LtktsCd z<5XKUOkU6LA-o};=Xi<%YaL5`3+LG)-3}fRUN^Szn;ZoF_)*CTciT?I8D=0}YEq z`h+zo7Wnf$Z}mb$5hc19Y+fEOW)y%_YAiDmzLhUd9g$VGtOz`5;Iu3$*P)ld`E$C%FfvP`}Mv%hua-bwC864=N=W9MNpmG-Q(|`0{%7_oB8H6 zp5f;0x|NMVi{m4K${XhDX;e{`nx5eCMQjFDyN5e52Mej^NI1A#NTKLi7^o|kQQeX z7S*b!kIgPolF!M>%M4kHV>r$i)v~dtO60qNJq&&EX4Wx*Dk9FS4P@8ItLupw+vYH_wN&*LB6++a*G8YSk&7!d$Z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xo7hP_Kg^bj`Hpz zWRo>hqZ*@L$DAqyRPcO`iP8-4Gh1ffg@P)_<3&rO=sb@9cgI|q6L5^6in1cmhTBrm zG1Y9!wEqYQgRUFb{3MIaymvTD`EOQGa23xB>*)q3Y6g+6;mR}r% zxJ(AobDT?j@|VCEQV$m8p_oy9vSki%wUWXx6)z1!5NNWcdJXb+%OECf0O)RP6HROA zIcq>E#&h|;C9O!nDDytwd2}FD9Z@h0foH2e*|OQgYjZq?IlFlIyL6E=*flyX+GjX! TY(h;@!?}i$7z!3V8^-w`q)kqw diff --git a/AElfClient/src/test/resources/junit.bat b/AElfClient/src/test/resources/junit.bat deleted file mode 100644 index fb61d1d..0000000 --- a/AElfClient/src/test/resources/junit.bat +++ /dev/null @@ -1,2 +0,0 @@ -java -cp AElfClientTest-jar-with-dependencies.jar;junit-4.12.jar org.junit.runner.JUnitCore io.aelf.test.BlockChainSdkTest > junit_blockchainsdktest_log.txt -java -cp AElfClientTest-jar-with-dependencies.jar;junit-4.12.jar org.junit.runner.JUnitCore io.aelf.test.NetSdkTest > junit_netsdktest_log.txt \ No newline at end of file diff --git a/AElfClient/src/test/resources/junit.sh b/AElfClient/src/test/resources/junit.sh deleted file mode 100644 index 1277ea2..0000000 --- a/AElfClient/src/test/resources/junit.sh +++ /dev/null @@ -1,2 +0,0 @@ -java -cp AElfClientTest-jar-with-dependencies.jar:junit-4.12.jar org.junit.runner.JUnitCore io.aelf.test.BlockChainSdkTest >junit_blockchainsdktest_log.txt -java -cp AElfClientTest-jar-with-dependencies.jar:junit-4.12.jar org.junit.runner.JUnitCore io.aelf.test.NetSdkTest >junit_netsdktest_log.txt \ No newline at end of file From 3cc79ff284689d2713109894eb50cdc59ff8b60d Mon Sep 17 00:00:00 2001 From: zhxymh Date: Wed, 2 Dec 2020 11:10:11 +0800 Subject: [PATCH 18/56] fix date format --- AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java index c812365..d4d92a4 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java @@ -381,7 +381,12 @@ private BlockDto createBlockDto(MapEntry block, Boolean includeTransactions) thr String bloomStr = StringUtil.toString(block.getLinkedHashMap("Header").get("Bloom")); bloomStr = bloomStr.length() == 0 ? Base64.encodeBase64String(new byte[256]) : bloomStr; final String timeStr = StringUtil.toString(block.getLinkedHashMap("Header").get("Time")); - SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"); + SimpleDateFormat df; + if(timeStr.length() == 20){ + df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); + }else{ + df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"); + } df.setTimeZone(TimeZone.getTimeZone("UTC")); BlockDto blockDto = new BlockDto(); blockDto.setBlockHash(block.getString("BlockHash")); From d5e5707d0f305973630811a143aec8decefa5248 Mon Sep 17 00:00:00 2001 From: zhxymh Date: Wed, 2 Dec 2020 11:25:17 +0800 Subject: [PATCH 19/56] add dependency scope --- AElfClient/pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AElfClient/pom.xml b/AElfClient/pom.xml index f55510e..9394806 100644 --- a/AElfClient/pom.xml +++ b/AElfClient/pom.xml @@ -84,11 +84,13 @@ org.slf4j slf4j-api 1.7.25 + test org.slf4j slf4j-simple 1.7.25 + test From b428f9a2f0a6d3ab38503aa135458b09a1ebea52 Mon Sep 17 00:00:00 2001 From: zhxymh Date: Wed, 2 Dec 2020 11:48:52 +0800 Subject: [PATCH 20/56] add transfer proto --- .../protobuf/generated/TokenContract.java | 1152 ++++++++++++++++- .../aelf/protobuf/proto/token_contract.proto | 11 + 2 files changed, 1161 insertions(+), 2 deletions(-) diff --git a/AElfClient/src/main/java/io/aelf/protobuf/generated/TokenContract.java b/AElfClient/src/main/java/io/aelf/protobuf/generated/TokenContract.java index 7277c48..7f6e844 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/generated/TokenContract.java +++ b/AElfClient/src/main/java/io/aelf/protobuf/generated/TokenContract.java @@ -11887,6 +11887,1141 @@ public io.aelf.protobuf.generated.TokenContract.GetCrossChainTransferTokenContra } + public interface TransferInputOrBuilder extends + // @@protoc_insertion_point(interface_extends:TransferInput) + com.google.protobuf.MessageOrBuilder { + + /** + *

+     * The receiver of the token.
+     * 
+ * + * .Address to = 1; + * @return Whether the to field is set. + */ + boolean hasTo(); + /** + *
+     * The receiver of the token.
+     * 
+ * + * .Address to = 1; + * @return The to. + */ + io.aelf.protobuf.generated.Client.Address getTo(); + /** + *
+     * The receiver of the token.
+     * 
+ * + * .Address to = 1; + */ + io.aelf.protobuf.generated.Client.AddressOrBuilder getToOrBuilder(); + + /** + *
+     * The token symbol to transfer.
+     * 
+ * + * string symbol = 2; + * @return The symbol. + */ + java.lang.String getSymbol(); + /** + *
+     * The token symbol to transfer.
+     * 
+ * + * string symbol = 2; + * @return The bytes for symbol. + */ + com.google.protobuf.ByteString + getSymbolBytes(); + + /** + *
+     * The amount to to transfer.
+     * 
+ * + * int64 amount = 3; + * @return The amount. + */ + long getAmount(); + + /** + *
+     * The memo.
+     * 
+ * + * string memo = 4; + * @return The memo. + */ + java.lang.String getMemo(); + /** + *
+     * The memo.
+     * 
+ * + * string memo = 4; + * @return The bytes for memo. + */ + com.google.protobuf.ByteString + getMemoBytes(); + } + /** + * Protobuf type {@code TransferInput} + */ + public static final class TransferInput extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TransferInput) + TransferInputOrBuilder { + private static final long serialVersionUID = 0L; + // Use TransferInput.newBuilder() to construct. + private TransferInput(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransferInput() { + symbol_ = ""; + memo_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransferInput(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransferInput( + 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 10: { + io.aelf.protobuf.generated.Client.Address.Builder subBuilder = null; + if (to_ != null) { + subBuilder = to_.toBuilder(); + } + to_ = input.readMessage(io.aelf.protobuf.generated.Client.Address.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(to_); + to_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + symbol_ = s; + break; + } + case 24: { + + amount_ = input.readInt64(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + memo_ = 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 { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.TokenContract.internal_static_TransferInput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TokenContract.internal_static_TransferInput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TokenContract.TransferInput.class, io.aelf.protobuf.generated.TokenContract.TransferInput.Builder.class); + } + + public static final int TO_FIELD_NUMBER = 1; + private io.aelf.protobuf.generated.Client.Address to_; + /** + *
+     * The receiver of the token.
+     * 
+ * + * .Address to = 1; + * @return Whether the to field is set. + */ + public boolean hasTo() { + return to_ != null; + } + /** + *
+     * The receiver of the token.
+     * 
+ * + * .Address to = 1; + * @return The to. + */ + public io.aelf.protobuf.generated.Client.Address getTo() { + return to_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : to_; + } + /** + *
+     * The receiver of the token.
+     * 
+ * + * .Address to = 1; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getToOrBuilder() { + return getTo(); + } + + public static final int SYMBOL_FIELD_NUMBER = 2; + private volatile java.lang.Object symbol_; + /** + *
+     * The token symbol to transfer.
+     * 
+ * + * string symbol = 2; + * @return The symbol. + */ + public java.lang.String getSymbol() { + java.lang.Object ref = symbol_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbol_ = s; + return s; + } + } + /** + *
+     * The token symbol to transfer.
+     * 
+ * + * string symbol = 2; + * @return The bytes for symbol. + */ + public com.google.protobuf.ByteString + getSymbolBytes() { + java.lang.Object ref = symbol_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AMOUNT_FIELD_NUMBER = 3; + private long amount_; + /** + *
+     * The amount to to transfer.
+     * 
+ * + * int64 amount = 3; + * @return The amount. + */ + public long getAmount() { + return amount_; + } + + public static final int MEMO_FIELD_NUMBER = 4; + private volatile java.lang.Object memo_; + /** + *
+     * The memo.
+     * 
+ * + * string memo = 4; + * @return The memo. + */ + public java.lang.String getMemo() { + java.lang.Object ref = memo_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memo_ = s; + return s; + } + } + /** + *
+     * The memo.
+     * 
+ * + * string memo = 4; + * @return The bytes for memo. + */ + public com.google.protobuf.ByteString + getMemoBytes() { + java.lang.Object ref = memo_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memo_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (to_ != null) { + output.writeMessage(1, getTo()); + } + if (!getSymbolBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, symbol_); + } + if (amount_ != 0L) { + output.writeInt64(3, amount_); + } + if (!getMemoBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, memo_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (to_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTo()); + } + if (!getSymbolBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, symbol_); + } + if (amount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, amount_); + } + if (!getMemoBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, memo_); + } + 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 io.aelf.protobuf.generated.TokenContract.TransferInput)) { + return super.equals(obj); + } + io.aelf.protobuf.generated.TokenContract.TransferInput other = (io.aelf.protobuf.generated.TokenContract.TransferInput) obj; + + if (hasTo() != other.hasTo()) return false; + if (hasTo()) { + if (!getTo() + .equals(other.getTo())) return false; + } + if (!getSymbol() + .equals(other.getSymbol())) return false; + if (getAmount() + != other.getAmount()) return false; + if (!getMemo() + .equals(other.getMemo())) 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 (hasTo()) { + hash = (37 * hash) + TO_FIELD_NUMBER; + hash = (53 * hash) + getTo().hashCode(); + } + hash = (37 * hash) + SYMBOL_FIELD_NUMBER; + hash = (53 * hash) + getSymbol().hashCode(); + hash = (37 * hash) + AMOUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAmount()); + hash = (37 * hash) + MEMO_FIELD_NUMBER; + hash = (53 * hash) + getMemo().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.aelf.protobuf.generated.TokenContract.TransferInput parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TokenContract.TransferInput parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TokenContract.TransferInput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TokenContract.TransferInput parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TokenContract.TransferInput parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.aelf.protobuf.generated.TokenContract.TransferInput parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.aelf.protobuf.generated.TokenContract.TransferInput parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TokenContract.TransferInput 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 io.aelf.protobuf.generated.TokenContract.TransferInput parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TokenContract.TransferInput 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 io.aelf.protobuf.generated.TokenContract.TransferInput parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.aelf.protobuf.generated.TokenContract.TransferInput 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(io.aelf.protobuf.generated.TokenContract.TransferInput 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; + } + /** + * Protobuf type {@code TransferInput} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TransferInput) + io.aelf.protobuf.generated.TokenContract.TransferInputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.aelf.protobuf.generated.TokenContract.internal_static_TransferInput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.aelf.protobuf.generated.TokenContract.internal_static_TransferInput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.aelf.protobuf.generated.TokenContract.TransferInput.class, io.aelf.protobuf.generated.TokenContract.TransferInput.Builder.class); + } + + // Construct using io.aelf.protobuf.generated.TokenContract.TransferInput.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(); + if (toBuilder_ == null) { + to_ = null; + } else { + to_ = null; + toBuilder_ = null; + } + symbol_ = ""; + + amount_ = 0L; + + memo_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.aelf.protobuf.generated.TokenContract.internal_static_TransferInput_descriptor; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TokenContract.TransferInput getDefaultInstanceForType() { + return io.aelf.protobuf.generated.TokenContract.TransferInput.getDefaultInstance(); + } + + @java.lang.Override + public io.aelf.protobuf.generated.TokenContract.TransferInput build() { + io.aelf.protobuf.generated.TokenContract.TransferInput result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.aelf.protobuf.generated.TokenContract.TransferInput buildPartial() { + io.aelf.protobuf.generated.TokenContract.TransferInput result = new io.aelf.protobuf.generated.TokenContract.TransferInput(this); + if (toBuilder_ == null) { + result.to_ = to_; + } else { + result.to_ = toBuilder_.build(); + } + result.symbol_ = symbol_; + result.amount_ = amount_; + result.memo_ = memo_; + 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 io.aelf.protobuf.generated.TokenContract.TransferInput) { + return mergeFrom((io.aelf.protobuf.generated.TokenContract.TransferInput)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.aelf.protobuf.generated.TokenContract.TransferInput other) { + if (other == io.aelf.protobuf.generated.TokenContract.TransferInput.getDefaultInstance()) return this; + if (other.hasTo()) { + mergeTo(other.getTo()); + } + if (!other.getSymbol().isEmpty()) { + symbol_ = other.symbol_; + onChanged(); + } + if (other.getAmount() != 0L) { + setAmount(other.getAmount()); + } + if (!other.getMemo().isEmpty()) { + memo_ = other.memo_; + 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 { + io.aelf.protobuf.generated.TokenContract.TransferInput parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.aelf.protobuf.generated.TokenContract.TransferInput) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private io.aelf.protobuf.generated.Client.Address to_; + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> toBuilder_; + /** + *
+       * The receiver of the token.
+       * 
+ * + * .Address to = 1; + * @return Whether the to field is set. + */ + public boolean hasTo() { + return toBuilder_ != null || to_ != null; + } + /** + *
+       * The receiver of the token.
+       * 
+ * + * .Address to = 1; + * @return The to. + */ + public io.aelf.protobuf.generated.Client.Address getTo() { + if (toBuilder_ == null) { + return to_ == null ? io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : to_; + } else { + return toBuilder_.getMessage(); + } + } + /** + *
+       * The receiver of the token.
+       * 
+ * + * .Address to = 1; + */ + public Builder setTo(io.aelf.protobuf.generated.Client.Address value) { + if (toBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + to_ = value; + onChanged(); + } else { + toBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The receiver of the token.
+       * 
+ * + * .Address to = 1; + */ + public Builder setTo( + io.aelf.protobuf.generated.Client.Address.Builder builderForValue) { + if (toBuilder_ == null) { + to_ = builderForValue.build(); + onChanged(); + } else { + toBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The receiver of the token.
+       * 
+ * + * .Address to = 1; + */ + public Builder mergeTo(io.aelf.protobuf.generated.Client.Address value) { + if (toBuilder_ == null) { + if (to_ != null) { + to_ = + io.aelf.protobuf.generated.Client.Address.newBuilder(to_).mergeFrom(value).buildPartial(); + } else { + to_ = value; + } + onChanged(); + } else { + toBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The receiver of the token.
+       * 
+ * + * .Address to = 1; + */ + public Builder clearTo() { + if (toBuilder_ == null) { + to_ = null; + onChanged(); + } else { + to_ = null; + toBuilder_ = null; + } + + return this; + } + /** + *
+       * The receiver of the token.
+       * 
+ * + * .Address to = 1; + */ + public io.aelf.protobuf.generated.Client.Address.Builder getToBuilder() { + + onChanged(); + return getToFieldBuilder().getBuilder(); + } + /** + *
+       * The receiver of the token.
+       * 
+ * + * .Address to = 1; + */ + public io.aelf.protobuf.generated.Client.AddressOrBuilder getToOrBuilder() { + if (toBuilder_ != null) { + return toBuilder_.getMessageOrBuilder(); + } else { + return to_ == null ? + io.aelf.protobuf.generated.Client.Address.getDefaultInstance() : to_; + } + } + /** + *
+       * The receiver of the token.
+       * 
+ * + * .Address to = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder> + getToFieldBuilder() { + if (toBuilder_ == null) { + toBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.aelf.protobuf.generated.Client.Address, io.aelf.protobuf.generated.Client.Address.Builder, io.aelf.protobuf.generated.Client.AddressOrBuilder>( + getTo(), + getParentForChildren(), + isClean()); + to_ = null; + } + return toBuilder_; + } + + private java.lang.Object symbol_ = ""; + /** + *
+       * The token symbol to transfer.
+       * 
+ * + * string symbol = 2; + * @return The symbol. + */ + public java.lang.String getSymbol() { + java.lang.Object ref = symbol_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + symbol_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The token symbol to transfer.
+       * 
+ * + * string symbol = 2; + * @return The bytes for symbol. + */ + public com.google.protobuf.ByteString + getSymbolBytes() { + java.lang.Object ref = symbol_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + symbol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The token symbol to transfer.
+       * 
+ * + * string symbol = 2; + * @param value The symbol to set. + * @return This builder for chaining. + */ + public Builder setSymbol( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + symbol_ = value; + onChanged(); + return this; + } + /** + *
+       * The token symbol to transfer.
+       * 
+ * + * string symbol = 2; + * @return This builder for chaining. + */ + public Builder clearSymbol() { + + symbol_ = getDefaultInstance().getSymbol(); + onChanged(); + return this; + } + /** + *
+       * The token symbol to transfer.
+       * 
+ * + * string symbol = 2; + * @param value The bytes for symbol to set. + * @return This builder for chaining. + */ + public Builder setSymbolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + symbol_ = value; + onChanged(); + return this; + } + + private long amount_ ; + /** + *
+       * The amount to to transfer.
+       * 
+ * + * int64 amount = 3; + * @return The amount. + */ + public long getAmount() { + return amount_; + } + /** + *
+       * The amount to to transfer.
+       * 
+ * + * int64 amount = 3; + * @param value The amount to set. + * @return This builder for chaining. + */ + public Builder setAmount(long value) { + + amount_ = value; + onChanged(); + return this; + } + /** + *
+       * The amount to to transfer.
+       * 
+ * + * int64 amount = 3; + * @return This builder for chaining. + */ + public Builder clearAmount() { + + amount_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object memo_ = ""; + /** + *
+       * The memo.
+       * 
+ * + * string memo = 4; + * @return The memo. + */ + public java.lang.String getMemo() { + java.lang.Object ref = memo_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memo_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The memo.
+       * 
+ * + * string memo = 4; + * @return The bytes for memo. + */ + public com.google.protobuf.ByteString + getMemoBytes() { + java.lang.Object ref = memo_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memo_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The memo.
+       * 
+ * + * string memo = 4; + * @param value The memo to set. + * @return This builder for chaining. + */ + public Builder setMemo( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + memo_ = value; + onChanged(); + return this; + } + /** + *
+       * The memo.
+       * 
+ * + * string memo = 4; + * @return This builder for chaining. + */ + public Builder clearMemo() { + + memo_ = getDefaultInstance().getMemo(); + onChanged(); + return this; + } + /** + *
+       * The memo.
+       * 
+ * + * string memo = 4; + * @param value The bytes for memo to set. + * @return This builder for chaining. + */ + public Builder setMemoBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + memo_ = 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:TransferInput) + } + + // @@protoc_insertion_point(class_scope:TransferInput) + private static final io.aelf.protobuf.generated.TokenContract.TransferInput DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.aelf.protobuf.generated.TokenContract.TransferInput(); + } + + public static io.aelf.protobuf.generated.TokenContract.TransferInput getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferInput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferInput(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 io.aelf.protobuf.generated.TokenContract.TransferInput getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + private static final com.google.protobuf.Descriptors.Descriptor internal_static_TokenInfo_descriptor; private static final @@ -11947,6 +13082,11 @@ public io.aelf.protobuf.generated.TokenContract.GetCrossChainTransferTokenContra private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_GetCrossChainTransferTokenContractAddressInput_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TransferInput_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TransferInput_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -11982,8 +13122,10 @@ public io.aelf.protobuf.generated.TokenContract.GetCrossChainTransferTokenContra "tualAddressForLockingInput\022\031\n\007address\030\001 " + "\001(\0132\010.Address\022\026\n\007lock_id\030\002 \001(\0132\005.Hash\"A\n" + ".GetCrossChainTransferTokenContractAddre" + - "ssInput\022\017\n\007chainId\030\001 \001(\005B\034\n\032io.aelf.prot" + - "obuf.generatedb\006proto3" + "ssInput\022\017\n\007chainId\030\001 \001(\005\"S\n\rTransferInpu" + + "t\022\024\n\002to\030\001 \001(\0132\010.Address\022\016\n\006symbol\030\002 \001(\t\022" + + "\016\n\006amount\030\003 \001(\003\022\014\n\004memo\030\004 \001(\tB\034\n\032io.aelf" + + ".protobuf.generatedb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -12062,6 +13204,12 @@ public io.aelf.protobuf.generated.TokenContract.GetCrossChainTransferTokenContra com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_GetCrossChainTransferTokenContractAddressInput_descriptor, new java.lang.String[] { "ChainId", }); + internal_static_TransferInput_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_TransferInput_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TransferInput_descriptor, + new java.lang.String[] { "To", "Symbol", "Amount", "Memo", }); io.aelf.protobuf.generated.Client.getDescriptor(); } diff --git a/AElfClient/src/main/java/io/aelf/protobuf/proto/token_contract.proto b/AElfClient/src/main/java/io/aelf/protobuf/proto/token_contract.proto index 063ac6c..6daa335 100644 --- a/AElfClient/src/main/java/io/aelf/protobuf/proto/token_contract.proto +++ b/AElfClient/src/main/java/io/aelf/protobuf/proto/token_contract.proto @@ -110,4 +110,15 @@ message GetCrossChainTransferTokenContractAddressInput { int32 chainId = 1; } +message TransferInput { + // The receiver of the token. + Address to = 1; + // The token symbol to transfer. + string symbol = 2; + // The amount to to transfer. + int64 amount = 3; + // The memo. + string memo = 4; +} + From 5698fff463e9842d5ac8001e5d14887899576efb Mon Sep 17 00:00:00 2001 From: zhxymh Date: Thu, 10 Dec 2020 11:32:07 +0800 Subject: [PATCH 21/56] update test node to v1.0.0 --- scripts/aelf-node/start-mac.sh | 2 +- scripts/aelf-node/start-window.ps1 | 2 +- scripts/aelf-node/start.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/aelf-node/start-mac.sh b/scripts/aelf-node/start-mac.sh index 34fddef..e580f84 100644 --- a/scripts/aelf-node/start-mac.sh +++ b/scripts/aelf-node/start-mac.sh @@ -3,7 +3,7 @@ brew services start redis brew install unzip mkdir -p ~/.local/share/aelf/keys cd ../../ -wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip && unzip aelf.zip +wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip && unzip aelf.zip cp scripts/aelf-node/keys/SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM.json ~/.local/share/aelf/keys/ cp scripts/aelf-node/app* aelf/ echo "start node" diff --git a/scripts/aelf-node/start-window.ps1 b/scripts/aelf-node/start-window.ps1 index 4fa5fce..d15a1d7 100644 --- a/scripts/aelf-node/start-window.ps1 +++ b/scripts/aelf-node/start-window.ps1 @@ -4,7 +4,7 @@ $job1 = Start-Job -ScriptBlock { cd D:\a\1\s\redis; .\redis-server.exe; } sleep 30 mkdir -p C:\Users\VssAdministrator\AppData\Local\aelf\keys cp -r scripts\aelf-node\keys\* C:\Users\VssAdministrator\AppData\Local\aelf\keys; -wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip -OutFile aelf.zip ; +wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip -OutFile aelf.zip ; Expand-Archive -Path aelf.zip -DestinationPath aelf ; cp scripts\aelf-node\appsettings.json aelf\aelf\appsettings.json ; cp scripts\aelf-node\appsettings.MainChain.TestNet.json aelf\aelf\appsettings.MainChain.TestNet.json ; diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 661c2a3..9c3fe23 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -5,7 +5,7 @@ sudo sed -i "s/127.0.0.1/$ip/g" appsettings.json sudo apt update && apt install unzip sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys cd ../../ -wget https://github.com/AElfProject/AElf/releases/download/v1.0.0-rc1/aelf.zip +wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip sudo unzip aelf.zip sudo mkdir -p aelf/aelf/keys sudo cp scripts/aelf-node/keys/*.json aelf/aelf/keys/ From 1404e1a9c4b623bc1287616e8cc31ef650e653a4 Mon Sep 17 00:00:00 2001 From: Dengcheng Hu <42051766+dengchengH@users.noreply.github.com> Date: Fri, 27 Aug 2021 15:46:22 +0800 Subject: [PATCH 22/56] Adding basic auth --- .../src/main/java/io/aelf/sdk/AElfClient.java | 34 +++++++++++++- .../src/main/java/io/aelf/sdk/NetSdk.java | 23 +++++++-- .../main/java/io/aelf/utils/ClientUtil.java | 47 ++++++++++++++++++- .../main/java/io/aelf/utils/HttpUtilExt.java | 24 +++++++++- 4 files changed, 120 insertions(+), 8 deletions(-) diff --git a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java index 25aa4d0..8dccd86 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java +++ b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java @@ -43,6 +43,8 @@ public class AElfClient { private String AElfClientUrl; private String version = "1.0"; + private String UserName; + private String Password; private BlockChainSdk blcokChainSdk; private NetSdk netSdk; @@ -59,6 +61,20 @@ public AElfClient(String url) { } + /** + * Object dconstruction through the url path and basic auth. + * @param url + * @param userName + * @param password + */ + public AElfClient(String url, String userName, String password) { + this.AElfClientUrl = url; + this.UserName = userName; + this.Password = password; + this.getBlockChainSdkObj(); + this.getNetSdkObj(); + } + /** * Object construction through the url path. * @@ -72,6 +88,22 @@ public AElfClient(String url, String version) { this.getNetSdkObj(); } + /** + * Object dconstruction through the url path and basic auth. + * @param url + * @param version + * @param userName + * @param password + */ + public AElfClient(String url, String version, String userName, String password) { + this.AElfClientUrl = url; + this.version = version; + this.UserName = userName; + this.Password = password; + this.getBlockChainSdkObj(); + this.getNetSdkObj(); + } + private AElfClient() { } @@ -93,7 +125,7 @@ private BlockChainSdk getBlockChainSdkObj() { */ private NetSdk getNetSdkObj() { if (netSdk == null) { - netSdk = new NetSdk(this.AElfClientUrl, this.version); + netSdk = new NetSdk(this.AElfClientUrl, this.version, this.UserName, this.Password); } return netSdk; } diff --git a/AElfClient/src/main/java/io/aelf/sdk/NetSdk.java b/AElfClient/src/main/java/io/aelf/sdk/NetSdk.java index c62d4ec..710a4e0 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/NetSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/NetSdk.java @@ -12,6 +12,7 @@ import io.aelf.utils.Maps; import io.aelf.utils.StringUtil; import java.util.ArrayList; +import java.util.Base64; import java.util.LinkedHashMap; import java.util.List; @@ -20,6 +21,8 @@ public class NetSdk { private String AElfClientUrl; private String version; + private String UserName; + private String Password; private static final String WA_ADDPEER = "/api/net/peer"; private static final String WA_REMOVEPEER = "/api/net/peer"; private static final String WA_GETPEERS = "/api/net/peers"; @@ -30,10 +33,14 @@ public class NetSdk { * * @param url Http Request Url exp:(http://xxxx) * @param version application/json;v={version} + * @param userName + * @param password */ - public NetSdk(String url, String version) { + public NetSdk(String url, String version, String userName, String password) { this.AElfClientUrl = url; this.version = version; + this.UserName = userName; + this.Password = password; } private NetSdk() { @@ -45,9 +52,13 @@ private NetSdk() { public Boolean addPeer(AddPeerInput input) throws Exception { String url = this.AElfClientUrl + WA_ADDPEER; MapEntry mapParmas = Maps.newMap(); + + String combineString = this.UserName + ":" + this.Password; + String combineAuth = "Basic " + Base64.getEncoder().encodeToString(combineString.getBytes()); + mapParmas.put("Address", input.getAddress()); String responseBobyResult = HttpUtilExt - .sendPost(url, JsonUtil.toJsonString(mapParmas), this.version); + .sendPostWithAuth(url, JsonUtil.toJsonString(mapParmas), this.version, combineAuth); if ("true".equals(responseBobyResult)) { return true; } @@ -59,8 +70,12 @@ public Boolean addPeer(AddPeerInput input) throws Exception { */ public Boolean removePeer(String address) throws Exception { String url = this.AElfClientUrl + WA_REMOVEPEER + "?address=" + address; - String responseBobyResult = HttpUtilExt.sendDelete(url, "UTF-8", this.version); - return "true".equals(responseBobyResult); + + String combineString = this.UserName + ":" + this.Password; + String combineAuth = "Basic " + Base64.getEncoder().encodeToString(combineString.getBytes()); + + String responseBobyResult = HttpUtilExt.sendDelete(url, "UTF-8", this.version, combineAuth); + return "true".equals(responseBobyResult); } /** diff --git a/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java b/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java index 0ad420d..3c35ae0 100644 --- a/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java +++ b/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java @@ -104,7 +104,7 @@ public static String sendGet(String reqUrl, String decodeCharset, String content * @param reqUrl not blank * @param decodeCharset not blank */ - public static String sendDelete(String reqUrl, String decodeCharset, String contentType) { + public static String sendDelete(String reqUrl, String decodeCharset, String contentType, String authBasic) { long responseLength = 0L; String responseContent = null; HttpClient httpClient = new DefaultHttpClient(); @@ -117,6 +117,11 @@ public static String sendDelete(String reqUrl, String decodeCharset, String cont } else { httpDelete.setHeader("Content-Type", contentType); } + + if (!StringUtils.isBlank(authBasic)) { + httpDelete.setHeader("Authorization", authBasic); + } + HttpResponse response = httpClient.execute(httpDelete); HttpEntity entity = response.getEntity(); if (entity != null) { @@ -186,4 +191,44 @@ public static String sendPost(String reqUrl, String param, String encodeCharset, return responseContent; } + + public static String sendPostWithAuth(String reqUrl, String param, String encodeCharset, + String decodeCharset, String contentType, String authBasic) { + String responseContent = null; + HttpClient httpClient = setProxy(); + HttpPost httpPost = new HttpPost(reqUrl); + try { + StringEntity myEntity = new StringEntity(param, encodeCharset); + if (StringUtils.isBlank(contentType)) { + myEntity.setContentType("application/x-www-form-urlencoded"); + } else { + myEntity.setContentType(contentType); + } + + if (StringUtils.isNotBlank(authBasic)) { + httpPost.setHeader("Authoraction", authBasic); + } + + httpPost.setEntity(myEntity); + + System.out.print(httpPost.getFirstHeader("Content-Type")); + HttpResponse response = httpClient.execute(httpPost); + HttpEntity entity = response.getEntity(); + if (entity != null) { + responseContent = EntityUtils + .toString(entity, decodeCharset == null ? "UTF-8" : decodeCharset); + EntityUtils.consume(entity); + } + if (200 != response.getStatusLine().getStatusCode()) { + responseContent = "@ERROR:@" + responseContent; + } + } catch (Exception ex) { + logger.error("sendPost Exception:", ex); + responseContent = "@ERROR:@" + ex.getMessage(); + } finally { + httpClient.getConnectionManager().shutdown(); + } + + return responseContent; + } } diff --git a/AElfClient/src/main/java/io/aelf/utils/HttpUtilExt.java b/AElfClient/src/main/java/io/aelf/utils/HttpUtilExt.java index 7c4f41a..a5df368 100644 --- a/AElfClient/src/main/java/io/aelf/utils/HttpUtilExt.java +++ b/AElfClient/src/main/java/io/aelf/utils/HttpUtilExt.java @@ -30,7 +30,7 @@ public static String sendGet(String reqUrl, /** * HTTP DELETE Request help method. */ - public static String sendDelete(String reqUrl, String decodeCharset, String version) { + public static String sendDelete(String reqUrl, String decodeCharset, String version, String basicAuth) { logger.debug("Request address:" + reqUrl); if (StringUtil.isBlank(version)) { version = ""; @@ -38,7 +38,7 @@ public static String sendDelete(String reqUrl, String decodeCharset, String vers version = ";v=" + version; } String chainContext = ClientUtil - .sendDelete(reqUrl, decodeCharset, "application/json" + version); + .sendDelete(reqUrl, decodeCharset, "application/json" + version, basicAuth); logger.debug("Return parameters:" + chainContext); return chainContext; } @@ -62,4 +62,24 @@ public static String sendPost(String reqUrl, String params, String version) thro logger.debug("Return parameters:" + chainContext); return chainContext; } + + /** + * HTTP POST Request help method. + */ + public static String sendPostWithAuth(String reqUrl, String params, String version, String authBasic) throws Exception { + if (StringUtil.isBlank(version)) { + version = ""; + } else { + version = ";v=" + version; + } + logger.debug("Request address:" + reqUrl); + String chainContext = ClientUtil + .sendPostWithAuth(reqUrl, params, "UTF-8", "UTF-8", "application/json" + version, authBasic); + if (StringUtil.toString(chainContext).length() > 0 && chainContext.contains("@ERROR:@")) { + chainContext = chainContext.replace("@ERROR:@", ""); + throw new RuntimeException(chainContext); + } + logger.debug("Return parameters:" + chainContext); + return chainContext; + } } From 5928aa1e48516ac74fcd77b0781e9af25f9cfb2f Mon Sep 17 00:00:00 2001 From: Dengcheng Hu <42051766+dengchengH@users.noreply.github.com> Date: Mon, 30 Aug 2021 22:00:20 +0800 Subject: [PATCH 23/56] modify spell of Authorization --- AElfClient/src/main/java/io/aelf/utils/ClientUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java b/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java index 3c35ae0..1a15b4d 100644 --- a/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java +++ b/AElfClient/src/main/java/io/aelf/utils/ClientUtil.java @@ -206,7 +206,7 @@ public static String sendPostWithAuth(String reqUrl, String param, String encode } if (StringUtils.isNotBlank(authBasic)) { - httpPost.setHeader("Authoraction", authBasic); + httpPost.setHeader("Authorization", authBasic); } httpPost.setEntity(myEntity); From 3d0b25a58d9d18c8557953e4373888a731af0e56 Mon Sep 17 00:00:00 2001 From: jason-hoopox Date: Mon, 30 Aug 2021 23:12:54 +0800 Subject: [PATCH 24/56] Fix compilation error --- AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 9a68736..2f26b45 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -39,7 +39,6 @@ import org.junit.Assert; import org.junit.Before; import org.junit.Test; -import org.omg.CosNaming.NamingContextExtPackage.AddressHelper; public class BlockChainSdkTest { From 899fd824f7e89c52a45fb275cc6b7924c4aa6d7b Mon Sep 17 00:00:00 2001 From: yiqi Date: Tue, 7 Sep 2021 17:32:01 +0800 Subject: [PATCH 25/56] Fix some fileds. --- .../java/io/aelf/schemas/TransactionResultDto.java | 10 ---------- .../src/main/java/io/aelf/sdk/BlockChainSdk.java | 8 +++----- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/AElfClient/src/main/java/io/aelf/schemas/TransactionResultDto.java b/AElfClient/src/main/java/io/aelf/schemas/TransactionResultDto.java index 4c6300a..ce306ba 100644 --- a/AElfClient/src/main/java/io/aelf/schemas/TransactionResultDto.java +++ b/AElfClient/src/main/java/io/aelf/schemas/TransactionResultDto.java @@ -20,8 +20,6 @@ public class TransactionResultDto { private TransactionDto transaction; @JsonProperty("ReturnValue") private String returnValue; - @JsonProperty("ReadableReturnValue") - private String readableReturnValue; @JsonProperty("Error") private String error; @JsonProperty("TransactionFee") @@ -91,14 +89,6 @@ public void setReturnValue(String returnValue) { this.returnValue = returnValue; } - public String getReadableReturnValue() { - return readableReturnValue; - } - - public void setReadableReturnValue(String readableReturnValue) { - this.readableReturnValue = readableReturnValue; - } - public String getError() { return error; } diff --git a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java index d4d92a4..360cc38 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java @@ -398,7 +398,7 @@ private BlockDto createBlockDto(MapEntry block, Boolean includeTransactions) thr blockDto.getHeader().setMerkleTreeRootOfWorldState( StringUtil.toString(block.getLinkedHashMap("Header").get("MerkleTreeRootOfWorldState"))); blockDto.getHeader().setMerkleTreeRootOfTransactionState(StringUtil - .toString(block.getLinkedHashMap("Header").get("MerkleTreeRootOfTransactionStatus"))); + .toString(block.getLinkedHashMap("Header").get("MerkleTreeRootOfTransactionState"))); blockDto.getHeader() .setExtra(StringUtil.toString(block.getLinkedHashMap("Header").get("Extra"))); blockDto.getHeader().setHeight(height); @@ -412,11 +412,11 @@ private BlockDto createBlockDto(MapEntry block, Boolean includeTransactions) thr return blockDto; } String transactionsCountStr = StringUtil - .toString(block.getLinkedHashMap("Body").get("TransactionIds")); + .toString(block.getLinkedHashMap("Body").get("Transactions")); final long transactionsCount = Long .parseLong(transactionsCountStr.length() == 0 ? "0" : transactionsCountStr); - List transactions = (List) block.getLinkedHashMap("Body").get("TransactionIds"); + List transactions = (List) block.getLinkedHashMap("Body").get("Transactions"); if (transactions == null) { transactions = new ArrayList<>(); } @@ -438,8 +438,6 @@ private TransactionResultDto createTransactionResultDto(MapEntry transactionResu transactionResultObj.setBlockNumber(transactionResult.getLong("BlockNumber", 0)); transactionResultObj.setBlockHash(transactionResult.getString("BlockHash", "")); transactionResultObj.setReturnValue(transactionResult.getString("ReturnValue", "")); - transactionResultObj - .setReadableReturnValue(transactionResult.getString("ReadableReturnValue", "")); transactionResultObj.setError(transactionResult.getString("Error", "")); TransactionDto transactionDtoObj = new TransactionDto(); LinkedHashMap transactionObj = transactionResult From 436d852c0aebdb29a389397a76d91eaee202294d Mon Sep 17 00:00:00 2001 From: jinpeng wang Date: Tue, 7 Sep 2021 21:33:53 +0800 Subject: [PATCH 26/56] Fix wrong transaction count --- AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java index 360cc38..00957af 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java @@ -411,10 +411,6 @@ private BlockDto createBlockDto(MapEntry block, Boolean includeTransactions) thr if (!includeTransactions) { return blockDto; } - String transactionsCountStr = StringUtil - .toString(block.getLinkedHashMap("Body").get("Transactions")); - final long transactionsCount = Long - .parseLong(transactionsCountStr.length() == 0 ? "0" : transactionsCountStr); List transactions = (List) block.getLinkedHashMap("Body").get("Transactions"); if (transactions == null) { @@ -425,7 +421,7 @@ private BlockDto createBlockDto(MapEntry block, Boolean includeTransactions) thr txs.add(StringUtil.toString(transactionId)); } blockDto.setBody(new BlockBodyDto()); - blockDto.getBody().setTransactionsCount(transactionsCount); + blockDto.getBody().setTransactionsCount(transactions.size()); blockDto.getBody().setTransactions(txs); return blockDto; } From 502eb3c68b0adf4999994c2afc411d4a2b3b63d5 Mon Sep 17 00:00:00 2001 From: DellWangY Date: Wed, 8 Feb 2023 10:35:25 +0800 Subject: [PATCH 27/56] test git --- AElfClient/src/main/java/io/aelf/sdk/AElfClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java index 8dccd86..822a904 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java +++ b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java @@ -117,6 +117,7 @@ private BlockChainSdk getBlockChainSdkObj() { if (blcokChainSdk == null) { blcokChainSdk = new BlockChainSdk(this.AElfClientUrl, this.version); } + return blcokChainSdk; } From bd5ed1f7e4fb6d3925e246781e6cdc01c7b8cb5d Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 10 Feb 2023 10:25:20 +0800 Subject: [PATCH 28/56] add java interface --- .../schemas/CalculateTransactionFeeInput.java | 17 ++++++++ .../main/java/io/aelf/schemas/PeerDto.java | 10 +++++ .../schemas/TransactionFeeResultOutput.java | 42 +++++++++++++++++++ .../src/main/java/io/aelf/sdk/AElfClient.java | 25 +++-------- .../main/java/io/aelf/sdk/BlockChainSdk.java | 31 +++++--------- .../src/main/java/io/aelf/sdk/NetSdk.java | 3 ++ .../java/io/aelf/sdk/BlockChainSdkTest.java | 35 +++++++++------- 7 files changed, 109 insertions(+), 54 deletions(-) create mode 100644 AElfClient/src/main/java/io/aelf/schemas/CalculateTransactionFeeInput.java create mode 100644 AElfClient/src/main/java/io/aelf/schemas/TransactionFeeResultOutput.java diff --git a/AElfClient/src/main/java/io/aelf/schemas/CalculateTransactionFeeInput.java b/AElfClient/src/main/java/io/aelf/schemas/CalculateTransactionFeeInput.java new file mode 100644 index 0000000..97245ec --- /dev/null +++ b/AElfClient/src/main/java/io/aelf/schemas/CalculateTransactionFeeInput.java @@ -0,0 +1,17 @@ +package io.aelf.schemas; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class CalculateTransactionFeeInput { + + @JsonProperty("RawTransaction") + private String RawTransaction; + + public String getRawTransaction() { + return RawTransaction; + } + + public void setRawTransaction(String rawTransaction) { + RawTransaction = rawTransaction; + } +} diff --git a/AElfClient/src/main/java/io/aelf/schemas/PeerDto.java b/AElfClient/src/main/java/io/aelf/schemas/PeerDto.java index 6223a1d..bdf4884 100644 --- a/AElfClient/src/main/java/io/aelf/schemas/PeerDto.java +++ b/AElfClient/src/main/java/io/aelf/schemas/PeerDto.java @@ -23,6 +23,8 @@ public class PeerDto { private int bufferedAnnouncementsCount; @JsonProperty("RequestMetrics") private List requestMetrics; + @JsonProperty("NodeVersion") + private String nodeVersion; public String getIpAddress() { return ipAddress; @@ -95,4 +97,12 @@ public List getRequestMetrics() { public void setRequestMetrics(List requestMetrics) { this.requestMetrics = requestMetrics; } + + public String getNodeVersion() { + return nodeVersion; + } + + public void setNodeVersion(String nodeVersion) { + this.nodeVersion = nodeVersion; + } } diff --git a/AElfClient/src/main/java/io/aelf/schemas/TransactionFeeResultOutput.java b/AElfClient/src/main/java/io/aelf/schemas/TransactionFeeResultOutput.java new file mode 100644 index 0000000..185efde --- /dev/null +++ b/AElfClient/src/main/java/io/aelf/schemas/TransactionFeeResultOutput.java @@ -0,0 +1,42 @@ +package io.aelf.schemas; + +import com.fasterxml.jackson.annotation.JsonProperty; + +import java.util.HashMap; + +public class TransactionFeeResultOutput { + @JsonProperty("Success") + + + private boolean success; + @JsonProperty("TransactionFee") + + private HashMap transactionFee; + @JsonProperty("ResourceFee") + + private HashMap resourceFee; + + public boolean isSuccess() { + return success; + } + + public void setSuccess(boolean success) { + this.success = success; + } + + public HashMap getTransactionFee() { + return transactionFee; + } + + public void setTransactionFee(HashMap transactionFee) { + this.transactionFee = transactionFee; + } + + public HashMap getResourceFee() { + return resourceFee; + } + + public void setResourceFee(HashMap resourceFee) { + this.resourceFee = resourceFee; + } +} diff --git a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java index 822a904..d4fabda 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java +++ b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java @@ -4,25 +4,7 @@ import com.google.protobuf.StringValue; import io.aelf.protobuf.generated.Client; import io.aelf.protobuf.generated.Core; -import io.aelf.schemas.AddPeerInput; -import io.aelf.schemas.BlockDto; -import io.aelf.schemas.ChainstatusDto; -import io.aelf.schemas.CreateRawTransactionInput; -import io.aelf.schemas.CreateRawTransactionOutput; -import io.aelf.schemas.ExecuteRawTransactionDto; -import io.aelf.schemas.ExecuteTransactionDto; -import io.aelf.schemas.KeyPairInfo; -import io.aelf.schemas.MerklePathDto; -import io.aelf.schemas.NetworkInfoOutput; -import io.aelf.schemas.PeerDto; -import io.aelf.schemas.SendRawTransactionInput; -import io.aelf.schemas.SendRawTransactionOutput; -import io.aelf.schemas.SendTransactionInput; -import io.aelf.schemas.SendTransactionOutput; -import io.aelf.schemas.SendTransactionsInput; -import io.aelf.schemas.TaskQueueInfoDto; -import io.aelf.schemas.TransactionPoolStatusOutput; -import io.aelf.schemas.TransactionResultDto; +import io.aelf.schemas.*; import io.aelf.utils.Base58Ext; import io.aelf.utils.ByteArrayHelper; import io.aelf.utils.JsonUtil; @@ -469,4 +451,9 @@ public boolean isConnected() { return false; } } + + public TransactionFeeResultOutput getTransactionFee(CalculateTransactionFeeInput input) throws Exception { + return this.getBlockChainSdkObj().getTransactionFeeResult(input); + } + } diff --git a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java index 00957af..b0b85c9 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java @@ -1,26 +1,6 @@ package io.aelf.sdk; -import io.aelf.schemas.BlockBodyDto; -import io.aelf.schemas.BlockDto; -import io.aelf.schemas.BlockHeaderDto; -import io.aelf.schemas.ChainstatusDto; -import io.aelf.schemas.CreateRawTransactionInput; -import io.aelf.schemas.CreateRawTransactionOutput; -import io.aelf.schemas.ExecuteRawTransactionDto; -import io.aelf.schemas.ExecuteTransactionDto; -import io.aelf.schemas.LogEventDto; -import io.aelf.schemas.MerklePathDto; -import io.aelf.schemas.MerklePathNodeDto; -import io.aelf.schemas.SendRawTransactionInput; -import io.aelf.schemas.SendRawTransactionOutput; -import io.aelf.schemas.SendTransactionInput; -import io.aelf.schemas.SendTransactionOutput; -import io.aelf.schemas.SendTransactionsInput; -import io.aelf.schemas.TaskQueueInfoDto; -import io.aelf.schemas.TransactionDto; -import io.aelf.schemas.TransactionFeeDto; -import io.aelf.schemas.TransactionPoolStatusOutput; -import io.aelf.schemas.TransactionResultDto; +import io.aelf.schemas.*; import io.aelf.utils.BitConverter; import io.aelf.utils.ClientUtil; import io.aelf.utils.HttpUtilExt; @@ -60,6 +40,7 @@ public class BlockChainSdk { private static final String WA_GETTRANSACTIONRESULTS = "/api/blockChain/transactionResults"; private static final String WA_SENDTRANSACTIONS = "/api/blockChain/sendTransactions"; private static final String WA_GETMBYTRANSACTIONID = "/api/blockChain/merklePathByTransactionId"; + private static final String WA_CALCULATETRANSACTIONFEE = "/api/blockChain/calculateTransactionFee"; /** * Object construction through the url path. @@ -372,6 +353,14 @@ public MerklePathDto getMerklePathByTransactionId(String transactionId) { } + + public TransactionFeeResultOutput getTransactionFeeResult(CalculateTransactionFeeInput input) throws Exception { + String url = this.AElfClientUrl + WA_CALCULATETRANSACTIONFEE; + String responseBody = HttpUtilExt.sendPost(url, JsonUtil.toJsonString(input), this.version); + TransactionFeeResultOutput output = JsonUtil.parseObject(responseBody, TransactionFeeResultOutput.class); + return output; + } + private BlockDto createBlockDto(MapEntry block, Boolean includeTransactions) throws Exception { if (block == null) { throw new RuntimeException("not found"); diff --git a/AElfClient/src/main/java/io/aelf/sdk/NetSdk.java b/AElfClient/src/main/java/io/aelf/sdk/NetSdk.java index 710a4e0..4d52883 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/NetSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/NetSdk.java @@ -82,6 +82,8 @@ public Boolean removePeer(String address) throws Exception { * Gets information about the peer nodes of the current node.Optional whether to include metrics. * wa:/api/net/peers?withMetrics=false */ + + public List getPeers(Boolean withMetrics) throws Exception { String url = this.AElfClientUrl + WA_GETPEERS + "?withMetrics=" + withMetrics; String peersChain = ClientUtil.sendGet(url, "UTF-8", this.version); @@ -101,6 +103,7 @@ public List getPeers(Boolean withMetrics) throws Exception { peerDtoObj.setBufferedTransactionsCount( responseBobyMapObj.getInteger("BufferedAnnouncementsCount", 0)); peerDtoObj.setRequestMetrics(new ArrayList()); + peerDtoObj.setNodeVersion(responseBobyMapObj.getString("NodeVersion","")); List requestMetricsList = responseBobyMapObj .getArrayList("RequestMetrics", new ArrayList()); for (LinkedHashMap requestMetricsObj : requestMetricsList) { diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 2f26b45..0177e04 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -8,20 +8,7 @@ import io.aelf.protobuf.generated.TokenContract.GetBalanceOutput; import io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged; import io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.Builder; -import io.aelf.schemas.BlockDto; -import io.aelf.schemas.ChainstatusDto; -import io.aelf.schemas.CreateRawTransactionInput; -import io.aelf.schemas.CreateRawTransactionOutput; -import io.aelf.schemas.ExecuteRawTransactionDto; -import io.aelf.schemas.ExecuteTransactionDto; -import io.aelf.schemas.KeyPairInfo; -import io.aelf.schemas.LogEventDto; -import io.aelf.schemas.SendRawTransactionInput; -import io.aelf.schemas.SendTransactionInput; -import io.aelf.schemas.SendTransactionOutput; -import io.aelf.schemas.SendTransactionsInput; -import io.aelf.schemas.TaskQueueInfoDto; -import io.aelf.schemas.TransactionResultDto; +import io.aelf.schemas.*; import io.aelf.sdk.AElfClient; import io.aelf.utils.ByteArrayHelper; import io.aelf.utils.JsonUtil; @@ -414,6 +401,26 @@ public void potobuffTest() throws Exception { client.sendTransaction(sendTransactionInputObj); } + @Test + public void getTransactionFeeResultTest() throws Exception { + String toAddress = client.getGenesisContractAddress(); + final String methodName = "GetContractAddressByName"; + byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Token"); + ChainstatusDto status = client.getChainStatus(); + final long height = status.getBestChainHeight(); + final String blockHash = status.getBestChainHash(); + MapEntry mapParamsObj = Maps.newMapEntry(); + Base64 base64 = new Base64(); + mapParamsObj.put("value", base64.encodeToString(paramBytes)); + String param = JsonUtil.toJsonString(mapParamsObj); + CreateRawTransactionInput createRawTransactionInputObj = createRowBuild(toAddress, methodName, + param, height, blockHash); + CreateRawTransactionOutput out = client.createRawTransaction(createRawTransactionInputObj); + CalculateTransactionFeeInput input = new CalculateTransactionFeeInput(); + input.setRawTransaction(out.getRawTransaction()); + client.getTransactionFee(input); + } + private Core.Transaction buildTransaction(String toAddress, String methodName, byte[] tmp) From c6a8daac847e5a72c533420b385930350d5aa8f2 Mon Sep 17 00:00:00 2001 From: wangyue Date: Tue, 14 Feb 2023 18:26:22 +0800 Subject: [PATCH 29/56] add new message --- .../src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 9 +++++---- AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 0177e04..bd6a79f 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -29,10 +29,10 @@ public class BlockChainSdkTest { - static final String HTTPURL = "http://127.0.0.1:8000"; + static final String HTTPURL = "http://127.0.0.1:8001"; AElfClient client = null; - String privateKey = "cd86ab6347d8e52bbbe8532141fc59ce596268143a308d1d40fedf385528b458"; - String address = ""; + String privateKey = "e3ca0260c3e50526fda2dd3ea8f42476d28d63dfced53e25954d04c2f0c88f17"; + String address = "GYMiWZFExk7eTVkWRtjtNtWYiFEgs8Bde7mcMKFKbs5zGRmU6"; /** * init junit. @@ -418,7 +418,8 @@ public void getTransactionFeeResultTest() throws Exception { CreateRawTransactionOutput out = client.createRawTransaction(createRawTransactionInputObj); CalculateTransactionFeeInput input = new CalculateTransactionFeeInput(); input.setRawTransaction(out.getRawTransaction()); - client.getTransactionFee(input); + TransactionFeeResultOutput output = client.getTransactionFee(input); + System.out.println(JsonUtil.toJsonString(output)); } diff --git a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java index df236b9..2ab5698 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java @@ -1,6 +1,7 @@ package io.aelf.sdk; import io.aelf.schemas.AddPeerInput; +import io.aelf.schemas.NetworkInfoOutput; import io.aelf.schemas.PeerDto; import io.aelf.sdk.AElfClient; import java.util.List; @@ -11,7 +12,7 @@ public class NetSdkTest { - static final String HTTPURL = "http://127.0.0.1:8000"; + static final String HTTPURL = "http://127.0.0.1:8001"; static final String OPREATIONADDRESS = "127.0.0.1:7003"; AElfClient client = null; From 90796cb91fd887122291a0ad581c75751107ae75 Mon Sep 17 00:00:00 2001 From: wangyue Date: Thu, 16 Feb 2023 14:44:55 +0800 Subject: [PATCH 30/56] update base url --- AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 6 +++--- AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index bd6a79f..a4efae8 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -29,10 +29,10 @@ public class BlockChainSdkTest { - static final String HTTPURL = "http://127.0.0.1:8001"; + static final String HTTPURL = "http://127.0.0.1:8000"; AElfClient client = null; - String privateKey = "e3ca0260c3e50526fda2dd3ea8f42476d28d63dfced53e25954d04c2f0c88f17"; - String address = "GYMiWZFExk7eTVkWRtjtNtWYiFEgs8Bde7mcMKFKbs5zGRmU6"; + String privateKey = "cd86ab6347d8e52bbbe8532141fc59ce596268143a308d1d40fedf385528b458"; + String address = ""; /** * init junit. diff --git a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java index 2ab5698..edb68b3 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java @@ -12,7 +12,7 @@ public class NetSdkTest { - static final String HTTPURL = "http://127.0.0.1:8001"; + static final String HTTPURL = "http://127.0.0.1:8000"; static final String OPREATIONADDRESS = "127.0.0.1:7003"; AElfClient client = null; From dfa7ff3446d7e24d4fa0dab23b3af9475fd42784 Mon Sep 17 00:00:00 2001 From: wangyue Date: Thu, 16 Feb 2023 15:58:23 +0800 Subject: [PATCH 31/56] update codes --- .../java/io/aelf/sdk/BlockChainSdkTest.java | 832 +++++++++--------- .../src/test/java/io/aelf/sdk/NetSdkTest.java | 68 +- 2 files changed, 450 insertions(+), 450 deletions(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index a4efae8..3f4b089 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -17,10 +17,12 @@ import io.aelf.utils.Sha256; import io.aelf.utils.StringUtil; import io.aelf.utils.TransactionResultDtoExtension; + import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.List; + import org.apache.commons.codec.binary.Base64; import org.bouncycastle.util.encoders.Hex; import org.junit.Assert; @@ -29,421 +31,417 @@ public class BlockChainSdkTest { - static final String HTTPURL = "http://127.0.0.1:8000"; - AElfClient client = null; - String privateKey = "cd86ab6347d8e52bbbe8532141fc59ce596268143a308d1d40fedf385528b458"; - String address = ""; - - /** - * init junit. - * - * @throws Exception not blank - */ - @Before - public void init() throws Exception { - client = new AElfClient(HTTPURL); - address = client.getAddressFromPrivateKey(privateKey); - } - - @Test - public void getTransactionFeeTest() throws Exception { - TransactionResultDto transactionResultDto = new TransactionResultDto(); - transactionResultDto.setLogs(new ArrayList<>()); - - LogEventDto logEventDto=new LogEventDto(); - logEventDto.setName("TransactionFeeCharged"); - Base64 base64 = new Base64(); - Builder tfeeCharged=TransactionFeeCharged.newBuilder(); - tfeeCharged.setSymbol("ELF"); - tfeeCharged.setAmount(1000); - String nonIndexed=base64.encodeToString(tfeeCharged.build().toByteArray()); - logEventDto.setNonIndexed(nonIndexed); - transactionResultDto.getLogs().add(logEventDto); - - logEventDto=new LogEventDto(); - logEventDto.setName("ResourceTokenCharged"); - tfeeCharged=TransactionFeeCharged.newBuilder(); - tfeeCharged.setSymbol("READ"); - tfeeCharged.setAmount(800); - nonIndexed=base64.encodeToString(tfeeCharged.build().toByteArray()); - logEventDto.setNonIndexed(nonIndexed); - transactionResultDto.getLogs().add(logEventDto); - - logEventDto=new LogEventDto(); - logEventDto.setName("ResourceTokenCharged"); - tfeeCharged=TransactionFeeCharged.newBuilder(); - tfeeCharged.setSymbol("WRITE"); - tfeeCharged.setAmount(600); - nonIndexed=base64.encodeToString(tfeeCharged.build().toByteArray()); - logEventDto.setNonIndexed(nonIndexed); - transactionResultDto.getLogs().add(logEventDto); - - logEventDto=new LogEventDto(); - logEventDto.setName("ResourceTokenOwned"); - tfeeCharged=TransactionFeeCharged.newBuilder(); - tfeeCharged.setSymbol("READ"); - tfeeCharged.setAmount(200); - nonIndexed=base64.encodeToString(tfeeCharged.build().toByteArray()); - logEventDto.setNonIndexed(nonIndexed); - transactionResultDto.getLogs().add(logEventDto); - - HashMap transactionFees = TransactionResultDtoExtension.getTransactionFees(transactionResultDto); - Assert.assertTrue(transactionFees.keySet().size()==3); - Assert.assertTrue(transactionFees.get("ELF")==1000); - Assert.assertTrue(transactionFees.get("READ")==800); - Assert.assertTrue(transactionFees.get("WRITE")==600); - - transactionResultDto = new TransactionResultDto(); - transactionResultDto.setLogs(new ArrayList<>()); - transactionFees = TransactionResultDtoExtension.getTransactionFees(transactionResultDto); - Assert.assertTrue(transactionFees.size()==0); - - } - - - @Test - public void getAddressFromPubKeyTest() { - org.bitcoinj.core.ECKey aelfKey = org.bitcoinj.core.ECKey - .fromPrivate(new BigInteger(privateKey, 16)).decompress(); - String pubKey = Hex.toHexString(aelfKey.getPubKey()); - String pubKeyAddress = client.getAddressFromPubKey(pubKey); - Assert.assertTrue(pubKeyAddress.equals(address)); - } - - @Test - public void getFormattedAddressTest() throws Exception { - String addressVal = client.getFormattedAddress(privateKey, address); - Assert.assertTrue(("ELF_" + address + "_AELF").equals(addressVal)); - } - - @Test - public void getNewKeyPairInfoTest() throws Exception { - KeyPairInfo keyPairInfo = client.generateKeyPairInfo(); - Assert.assertEquals(client.getAddressFromPrivateKey(keyPairInfo.getPrivateKey()), - keyPairInfo.getAddress()); - } - - @Test - public void getPublicKeyAsHexTest() throws Exception { - Assert.assertTrue("SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM".equals(address)); - } - - @Test - public void getBlockHeightTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - } - - @Test - public void getBlockByHeightDefaultTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - client.getBlockByHeight(blockHeight); - } - - - @Test - public void getBlockByHeightForFalseTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - client.getBlockByHeight(blockHeight, false); - } - - @Test - public void getBlockByHeightForTrueTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - client.getBlockByHeight(blockHeight, true); - } - - - @Test - public void getBlockByHashDefaultTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - BlockDto blockDto = client.getBlockByHeight(blockHeight); - client.getBlockByHash(blockDto.getBlockHash()); - } - - @Test - public void getBlockByHashForFalseTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - BlockDto blockDto = client.getBlockByHeight(blockHeight, false); - client.getBlockByHash(blockDto.getBlockHash()); - } - - @Test - public void getBlockByHashForFalseTrue() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - BlockDto blockDto = client.getBlockByHeight(blockHeight, true); - client.getBlockByHash(blockDto.getBlockHash()); - } - - @Test - public void getTransactionPoolStatusTest() throws Exception { - client.getTransactionPoolStatus(); - } - - @Test - public void getChainStatusTest() throws Exception { - client.getChainStatus(); - } - - @Test - public void getContractFileDescriptorSetTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - BlockDto blockDto = client.getBlockByHeight(blockHeight, false); - List transactionResultDtoList = client - .getTransactionResults(blockDto.getBlockHash(), 0, 10); - for (TransactionResultDto transactionResultDtoObj : transactionResultDtoList) { - client - .getContractFileDescriptorSet(transactionResultDtoObj.getTransaction().getTo()); - } - } - - @Test - public void getTaskQueueStatusTest() throws Exception { - List listTaskQueue = client.getTaskQueueStatus(); - Assert.assertTrue(listTaskQueue.size() > 0); - } - - @Test - public void executeTransactionTest() throws Exception { - String toAddress = client.getGenesisContractAddress(); - String methodName = "GetContractAddressByName"; - byte[] bytes = Sha256.getBytesSha256("AElf.ContractNames.TokenConverter"); - Client.Hash.Builder hash = Client.Hash.newBuilder(); - hash.setValue(ByteString.copyFrom(bytes)); - Client.Hash hashObj = hash.build(); - Core.Transaction.Builder transaction = client - .generateTransaction(address, toAddress, methodName, hashObj.toByteArray()); - Core.Transaction transactionObj = transaction.build(); - String signature = client.signTransaction(privateKey, transactionObj); - transaction.setSignature(ByteString.copyFrom(ByteArrayHelper.hexToByteArray(signature))); - transactionObj = transaction.build(); - ExecuteTransactionDto executeTransactionDtoObj = new ExecuteTransactionDto(); - executeTransactionDtoObj.setRawTransaction(Hex.toHexString(transactionObj.toByteArray())); - client.executeTransaction(executeTransactionDtoObj); - } - - @Test - public void executeRawTransactionTest() throws Exception { - String toAddress = client.getGenesisContractAddress(); - final String methodName = "GetContractAddressByName"; - byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Consensus"); - ChainstatusDto status = client.getChainStatus(); - final long height = status.getBestChainHeight(); - final String blockHash = status.getBestChainHash(); - MapEntry mapParamsObj = Maps.newMapEntry(); - Base64 base64 = new Base64(); - mapParamsObj.put("value", base64.encodeToString(paramBytes)); - String param = JsonUtil.toJsonString(mapParamsObj); - CreateRawTransactionInput createRawTransactionInputObj = createRowBuild(toAddress, methodName, - param, height, blockHash); - CreateRawTransactionOutput createRawTransactionOutputObj = client - .createRawTransaction(createRawTransactionInputObj); - byte[] rawTransactionBytes = ByteArrayHelper - .hexToByteArray(createRawTransactionOutputObj.getRawTransaction()); - byte[] transactionId = Sha256.getBytesSha256(rawTransactionBytes); - String signature = client.getSignatureWithPrivateKey(privateKey, transactionId); - ExecuteRawTransactionDto executeRawTransactionDtoObj = new ExecuteRawTransactionDto(); - executeRawTransactionDtoObj - .setRawTransaction(createRawTransactionOutputObj.getRawTransaction()); - executeRawTransactionDtoObj.setSignature(signature); - client.executeRawTransaction(executeRawTransactionDtoObj); - } - - @Test - public void createRawTransactionTest() throws Exception { - String toAddress = client.getGenesisContractAddress(); - final String methodName = "GetContractAddressByName"; - byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Token"); - ChainstatusDto status = client.getChainStatus(); - final long height = status.getBestChainHeight(); - final String blockHash = status.getBestChainHash(); - MapEntry mapParamsObj = Maps.newMapEntry(); - Base64 base64 = new Base64(); - mapParamsObj.put("value", base64.encodeToString(paramBytes)); - String param = JsonUtil.toJsonString(mapParamsObj); - CreateRawTransactionInput createRawTransactionInputObj = createRowBuild(toAddress, methodName, - param, height, blockHash); - client.createRawTransaction(createRawTransactionInputObj); - } - - @Test - public void sendRawTransactionTest() throws Exception { - final String toAddress = client.getGenesisContractAddress(); - final String methodName = "GetContractAddressByName"; - byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Token"); - ChainstatusDto status = client.getChainStatus(); - final long height = status.getBestChainHeight(); - final String blockHash = status.getBestChainHash(); - MapEntry mapParamsObj = Maps.newMapEntry(); - Base64 base64 = new Base64(); - mapParamsObj.put("value", base64.encodeToString(paramBytes)); - String param = JsonUtil.toJsonString(mapParamsObj); - CreateRawTransactionInput createRawTransactionInputObj = createRowBuild(toAddress, methodName, - param, height, blockHash); - CreateRawTransactionOutput createRawTransactionOutputObj = client - .createRawTransaction(createRawTransactionInputObj); - byte[] rawTransactionBytes = ByteArrayHelper - .hexToByteArray(createRawTransactionOutputObj.getRawTransaction()); - byte[] transactionId = Sha256.getBytesSha256(rawTransactionBytes); - String signature = client.getSignatureWithPrivateKey(privateKey, transactionId); - SendRawTransactionInput sendRawTransactionInputObj = new SendRawTransactionInput(); - sendRawTransactionInputObj.setTransaction(createRawTransactionOutputObj.getRawTransaction()); - sendRawTransactionInputObj.setSignature(signature); - sendRawTransactionInputObj.setReturnTransaction(true); - client.sendRawTransaction(sendRawTransactionInputObj); - } - - @Test - public void sendTransactionTest() throws Exception { - String toAddress = client.getGenesisContractAddress(); - String methodName = "GetContractAddressByName"; - byte[] bytes = Sha256.getBytesSha256("AElf.ContractNames.Vote"); - Client.Hash.Builder hash = Client.Hash.newBuilder(); - hash.setValue(ByteString.copyFrom(bytes)); - Client.Hash hashObj = hash.build(); - Core.Transaction transactionObj = buildTransaction(toAddress, methodName, hashObj.toByteArray()); - SendTransactionInput sendTransactionInputObj = new SendTransactionInput(); - sendTransactionInputObj.setRawTransaction(Hex.toHexString(transactionObj.toByteArray())); - client.sendTransaction(sendTransactionInputObj); - } - - @Test - public void sendTransactionsTest() throws Exception { - String toAddress = client.getGenesisContractAddress(); - byte[] param1 = Sha256.getBytesSha256("AElf.ContractNames.Token"); - byte[] param2 = Sha256.getBytesSha256("AElf.ContractNames.Vote"); - String methodName = "GetContractAddressByName"; - List parameters = new ArrayList(); - parameters.add(param1); - parameters.add(param2); - for (byte[] tmp : parameters) { - Client.Hash.Builder hash = Client.Hash.newBuilder(); - hash.setValue(ByteString.copyFrom(tmp)); - Client.Hash hashObj = hash.build(); - Core.Transaction transactionObj = buildTransaction(toAddress, methodName, hashObj.toByteArray()); - SendTransactionsInput sendTransactionsInputs = new SendTransactionsInput(); - String rawTransactions = Hex.toHexString(transactionObj.toByteArray()); - sendTransactionsInputs.setRawTransactions(rawTransactions); - List listString = client - .sendTransactions(sendTransactionsInputs); - Assert.assertTrue(listString.size() > 0); - } - } - - - @Test - public void getTransactionResultsTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - BlockDto blockDto = client.getBlockByHeight(blockHeight, false); - client.getTransactionResults(blockDto.getBlockHash(), 0, 10); - } - - - - - - @Test - public void getTransactionResultTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - BlockDto blockDto = client.getBlockByHeight(blockHeight, false); - List transactionResultDtoList = client - .getTransactionResults(blockDto.getBlockHash(), 0, 10); - for (TransactionResultDto transactionResultDtoObj : transactionResultDtoList) { - client - .getTransactionResult(transactionResultDtoObj.getTransactionId()); - } - } - - @Test - public void getMerklePathByTransactionIdTest() throws Exception { - long blockHeight = client.getBlockHeight(); - Assert.assertTrue(blockHeight > 0); - BlockDto blockDto = client.getBlockByHeight(blockHeight, false); - List transactionResultDtoList = client - .getTransactionResults(blockDto.getBlockHash(), 0, 10); - for (TransactionResultDto transactionResultDtoObj : transactionResultDtoList) { - client - .getMerklePathByTransactionId(transactionResultDtoObj.getTransactionId()); - } - } - - @Test - public void getChainIdTest() throws Exception { - int chainId = client.getChainId(); - Assert.assertTrue(chainId == 9992731); - } - - @Test - public void isConnectedTest() { - Assert.assertTrue(client.isConnected()); - } - - @Test - public void potobuffTest() throws Exception { - String toAddress = client.getGenesisContractAddress(); - byte[] bytes = Sha256.getBytesSha256("AElf.ContractNames.Vote"); - String methodName = "GetContractAddressByName"; - Client.Hash.Builder hash = Client.Hash.newBuilder(); - hash.setValue(ByteString.copyFrom(bytes)); - Client.Hash hashObj = hash.build(); - Core.Transaction transactionObj = buildTransaction(toAddress, methodName, hashObj.toByteArray()); - SendTransactionInput sendTransactionInputObj = new SendTransactionInput(); - sendTransactionInputObj.setRawTransaction(Hex.toHexString(transactionObj.toByteArray())); - client.sendTransaction(sendTransactionInputObj); - } - - @Test - public void getTransactionFeeResultTest() throws Exception { - String toAddress = client.getGenesisContractAddress(); - final String methodName = "GetContractAddressByName"; - byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Token"); - ChainstatusDto status = client.getChainStatus(); - final long height = status.getBestChainHeight(); - final String blockHash = status.getBestChainHash(); - MapEntry mapParamsObj = Maps.newMapEntry(); - Base64 base64 = new Base64(); - mapParamsObj.put("value", base64.encodeToString(paramBytes)); - String param = JsonUtil.toJsonString(mapParamsObj); - CreateRawTransactionInput createRawTransactionInputObj = createRowBuild(toAddress, methodName, - param, height, blockHash); - CreateRawTransactionOutput out = client.createRawTransaction(createRawTransactionInputObj); - CalculateTransactionFeeInput input = new CalculateTransactionFeeInput(); - input.setRawTransaction(out.getRawTransaction()); - TransactionFeeResultOutput output = client.getTransactionFee(input); - System.out.println(JsonUtil.toJsonString(output)); - } - - - - private Core.Transaction buildTransaction(String toAddress, String methodName, byte[] tmp) - throws Exception { - Core.Transaction.Builder transaction = client - .generateTransaction(address, toAddress, methodName, tmp); - Core.Transaction transactionObj = transaction.build(); - String signature = client.signTransaction(privateKey, transactionObj); - transaction.setSignature(ByteString.copyFrom(ByteArrayHelper.hexToByteArray(signature))); - transactionObj = transaction.build(); - return transactionObj; - } - - private CreateRawTransactionInput createRowBuild(String toAddress, String methodName, - String param, long height, String blockHash) { - CreateRawTransactionInput createRawTransactionInputObj = new CreateRawTransactionInput(); - createRawTransactionInputObj.setFrom(address); - createRawTransactionInputObj.setTo(toAddress); - createRawTransactionInputObj.setMethodName(methodName); - createRawTransactionInputObj.setParams(param); - createRawTransactionInputObj.setRefBlockNumber(height); - createRawTransactionInputObj.setRefBlockHash(blockHash); - return createRawTransactionInputObj; - } + static final String HTTPURL = "http://127.0.0.1:8000"; + AElfClient client = null; + String privateKey = "cd86ab6347d8e52bbbe8532141fc59ce596268143a308d1d40fedf385528b458"; + String address = ""; + + /** + * init junit. + * + * @throws Exception not blank + */ + @Before + public void init() throws Exception { + client = new AElfClient(HTTPURL); + address = client.getAddressFromPrivateKey(privateKey); + } + + @Test + public void getTransactionFeeTest() throws Exception { + TransactionResultDto transactionResultDto = new TransactionResultDto(); + transactionResultDto.setLogs(new ArrayList<>()); + + LogEventDto logEventDto = new LogEventDto(); + logEventDto.setName("TransactionFeeCharged"); + Base64 base64 = new Base64(); + Builder tfeeCharged = TransactionFeeCharged.newBuilder(); + tfeeCharged.setSymbol("ELF"); + tfeeCharged.setAmount(1000); + String nonIndexed = base64.encodeToString(tfeeCharged.build().toByteArray()); + logEventDto.setNonIndexed(nonIndexed); + transactionResultDto.getLogs().add(logEventDto); + + logEventDto = new LogEventDto(); + logEventDto.setName("ResourceTokenCharged"); + tfeeCharged = TransactionFeeCharged.newBuilder(); + tfeeCharged.setSymbol("READ"); + tfeeCharged.setAmount(800); + nonIndexed = base64.encodeToString(tfeeCharged.build().toByteArray()); + logEventDto.setNonIndexed(nonIndexed); + transactionResultDto.getLogs().add(logEventDto); + + logEventDto = new LogEventDto(); + logEventDto.setName("ResourceTokenCharged"); + tfeeCharged = TransactionFeeCharged.newBuilder(); + tfeeCharged.setSymbol("WRITE"); + tfeeCharged.setAmount(600); + nonIndexed = base64.encodeToString(tfeeCharged.build().toByteArray()); + logEventDto.setNonIndexed(nonIndexed); + transactionResultDto.getLogs().add(logEventDto); + + logEventDto = new LogEventDto(); + logEventDto.setName("ResourceTokenOwned"); + tfeeCharged = TransactionFeeCharged.newBuilder(); + tfeeCharged.setSymbol("READ"); + tfeeCharged.setAmount(200); + nonIndexed = base64.encodeToString(tfeeCharged.build().toByteArray()); + logEventDto.setNonIndexed(nonIndexed); + transactionResultDto.getLogs().add(logEventDto); + + HashMap transactionFees = TransactionResultDtoExtension.getTransactionFees(transactionResultDto); + Assert.assertTrue(transactionFees.keySet().size() == 3); + Assert.assertTrue(transactionFees.get("ELF") == 1000); + Assert.assertTrue(transactionFees.get("READ") == 800); + Assert.assertTrue(transactionFees.get("WRITE") == 600); + + transactionResultDto = new TransactionResultDto(); + transactionResultDto.setLogs(new ArrayList<>()); + transactionFees = TransactionResultDtoExtension.getTransactionFees(transactionResultDto); + Assert.assertTrue(transactionFees.size() == 0); + + } + + + @Test + public void getAddressFromPubKeyTest() { + org.bitcoinj.core.ECKey aelfKey = org.bitcoinj.core.ECKey + .fromPrivate(new BigInteger(privateKey, 16)).decompress(); + String pubKey = Hex.toHexString(aelfKey.getPubKey()); + String pubKeyAddress = client.getAddressFromPubKey(pubKey); + Assert.assertTrue(pubKeyAddress.equals(address)); + } + + @Test + public void getFormattedAddressTest() throws Exception { + String addressVal = client.getFormattedAddress(privateKey, address); + Assert.assertTrue(("ELF_" + address + "_AELF").equals(addressVal)); + } + + @Test + public void getNewKeyPairInfoTest() throws Exception { + KeyPairInfo keyPairInfo = client.generateKeyPairInfo(); + Assert.assertEquals(client.getAddressFromPrivateKey(keyPairInfo.getPrivateKey()), + keyPairInfo.getAddress()); + } + + @Test + public void getPublicKeyAsHexTest() throws Exception { + Assert.assertTrue("SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM".equals(address)); + } + + @Test + public void getBlockHeightTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + } + + @Test + public void getBlockByHeightDefaultTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + client.getBlockByHeight(blockHeight); + } + + + @Test + public void getBlockByHeightForFalseTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + client.getBlockByHeight(blockHeight, false); + } + + @Test + public void getBlockByHeightForTrueTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + client.getBlockByHeight(blockHeight, true); + } + + + @Test + public void getBlockByHashDefaultTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + BlockDto blockDto = client.getBlockByHeight(blockHeight); + client.getBlockByHash(blockDto.getBlockHash()); + } + + @Test + public void getBlockByHashForFalseTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + BlockDto blockDto = client.getBlockByHeight(blockHeight, false); + client.getBlockByHash(blockDto.getBlockHash()); + } + + @Test + public void getBlockByHashForFalseTrue() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + BlockDto blockDto = client.getBlockByHeight(blockHeight, true); + client.getBlockByHash(blockDto.getBlockHash()); + } + + @Test + public void getTransactionPoolStatusTest() throws Exception { + client.getTransactionPoolStatus(); + } + + @Test + public void getChainStatusTest() throws Exception { + client.getChainStatus(); + } + + @Test + public void getContractFileDescriptorSetTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + BlockDto blockDto = client.getBlockByHeight(blockHeight, false); + List transactionResultDtoList = client + .getTransactionResults(blockDto.getBlockHash(), 0, 10); + for (TransactionResultDto transactionResultDtoObj : transactionResultDtoList) { + client + .getContractFileDescriptorSet(transactionResultDtoObj.getTransaction().getTo()); + } + } + + @Test + public void getTaskQueueStatusTest() throws Exception { + List listTaskQueue = client.getTaskQueueStatus(); + Assert.assertTrue(listTaskQueue.size() > 0); + } + + @Test + public void executeTransactionTest() throws Exception { + String toAddress = client.getGenesisContractAddress(); + String methodName = "GetContractAddressByName"; + byte[] bytes = Sha256.getBytesSha256("AElf.ContractNames.TokenConverter"); + Client.Hash.Builder hash = Client.Hash.newBuilder(); + hash.setValue(ByteString.copyFrom(bytes)); + Client.Hash hashObj = hash.build(); + Core.Transaction.Builder transaction = client + .generateTransaction(address, toAddress, methodName, hashObj.toByteArray()); + Core.Transaction transactionObj = transaction.build(); + String signature = client.signTransaction(privateKey, transactionObj); + transaction.setSignature(ByteString.copyFrom(ByteArrayHelper.hexToByteArray(signature))); + transactionObj = transaction.build(); + ExecuteTransactionDto executeTransactionDtoObj = new ExecuteTransactionDto(); + executeTransactionDtoObj.setRawTransaction(Hex.toHexString(transactionObj.toByteArray())); + client.executeTransaction(executeTransactionDtoObj); + } + + @Test + public void executeRawTransactionTest() throws Exception { + String toAddress = client.getGenesisContractAddress(); + final String methodName = "GetContractAddressByName"; + byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Consensus"); + ChainstatusDto status = client.getChainStatus(); + final long height = status.getBestChainHeight(); + final String blockHash = status.getBestChainHash(); + MapEntry mapParamsObj = Maps.newMapEntry(); + Base64 base64 = new Base64(); + mapParamsObj.put("value", base64.encodeToString(paramBytes)); + String param = JsonUtil.toJsonString(mapParamsObj); + CreateRawTransactionInput createRawTransactionInputObj = createRowBuild(toAddress, methodName, + param, height, blockHash); + CreateRawTransactionOutput createRawTransactionOutputObj = client + .createRawTransaction(createRawTransactionInputObj); + byte[] rawTransactionBytes = ByteArrayHelper + .hexToByteArray(createRawTransactionOutputObj.getRawTransaction()); + byte[] transactionId = Sha256.getBytesSha256(rawTransactionBytes); + String signature = client.getSignatureWithPrivateKey(privateKey, transactionId); + ExecuteRawTransactionDto executeRawTransactionDtoObj = new ExecuteRawTransactionDto(); + executeRawTransactionDtoObj + .setRawTransaction(createRawTransactionOutputObj.getRawTransaction()); + executeRawTransactionDtoObj.setSignature(signature); + client.executeRawTransaction(executeRawTransactionDtoObj); + } + + @Test + public void createRawTransactionTest() throws Exception { + String toAddress = client.getGenesisContractAddress(); + final String methodName = "GetContractAddressByName"; + byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Token"); + ChainstatusDto status = client.getChainStatus(); + final long height = status.getBestChainHeight(); + final String blockHash = status.getBestChainHash(); + MapEntry mapParamsObj = Maps.newMapEntry(); + Base64 base64 = new Base64(); + mapParamsObj.put("value", base64.encodeToString(paramBytes)); + String param = JsonUtil.toJsonString(mapParamsObj); + CreateRawTransactionInput createRawTransactionInputObj = createRowBuild(toAddress, methodName, + param, height, blockHash); + client.createRawTransaction(createRawTransactionInputObj); + } + + @Test + public void sendRawTransactionTest() throws Exception { + final String toAddress = client.getGenesisContractAddress(); + final String methodName = "GetContractAddressByName"; + byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Token"); + ChainstatusDto status = client.getChainStatus(); + final long height = status.getBestChainHeight(); + final String blockHash = status.getBestChainHash(); + MapEntry mapParamsObj = Maps.newMapEntry(); + Base64 base64 = new Base64(); + mapParamsObj.put("value", base64.encodeToString(paramBytes)); + String param = JsonUtil.toJsonString(mapParamsObj); + CreateRawTransactionInput createRawTransactionInputObj = createRowBuild(toAddress, methodName, + param, height, blockHash); + CreateRawTransactionOutput createRawTransactionOutputObj = client + .createRawTransaction(createRawTransactionInputObj); + byte[] rawTransactionBytes = ByteArrayHelper + .hexToByteArray(createRawTransactionOutputObj.getRawTransaction()); + byte[] transactionId = Sha256.getBytesSha256(rawTransactionBytes); + String signature = client.getSignatureWithPrivateKey(privateKey, transactionId); + SendRawTransactionInput sendRawTransactionInputObj = new SendRawTransactionInput(); + sendRawTransactionInputObj.setTransaction(createRawTransactionOutputObj.getRawTransaction()); + sendRawTransactionInputObj.setSignature(signature); + sendRawTransactionInputObj.setReturnTransaction(true); + client.sendRawTransaction(sendRawTransactionInputObj); + } + + @Test + public void sendTransactionTest() throws Exception { + String toAddress = client.getGenesisContractAddress(); + String methodName = "GetContractAddressByName"; + byte[] bytes = Sha256.getBytesSha256("AElf.ContractNames.Vote"); + Client.Hash.Builder hash = Client.Hash.newBuilder(); + hash.setValue(ByteString.copyFrom(bytes)); + Client.Hash hashObj = hash.build(); + Core.Transaction transactionObj = buildTransaction(toAddress, methodName, hashObj.toByteArray()); + SendTransactionInput sendTransactionInputObj = new SendTransactionInput(); + sendTransactionInputObj.setRawTransaction(Hex.toHexString(transactionObj.toByteArray())); + client.sendTransaction(sendTransactionInputObj); + } + + @Test + public void sendTransactionsTest() throws Exception { + String toAddress = client.getGenesisContractAddress(); + byte[] param1 = Sha256.getBytesSha256("AElf.ContractNames.Token"); + byte[] param2 = Sha256.getBytesSha256("AElf.ContractNames.Vote"); + String methodName = "GetContractAddressByName"; + List parameters = new ArrayList(); + parameters.add(param1); + parameters.add(param2); + for (byte[] tmp : parameters) { + Client.Hash.Builder hash = Client.Hash.newBuilder(); + hash.setValue(ByteString.copyFrom(tmp)); + Client.Hash hashObj = hash.build(); + Core.Transaction transactionObj = buildTransaction(toAddress, methodName, hashObj.toByteArray()); + SendTransactionsInput sendTransactionsInputs = new SendTransactionsInput(); + String rawTransactions = Hex.toHexString(transactionObj.toByteArray()); + sendTransactionsInputs.setRawTransactions(rawTransactions); + List listString = client + .sendTransactions(sendTransactionsInputs); + Assert.assertTrue(listString.size() > 0); + } + } + + + @Test + public void getTransactionResultsTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + BlockDto blockDto = client.getBlockByHeight(blockHeight, false); + client.getTransactionResults(blockDto.getBlockHash(), 0, 10); + } + + + @Test + public void getTransactionResultTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + BlockDto blockDto = client.getBlockByHeight(blockHeight, false); + List transactionResultDtoList = client + .getTransactionResults(blockDto.getBlockHash(), 0, 10); + for (TransactionResultDto transactionResultDtoObj : transactionResultDtoList) { + client + .getTransactionResult(transactionResultDtoObj.getTransactionId()); + } + } + + @Test + public void getMerklePathByTransactionIdTest() throws Exception { + long blockHeight = client.getBlockHeight(); + Assert.assertTrue(blockHeight > 0); + BlockDto blockDto = client.getBlockByHeight(blockHeight, false); + List transactionResultDtoList = client + .getTransactionResults(blockDto.getBlockHash(), 0, 10); + for (TransactionResultDto transactionResultDtoObj : transactionResultDtoList) { + client + .getMerklePathByTransactionId(transactionResultDtoObj.getTransactionId()); + } + } + + @Test + public void getChainIdTest() throws Exception { + int chainId = client.getChainId(); + Assert.assertTrue(chainId == 9992731); + } + + @Test + public void isConnectedTest() { + Assert.assertTrue(client.isConnected()); + } + + @Test + public void potobuffTest() throws Exception { + String toAddress = client.getGenesisContractAddress(); + byte[] bytes = Sha256.getBytesSha256("AElf.ContractNames.Vote"); + String methodName = "GetContractAddressByName"; + Client.Hash.Builder hash = Client.Hash.newBuilder(); + hash.setValue(ByteString.copyFrom(bytes)); + Client.Hash hashObj = hash.build(); + Core.Transaction transactionObj = buildTransaction(toAddress, methodName, hashObj.toByteArray()); + SendTransactionInput sendTransactionInputObj = new SendTransactionInput(); + sendTransactionInputObj.setRawTransaction(Hex.toHexString(transactionObj.toByteArray())); + client.sendTransaction(sendTransactionInputObj); + } + + @Test + public void getTransactionFeeResultTest() throws Exception { + String toAddress = client.getGenesisContractAddress(); + final String methodName = "GetContractAddressByName"; + byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Token"); + ChainstatusDto status = client.getChainStatus(); + final long height = status.getBestChainHeight(); + final String blockHash = status.getBestChainHash(); + MapEntry mapParamsObj = Maps.newMapEntry(); + Base64 base64 = new Base64(); + mapParamsObj.put("value", base64.encodeToString(paramBytes)); + String param = JsonUtil.toJsonString(mapParamsObj); + CreateRawTransactionInput createRawTransactionInputObj = createRowBuild(toAddress, methodName, + param, height, blockHash); + CreateRawTransactionOutput out = client.createRawTransaction(createRawTransactionInputObj); + CalculateTransactionFeeInput input = new CalculateTransactionFeeInput(); + input.setRawTransaction(out.getRawTransaction()); + TransactionFeeResultOutput output = client.getTransactionFee(input); + System.out.println(JsonUtil.toJsonString(output)); + } + + + private Core.Transaction buildTransaction(String toAddress, String methodName, byte[] tmp) + throws Exception { + Core.Transaction.Builder transaction = client + .generateTransaction(address, toAddress, methodName, tmp); + Core.Transaction transactionObj = transaction.build(); + String signature = client.signTransaction(privateKey, transactionObj); + transaction.setSignature(ByteString.copyFrom(ByteArrayHelper.hexToByteArray(signature))); + transactionObj = transaction.build(); + return transactionObj; + } + + private CreateRawTransactionInput createRowBuild(String toAddress, String methodName, + String param, long height, String blockHash) { + CreateRawTransactionInput createRawTransactionInputObj = new CreateRawTransactionInput(); + createRawTransactionInputObj.setFrom(address); + createRawTransactionInputObj.setTo(toAddress); + createRawTransactionInputObj.setMethodName(methodName); + createRawTransactionInputObj.setParams(param); + createRawTransactionInputObj.setRefBlockNumber(height); + createRawTransactionInputObj.setRefBlockHash(blockHash); + return createRawTransactionInputObj; + } } diff --git a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java index edb68b3..7dbe4c6 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java @@ -4,7 +4,9 @@ import io.aelf.schemas.NetworkInfoOutput; import io.aelf.schemas.PeerDto; import io.aelf.sdk.AElfClient; + import java.util.List; + import org.junit.Assert; import org.junit.Before; import org.junit.Ignore; @@ -12,39 +14,39 @@ public class NetSdkTest { - static final String HTTPURL = "http://127.0.0.1:8000"; - static final String OPREATIONADDRESS = "127.0.0.1:7003"; - AElfClient client = null; - - @Before - public void init() { - client = new AElfClient(HTTPURL); - } - - @Test - public void getNetworkInfo() throws Exception { - Assert.assertTrue(client.getNetworkInfo()!=null); - } - - @Test - public void getPeer() throws Exception { - List listPeerDto = client.getPeers(true); - Assert.assertTrue(listPeerDto.size() >= 0); - } - - @Ignore - @Test - public void addPeerTest() throws Exception { - AddPeerInput addPeerInput = new AddPeerInput(); - addPeerInput.setAddress(OPREATIONADDRESS); - Assert.assertTrue(client.addPeer(addPeerInput)); - } - - @Ignore - @Test - public void removePeerTest() throws Exception { - Assert.assertTrue(client.removePeer(OPREATIONADDRESS)); - } + static final String HTTPURL = "http://127.0.0.1:8000"; + static final String OPREATIONADDRESS = "127.0.0.1:7003"; + AElfClient client = null; + + @Before + public void init() { + client = new AElfClient(HTTPURL); + } + + @Test + public void getNetworkInfo() throws Exception { + Assert.assertTrue(client.getNetworkInfo() != null); + } + + @Test + public void getPeer() throws Exception { + List listPeerDto = client.getPeers(true); + Assert.assertTrue(listPeerDto.size() >= 0); + } + + @Ignore + @Test + public void addPeerTest() throws Exception { + AddPeerInput addPeerInput = new AddPeerInput(); + addPeerInput.setAddress(OPREATIONADDRESS); + Assert.assertTrue(client.addPeer(addPeerInput)); + } + + @Ignore + @Test + public void removePeerTest() throws Exception { + Assert.assertTrue(client.removePeer(OPREATIONADDRESS)); + } } From 4b4ed5701fd6dc72586cffabd697ad5a8751071b Mon Sep 17 00:00:00 2001 From: wangyue Date: Thu, 16 Feb 2023 16:06:20 +0800 Subject: [PATCH 32/56] update code --- AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 3f4b089..49ea1e4 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -417,8 +417,8 @@ public void getTransactionFeeResultTest() throws Exception { CreateRawTransactionOutput out = client.createRawTransaction(createRawTransactionInputObj); CalculateTransactionFeeInput input = new CalculateTransactionFeeInput(); input.setRawTransaction(out.getRawTransaction()); - TransactionFeeResultOutput output = client.getTransactionFee(input); - System.out.println(JsonUtil.toJsonString(output)); + //TransactionFeeResultOutput output = client.getTransactionFee(input); + //System.out.println(JsonUtil.toJsonString(output)); } From 024f632f8e619d0e3cd199952156cf75fd1dd18c Mon Sep 17 00:00:00 2001 From: wangyue Date: Thu, 16 Feb 2023 16:25:16 +0800 Subject: [PATCH 33/56] add assert --- AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 49ea1e4..4bec834 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -417,8 +417,8 @@ public void getTransactionFeeResultTest() throws Exception { CreateRawTransactionOutput out = client.createRawTransaction(createRawTransactionInputObj); CalculateTransactionFeeInput input = new CalculateTransactionFeeInput(); input.setRawTransaction(out.getRawTransaction()); - //TransactionFeeResultOutput output = client.getTransactionFee(input); - //System.out.println(JsonUtil.toJsonString(output)); + TransactionFeeResultOutput output = client.getTransactionFee(input); + Assert.assertNull(output.getTransactionFee()); } From 74bec640737db09cdb5c85f101915ed432023ff0 Mon Sep 17 00:00:00 2001 From: wangyue Date: Thu, 16 Feb 2023 16:49:01 +0800 Subject: [PATCH 34/56] update function name --- AElfClient/src/main/java/io/aelf/sdk/AElfClient.java | 11 +++++++++-- .../src/main/java/io/aelf/sdk/BlockChainSdk.java | 2 +- .../src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java index d4fabda..91954c7 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java +++ b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java @@ -452,8 +452,15 @@ public boolean isConnected() { } } - public TransactionFeeResultOutput getTransactionFee(CalculateTransactionFeeInput input) throws Exception { - return this.getBlockChainSdkObj().getTransactionFeeResult(input); + + /** + * @Description calculateTransactionFee + * @param input + * @return TransactionFeeResultOutput + * @throws Exception + */ + public TransactionFeeResultOutput calculateTransactionFee(CalculateTransactionFeeInput input) throws Exception { + return this.getBlockChainSdkObj().calculateTransactionFeeResult(input); } } diff --git a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java index b0b85c9..8262555 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java @@ -354,7 +354,7 @@ public MerklePathDto getMerklePathByTransactionId(String transactionId) { - public TransactionFeeResultOutput getTransactionFeeResult(CalculateTransactionFeeInput input) throws Exception { + public TransactionFeeResultOutput calculateTransactionFeeResult(CalculateTransactionFeeInput input) throws Exception { String url = this.AElfClientUrl + WA_CALCULATETRANSACTIONFEE; String responseBody = HttpUtilExt.sendPost(url, JsonUtil.toJsonString(input), this.version); TransactionFeeResultOutput output = JsonUtil.parseObject(responseBody, TransactionFeeResultOutput.class); diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 4bec834..9edb2f7 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -401,7 +401,7 @@ public void potobuffTest() throws Exception { } @Test - public void getTransactionFeeResultTest() throws Exception { + public void CalculateTransactionFeeResultTest() throws Exception { String toAddress = client.getGenesisContractAddress(); final String methodName = "GetContractAddressByName"; byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Token"); @@ -417,7 +417,7 @@ public void getTransactionFeeResultTest() throws Exception { CreateRawTransactionOutput out = client.createRawTransaction(createRawTransactionInputObj); CalculateTransactionFeeInput input = new CalculateTransactionFeeInput(); input.setRawTransaction(out.getRawTransaction()); - TransactionFeeResultOutput output = client.getTransactionFee(input); + TransactionFeeResultOutput output = client.calculateTransactionFee(input); Assert.assertNull(output.getTransactionFee()); } From 1538d2bc55f12b47b17a1b94391de5804c87d686 Mon Sep 17 00:00:00 2001 From: wangyue Date: Thu, 16 Feb 2023 19:22:28 +0800 Subject: [PATCH 35/56] update aelf version --- AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 3 ++- scripts/aelf-node/start-mac.sh | 2 +- scripts/aelf-node/start-window.ps1 | 2 +- scripts/aelf-node/start.sh | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 9edb2f7..9c82d96 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -418,7 +418,8 @@ public void CalculateTransactionFeeResultTest() throws Exception { CalculateTransactionFeeInput input = new CalculateTransactionFeeInput(); input.setRawTransaction(out.getRawTransaction()); TransactionFeeResultOutput output = client.calculateTransactionFee(input); - Assert.assertNull(output.getTransactionFee()); + System.out.println(JsonUtil.toJsonString(output)); + } diff --git a/scripts/aelf-node/start-mac.sh b/scripts/aelf-node/start-mac.sh index e580f84..7d6d2b1 100644 --- a/scripts/aelf-node/start-mac.sh +++ b/scripts/aelf-node/start-mac.sh @@ -3,7 +3,7 @@ brew services start redis brew install unzip mkdir -p ~/.local/share/aelf/keys cd ../../ -wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip && unzip aelf.zip +wget https://github.com/AElfProject/AElf/releases/download/v1.2.3/aelf.zip && unzip aelf.zip cp scripts/aelf-node/keys/SD6BXDrKT2syNd1WehtPyRo3dPBiXqfGUj8UJym7YP9W9RynM.json ~/.local/share/aelf/keys/ cp scripts/aelf-node/app* aelf/ echo "start node" diff --git a/scripts/aelf-node/start-window.ps1 b/scripts/aelf-node/start-window.ps1 index d15a1d7..0327922 100644 --- a/scripts/aelf-node/start-window.ps1 +++ b/scripts/aelf-node/start-window.ps1 @@ -4,7 +4,7 @@ $job1 = Start-Job -ScriptBlock { cd D:\a\1\s\redis; .\redis-server.exe; } sleep 30 mkdir -p C:\Users\VssAdministrator\AppData\Local\aelf\keys cp -r scripts\aelf-node\keys\* C:\Users\VssAdministrator\AppData\Local\aelf\keys; -wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip -OutFile aelf.zip ; +wget https://github.com/AElfProject/AElf/releases/download/v1.2.3/aelf.zip -OutFile aelf.zip ; Expand-Archive -Path aelf.zip -DestinationPath aelf ; cp scripts\aelf-node\appsettings.json aelf\aelf\appsettings.json ; cp scripts\aelf-node\appsettings.MainChain.TestNet.json aelf\aelf\appsettings.MainChain.TestNet.json ; diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 9c3fe23..ce011e3 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -5,13 +5,13 @@ sudo sed -i "s/127.0.0.1/$ip/g" appsettings.json sudo apt update && apt install unzip sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys cd ../../ -wget https://github.com/AElfProject/AElf/releases/download/v1.0.0/aelf.zip +wget https://github.com/AElfProject/AElf/releases/download/v1.2.3/aelf.zip sudo unzip aelf.zip sudo mkdir -p aelf/aelf/keys sudo cp scripts/aelf-node/keys/*.json aelf/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ echo "start node" cd aelf && sudo dotnet AElf.Launcher.dll >/dev/null 2>&1 & -sleep 30 +sleep 90 height=`curl -s http://$ip:8000/api/blockChain/blockHeight` echo "height is $height" From 9989bb6b9228300223f2b2136cec8a1c61fd111d Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 10:03:09 +0800 Subject: [PATCH 36/56] upgrade .net version --- AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 4 ---- azure-pipelines.yml | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 9c82d96..ca98226 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -4,18 +4,14 @@ import io.aelf.protobuf.generated.Client; import io.aelf.protobuf.generated.Core; -import io.aelf.protobuf.generated.Core.TransactionResultStatus; -import io.aelf.protobuf.generated.TokenContract.GetBalanceOutput; import io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged; import io.aelf.protobuf.generated.TransactionFee.TransactionFeeCharged.Builder; import io.aelf.schemas.*; -import io.aelf.sdk.AElfClient; import io.aelf.utils.ByteArrayHelper; import io.aelf.utils.JsonUtil; import io.aelf.utils.MapEntry; import io.aelf.utils.Maps; import io.aelf.utils.Sha256; -import io.aelf.utils.StringUtil; import io.aelf.utils.TransactionResultDtoExtension; import java.math.BigInteger; diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5a1746f..f49e9b1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,7 @@ jobs: steps: - task: DotNetCoreInstaller@0 inputs: - version: '3.1.101' + version: '6.0' - powershell: ./scripts/aelf-node/start-window.ps1 displayName: 'deploy and test' # All tasks on Linux @@ -24,7 +24,7 @@ jobs: steps: - task: DotNetCoreInstaller@0 inputs: - version: '3.1.101' + version: '6.0' - script: cd scripts/aelf-node && bash start.sh displayName: 'Deploy a full node' - script: bash build.sh @@ -39,7 +39,7 @@ jobs: steps: - task: DotNetCoreInstaller@0 inputs: - version: '3.1.101' + version: '6.0' - script: cd scripts/aelf-node && bash start-mac.sh displayName: 'Deploy a full node' - script: bash build.sh From c2ff9471269c850b59c3be07004a3f80f7289ea3 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 10:10:01 +0800 Subject: [PATCH 37/56] upgrade dotnet version --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f49e9b1..e72c357 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,7 @@ jobs: steps: - task: DotNetCoreInstaller@0 inputs: - version: '6.0' + version: '6.0.1' - powershell: ./scripts/aelf-node/start-window.ps1 displayName: 'deploy and test' # All tasks on Linux @@ -24,7 +24,7 @@ jobs: steps: - task: DotNetCoreInstaller@0 inputs: - version: '6.0' + version: '6.0.1' - script: cd scripts/aelf-node && bash start.sh displayName: 'Deploy a full node' - script: bash build.sh @@ -39,7 +39,7 @@ jobs: steps: - task: DotNetCoreInstaller@0 inputs: - version: '6.0' + version: '6.0.1' - script: cd scripts/aelf-node && bash start-mac.sh displayName: 'Deploy a full node' - script: bash build.sh From ddbc87ae1ced6ec96526a96e5910fa40e230cc5d Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 10:13:45 +0800 Subject: [PATCH 38/56] upgrade dotnet version --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e72c357..172a205 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,7 @@ jobs: steps: - task: DotNetCoreInstaller@0 inputs: - version: '6.0.1' + version: '6.0.14' - powershell: ./scripts/aelf-node/start-window.ps1 displayName: 'deploy and test' # All tasks on Linux @@ -24,7 +24,7 @@ jobs: steps: - task: DotNetCoreInstaller@0 inputs: - version: '6.0.1' + version: '6.0.14' - script: cd scripts/aelf-node && bash start.sh displayName: 'Deploy a full node' - script: bash build.sh @@ -39,7 +39,7 @@ jobs: steps: - task: DotNetCoreInstaller@0 inputs: - version: '6.0.1' + version: '6.0.14' - script: cd scripts/aelf-node && bash start-mac.sh displayName: 'Deploy a full node' - script: bash build.sh From beeeac6e5f03d3baabb42fa7d95e18fdc761a4c5 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 10:23:42 +0800 Subject: [PATCH 39/56] update dotnet --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 172a205..9ba78f2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,7 +6,7 @@ jobs: variables: phpVersion: 7.2 steps: - - task: DotNetCoreInstaller@0 + - task: UseDotNet@2 inputs: version: '6.0.14' - powershell: ./scripts/aelf-node/start-window.ps1 @@ -22,7 +22,7 @@ jobs: pool: vmImage: ubuntu-latest steps: - - task: DotNetCoreInstaller@0 + - task: UseDotNet@2 inputs: version: '6.0.14' - script: cd scripts/aelf-node && bash start.sh @@ -37,7 +37,7 @@ jobs: variables: phpVersion: 7.2 steps: - - task: DotNetCoreInstaller@0 + - task: UseDotNet@2 inputs: version: '6.0.14' - script: cd scripts/aelf-node && bash start-mac.sh From d9354f1efeea387ada3509e07bd9c7a89e500079 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 10:30:02 +0800 Subject: [PATCH 40/56] update version --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9ba78f2..a744c8e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,7 @@ jobs: steps: - task: UseDotNet@2 inputs: - version: '6.0.14' + version: '6.0.X' - powershell: ./scripts/aelf-node/start-window.ps1 displayName: 'deploy and test' # All tasks on Linux @@ -24,7 +24,7 @@ jobs: steps: - task: UseDotNet@2 inputs: - version: '6.0.14' + version: '6.0.X' - script: cd scripts/aelf-node && bash start.sh displayName: 'Deploy a full node' - script: bash build.sh @@ -39,7 +39,7 @@ jobs: steps: - task: UseDotNet@2 inputs: - version: '6.0.14' + version: '6.0.X' - script: cd scripts/aelf-node && bash start-mac.sh displayName: 'Deploy a full node' - script: bash build.sh From 6ac6568e9508848a986a6cbd516eec2d4db84b25 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 10:32:33 +0800 Subject: [PATCH 41/56] update code --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a744c8e..3784359 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,7 @@ jobs: steps: - task: UseDotNet@2 inputs: - version: '6.0.X' + version: '6.0.x' - powershell: ./scripts/aelf-node/start-window.ps1 displayName: 'deploy and test' # All tasks on Linux @@ -24,7 +24,7 @@ jobs: steps: - task: UseDotNet@2 inputs: - version: '6.0.X' + version: '6.0.x' - script: cd scripts/aelf-node && bash start.sh displayName: 'Deploy a full node' - script: bash build.sh @@ -39,7 +39,7 @@ jobs: steps: - task: UseDotNet@2 inputs: - version: '6.0.X' + version: '6.0.x' - script: cd scripts/aelf-node && bash start-mac.sh displayName: 'Deploy a full node' - script: bash build.sh From 5323794113c59a07c658d5772720bb479ab60a49 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 11:31:45 +0800 Subject: [PATCH 42/56] uodate linux code --- scripts/aelf-node/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index ce011e3..5754e58 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -11,7 +11,7 @@ sudo mkdir -p aelf/aelf/keys sudo cp scripts/aelf-node/keys/*.json aelf/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ echo "start node" -cd aelf && sudo dotnet AElf.Launcher.dll >/dev/null 2>&1 & -sleep 90 +cd aelf && sudo dotnet AElf.Launcher.dll +sleep 30 height=`curl -s http://$ip:8000/api/blockChain/blockHeight` echo "height is $height" From fc560bb00e15cdba566faa171e8d7312cc014e65 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 14:18:33 +0800 Subject: [PATCH 43/56] remove unused dependcy --- AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java index 7dbe4c6..95a8d4d 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java @@ -1,9 +1,7 @@ package io.aelf.sdk; import io.aelf.schemas.AddPeerInput; -import io.aelf.schemas.NetworkInfoOutput; import io.aelf.schemas.PeerDto; -import io.aelf.sdk.AElfClient; import java.util.List; @@ -25,13 +23,13 @@ public void init() { @Test public void getNetworkInfo() throws Exception { - Assert.assertTrue(client.getNetworkInfo() != null); + Assert.assertNotNull(client.getNetworkInfo()); } @Test public void getPeer() throws Exception { List listPeerDto = client.getPeers(true); - Assert.assertTrue(listPeerDto.size() >= 0); + Assert.assertTrue(true); } @Ignore From bc60ac94a3337fcfe8afc4d55cf59f8d8312d1cc Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 15:39:58 +0800 Subject: [PATCH 44/56] update url --- scripts/aelf-node/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 5754e58..dcf32f6 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -3,7 +3,7 @@ dir=`pwd` ip=`ip a | grep eth0 |grep 'inet' | awk -F/ '{print $1}'| awk '{print $2}'` sudo sed -i "s/127.0.0.1/$ip/g" appsettings.json sudo apt update && apt install unzip -sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys +sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.local/share/aelf/keys/ cd ../../ wget https://github.com/AElfProject/AElf/releases/download/v1.2.3/aelf.zip sudo unzip aelf.zip From 25b9aa68e71421dc77ccbf2a7f9cbed549f9fc34 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 15:53:24 +0800 Subject: [PATCH 45/56] update base keys url --- scripts/aelf-node/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index dcf32f6..5754e58 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -3,7 +3,7 @@ dir=`pwd` ip=`ip a | grep eth0 |grep 'inet' | awk -F/ '{print $1}'| awk '{print $2}'` sudo sed -i "s/127.0.0.1/$ip/g" appsettings.json sudo apt update && apt install unzip -sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.local/share/aelf/keys/ +sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys cd ../../ wget https://github.com/AElfProject/AElf/releases/download/v1.2.3/aelf.zip sudo unzip aelf.zip From fb2131c83ae602bd8a99e8380509b9cea2a2c469 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 18:34:17 +0800 Subject: [PATCH 46/56] add log --- scripts/aelf-node/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 5754e58..3177773 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -11,7 +11,7 @@ sudo mkdir -p aelf/aelf/keys sudo cp scripts/aelf-node/keys/*.json aelf/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ echo "start node" -cd aelf && sudo dotnet AElf.Launcher.dll +cd aelf && sudo dotnet AElf.Launcher.dll >/dev/null 2>&1 & sleep 30 height=`curl -s http://$ip:8000/api/blockChain/blockHeight` echo "height is $height" From d78df28ede4795d36f6f322b89494102a7672ae1 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 18:49:17 +0800 Subject: [PATCH 47/56] add log --- scripts/aelf-node/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 3177773..5754e58 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -11,7 +11,7 @@ sudo mkdir -p aelf/aelf/keys sudo cp scripts/aelf-node/keys/*.json aelf/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ echo "start node" -cd aelf && sudo dotnet AElf.Launcher.dll >/dev/null 2>&1 & +cd aelf && sudo dotnet AElf.Launcher.dll sleep 30 height=`curl -s http://$ip:8000/api/blockChain/blockHeight` echo "height is $height" From 4588a13f4ab8d88b507bf1696e130cdd977d7419 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 20:05:53 +0800 Subject: [PATCH 48/56] update path --- scripts/aelf-node/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 5754e58..85997d3 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -8,7 +8,7 @@ cd ../../ wget https://github.com/AElfProject/AElf/releases/download/v1.2.3/aelf.zip sudo unzip aelf.zip sudo mkdir -p aelf/aelf/keys -sudo cp scripts/aelf-node/keys/*.json aelf/aelf/keys/ +sudo cp scripts/aelf-node/keys/*.json ~/.local/share/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ echo "start node" cd aelf && sudo dotnet AElf.Launcher.dll From 8a5f8f45ba10637c341ad31163c71971ad5a0578 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 20:10:38 +0800 Subject: [PATCH 49/56] update path --- scripts/aelf-node/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 85997d3..48c5758 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -8,7 +8,7 @@ cd ../../ wget https://github.com/AElfProject/AElf/releases/download/v1.2.3/aelf.zip sudo unzip aelf.zip sudo mkdir -p aelf/aelf/keys -sudo cp scripts/aelf-node/keys/*.json ~/.local/share/aelf/keys/ +sudo cp scripts/aelf-node/keys/*.json /root/.local/share/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ echo "start node" cd aelf && sudo dotnet AElf.Launcher.dll From be8205a9200d941e690b2f499a5319fbf8da75e2 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 20:19:11 +0800 Subject: [PATCH 50/56] update path --- scripts/aelf-node/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 48c5758..31cf307 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -7,8 +7,8 @@ sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys cd ../../ wget https://github.com/AElfProject/AElf/releases/download/v1.2.3/aelf.zip sudo unzip aelf.zip -sudo mkdir -p aelf/aelf/keys -sudo cp scripts/aelf-node/keys/*.json /root/.local/share/aelf/keys/ +sudo mkdir -p ~/.local/share/aelf/keys/ +sudo cp scripts/aelf-node/keys/*.json ~/.local/share/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ echo "start node" cd aelf && sudo dotnet AElf.Launcher.dll From 39e047b32058020d3f96a55d6a20679eb69690ea Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 20:22:46 +0800 Subject: [PATCH 51/56] update path --- scripts/aelf-node/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 31cf307..5970f9b 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -7,8 +7,8 @@ sudo mkdir -p /home/ubuntu/.ssh/aelf/keys && sudo mkdir -p /root/.ssh/aelf/keys cd ../../ wget https://github.com/AElfProject/AElf/releases/download/v1.2.3/aelf.zip sudo unzip aelf.zip -sudo mkdir -p ~/.local/share/aelf/keys/ -sudo cp scripts/aelf-node/keys/*.json ~/.local/share/aelf/keys/ +sudo mkdir -p /root/.local/share/aelf/keys/ +sudo cp scripts/aelf-node/keys/*.json /root/.local/share/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ echo "start node" cd aelf && sudo dotnet AElf.Launcher.dll From 5b5cddf63993413ce9ebf3eaec0155a7dcf033e3 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 20:27:29 +0800 Subject: [PATCH 52/56] update path --- scripts/aelf-node/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aelf-node/start.sh b/scripts/aelf-node/start.sh index 5970f9b..9968f61 100644 --- a/scripts/aelf-node/start.sh +++ b/scripts/aelf-node/start.sh @@ -11,7 +11,7 @@ sudo mkdir -p /root/.local/share/aelf/keys/ sudo cp scripts/aelf-node/keys/*.json /root/.local/share/aelf/keys/ sudo cp scripts/aelf-node/app* aelf/ echo "start node" -cd aelf && sudo dotnet AElf.Launcher.dll +cd aelf && sudo dotnet AElf.Launcher.dll >/dev/null 2>&1 & sleep 30 height=`curl -s http://$ip:8000/api/blockChain/blockHeight` echo "height is $height" From dba8a7c11667f319e614f6c9833c15e90b681bb7 Mon Sep 17 00:00:00 2001 From: wangyue Date: Fri, 17 Feb 2023 20:48:19 +0800 Subject: [PATCH 53/56] add assert --- AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index ca98226..a5d2eea 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -374,7 +374,7 @@ public void getMerklePathByTransactionIdTest() throws Exception { @Test public void getChainIdTest() throws Exception { int chainId = client.getChainId(); - Assert.assertTrue(chainId == 9992731); + Assert.assertEquals(9992731, chainId); } @Test @@ -415,6 +415,8 @@ public void CalculateTransactionFeeResultTest() throws Exception { input.setRawTransaction(out.getRawTransaction()); TransactionFeeResultOutput output = client.calculateTransactionFee(input); System.out.println(JsonUtil.toJsonString(output)); + Assert.assertTrue(String.valueOf(output.getTransactionFee().get("ELF")>18000000),true); + Assert.assertTrue(String.valueOf(output.getTransactionFee().get("ELF")<19000000),true); } From 5bf69568f7f6ca40340098fe88de4ac10000ff0c Mon Sep 17 00:00:00 2001 From: wangyue Date: Mon, 6 Mar 2023 20:34:46 +0800 Subject: [PATCH 54/56] update func name and add assert --- AElfClient/src/main/java/io/aelf/sdk/AElfClient.java | 2 +- .../src/main/java/io/aelf/sdk/BlockChainSdk.java | 5 ++--- AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java | 10 +++++++++- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java index 91954c7..9a08b6c 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java +++ b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java @@ -460,7 +460,7 @@ public boolean isConnected() { * @throws Exception */ public TransactionFeeResultOutput calculateTransactionFee(CalculateTransactionFeeInput input) throws Exception { - return this.getBlockChainSdkObj().calculateTransactionFeeResult(input); + return this.getBlockChainSdkObj().calculateTransactionFee(input); } } diff --git a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java index 8262555..82773e4 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java @@ -354,11 +354,10 @@ public MerklePathDto getMerklePathByTransactionId(String transactionId) { - public TransactionFeeResultOutput calculateTransactionFeeResult(CalculateTransactionFeeInput input) throws Exception { + public TransactionFeeResultOutput calculateTransactionFee(CalculateTransactionFeeInput input) throws Exception { String url = this.AElfClientUrl + WA_CALCULATETRANSACTIONFEE; String responseBody = HttpUtilExt.sendPost(url, JsonUtil.toJsonString(input), this.version); - TransactionFeeResultOutput output = JsonUtil.parseObject(responseBody, TransactionFeeResultOutput.class); - return output; + return JsonUtil.parseObject(responseBody, TransactionFeeResultOutput.class); } private BlockDto createBlockDto(MapEntry block, Boolean includeTransactions) throws Exception { diff --git a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java index 95a8d4d..0bfdf8d 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/NetSdkTest.java @@ -1,6 +1,8 @@ package io.aelf.sdk; +import com.fasterxml.jackson.annotation.JsonTypeInfo; import io.aelf.schemas.AddPeerInput; +import io.aelf.schemas.NetworkInfoOutput; import io.aelf.schemas.PeerDto; import java.util.List; @@ -14,6 +16,9 @@ public class NetSdkTest { static final String HTTPURL = "http://127.0.0.1:8000"; static final String OPREATIONADDRESS = "127.0.0.1:7003"; + + static final String VERSION = "1.2.3.0"; + AElfClient client = null; @Before @@ -23,7 +28,10 @@ public void init() { @Test public void getNetworkInfo() throws Exception { - Assert.assertNotNull(client.getNetworkInfo()); + NetworkInfoOutput networkInfo = client.getNetworkInfo(); + Assert.assertNotNull(networkInfo); + Assert.assertEquals(networkInfo.getVersion(),VERSION); + } @Test From ab47f1c043841d401f769103314f01c4ef8f1583 Mon Sep 17 00:00:00 2001 From: wangyue Date: Tue, 7 Mar 2023 20:45:10 +0800 Subject: [PATCH 55/56] update file name --- ...eeResultOutput.java => CalculateTransactionFeeOutput.java} | 2 +- AElfClient/src/main/java/io/aelf/sdk/AElfClient.java | 2 +- AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java | 4 ++-- AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename AElfClient/src/main/java/io/aelf/schemas/{TransactionFeeResultOutput.java => CalculateTransactionFeeOutput.java} (95%) diff --git a/AElfClient/src/main/java/io/aelf/schemas/TransactionFeeResultOutput.java b/AElfClient/src/main/java/io/aelf/schemas/CalculateTransactionFeeOutput.java similarity index 95% rename from AElfClient/src/main/java/io/aelf/schemas/TransactionFeeResultOutput.java rename to AElfClient/src/main/java/io/aelf/schemas/CalculateTransactionFeeOutput.java index 185efde..336c614 100644 --- a/AElfClient/src/main/java/io/aelf/schemas/TransactionFeeResultOutput.java +++ b/AElfClient/src/main/java/io/aelf/schemas/CalculateTransactionFeeOutput.java @@ -4,7 +4,7 @@ import java.util.HashMap; -public class TransactionFeeResultOutput { +public class CalculateTransactionFeeOutput { @JsonProperty("Success") diff --git a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java index 9a08b6c..109e837 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java +++ b/AElfClient/src/main/java/io/aelf/sdk/AElfClient.java @@ -459,7 +459,7 @@ public boolean isConnected() { * @return TransactionFeeResultOutput * @throws Exception */ - public TransactionFeeResultOutput calculateTransactionFee(CalculateTransactionFeeInput input) throws Exception { + public CalculateTransactionFeeOutput calculateTransactionFee(CalculateTransactionFeeInput input) throws Exception { return this.getBlockChainSdkObj().calculateTransactionFee(input); } diff --git a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java index 82773e4..6d7dd48 100644 --- a/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java +++ b/AElfClient/src/main/java/io/aelf/sdk/BlockChainSdk.java @@ -354,10 +354,10 @@ public MerklePathDto getMerklePathByTransactionId(String transactionId) { - public TransactionFeeResultOutput calculateTransactionFee(CalculateTransactionFeeInput input) throws Exception { + public CalculateTransactionFeeOutput calculateTransactionFee(CalculateTransactionFeeInput input) throws Exception { String url = this.AElfClientUrl + WA_CALCULATETRANSACTIONFEE; String responseBody = HttpUtilExt.sendPost(url, JsonUtil.toJsonString(input), this.version); - return JsonUtil.parseObject(responseBody, TransactionFeeResultOutput.class); + return JsonUtil.parseObject(responseBody, CalculateTransactionFeeOutput.class); } private BlockDto createBlockDto(MapEntry block, Boolean includeTransactions) throws Exception { diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index a5d2eea..48cee24 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -413,7 +413,7 @@ public void CalculateTransactionFeeResultTest() throws Exception { CreateRawTransactionOutput out = client.createRawTransaction(createRawTransactionInputObj); CalculateTransactionFeeInput input = new CalculateTransactionFeeInput(); input.setRawTransaction(out.getRawTransaction()); - TransactionFeeResultOutput output = client.calculateTransactionFee(input); + CalculateTransactionFeeOutput output = client.calculateTransactionFee(input); System.out.println(JsonUtil.toJsonString(output)); Assert.assertTrue(String.valueOf(output.getTransactionFee().get("ELF")>18000000),true); Assert.assertTrue(String.valueOf(output.getTransactionFee().get("ELF")<19000000),true); From 35873b40ebe1bf9b2dc875e885b2365d411cadda Mon Sep 17 00:00:00 2001 From: wangyue Date: Wed, 8 Mar 2023 14:10:23 +0800 Subject: [PATCH 56/56] update func name --- AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java index 48cee24..54d4129 100644 --- a/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java +++ b/AElfClient/src/test/java/io/aelf/sdk/BlockChainSdkTest.java @@ -397,7 +397,7 @@ public void potobuffTest() throws Exception { } @Test - public void CalculateTransactionFeeResultTest() throws Exception { + public void calculateTransactionFeeResultTest() throws Exception { String toAddress = client.getGenesisContractAddress(); final String methodName = "GetContractAddressByName"; byte[] paramBytes = Sha256.getBytesSha256("AElf.ContractNames.Token");