Update proto

This commit is contained in:
2020-03-06 10:04:50 +08:00
parent 161018f40c
commit 4e3edab38d
6 changed files with 475 additions and 468 deletions

View File

@@ -63,7 +63,7 @@ private static final long serialVersionUID = 0L;
}
case 24: {
fullTransaction_ = input.readBool();
fullTransactions_ = input.readBool();
break;
}
default: {
@@ -144,14 +144,14 @@ private static final long serialVersionUID = 0L;
return hash_;
}
public static final int FULL_TRANSACTION_FIELD_NUMBER = 3;
private boolean fullTransaction_;
public static final int FULL_TRANSACTIONS_FIELD_NUMBER = 3;
private boolean fullTransactions_;
/**
* <code>bool full_transaction = 3;</code>
* @return The fullTransaction.
* <code>bool full_transactions = 3;</code>
* @return The fullTransactions.
*/
public boolean getFullTransaction() {
return fullTransaction_;
public boolean getFullTransactions() {
return fullTransactions_;
}
private byte memoizedIsInitialized = -1;
@@ -174,8 +174,8 @@ private static final long serialVersionUID = 0L;
if (!hash_.isEmpty()) {
output.writeBytes(2, hash_);
}
if (fullTransaction_ != false) {
output.writeBool(3, fullTransaction_);
if (fullTransactions_ != false) {
output.writeBool(3, fullTransactions_);
}
unknownFields.writeTo(output);
}
@@ -193,9 +193,9 @@ private static final long serialVersionUID = 0L;
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, hash_);
}
if (fullTransaction_ != false) {
if (fullTransactions_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, fullTransaction_);
.computeBoolSize(3, fullTransactions_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -216,8 +216,8 @@ private static final long serialVersionUID = 0L;
.equals(other.getLedger())) return false;
if (!getHash()
.equals(other.getHash())) return false;
if (getFullTransaction()
!= other.getFullTransaction()) return false;
if (getFullTransactions()
!= other.getFullTransactions()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -233,9 +233,9 @@ private static final long serialVersionUID = 0L;
hash = (53 * hash) + getLedger().hashCode();
hash = (37 * hash) + HASH_FIELD_NUMBER;
hash = (53 * hash) + getHash().hashCode();
hash = (37 * hash) + FULL_TRANSACTION_FIELD_NUMBER;
hash = (37 * hash) + FULL_TRANSACTIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getFullTransaction());
getFullTransactions());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -373,7 +373,7 @@ private static final long serialVersionUID = 0L;
hash_ = com.google.protobuf.ByteString.EMPTY;
fullTransaction_ = false;
fullTransactions_ = false;
return this;
}
@@ -403,7 +403,7 @@ private static final long serialVersionUID = 0L;
bdledger.api.grpc.query.GetBlockByHashRequest result = new bdledger.api.grpc.query.GetBlockByHashRequest(this);
result.ledger_ = ledger_;
result.hash_ = hash_;
result.fullTransaction_ = fullTransaction_;
result.fullTransactions_ = fullTransactions_;
onBuilt();
return result;
}
@@ -459,8 +459,8 @@ private static final long serialVersionUID = 0L;
if (other.getHash() != com.google.protobuf.ByteString.EMPTY) {
setHash(other.getHash());
}
if (other.getFullTransaction() != false) {
setFullTransaction(other.getFullTransaction());
if (other.getFullTransactions() != false) {
setFullTransactions(other.getFullTransactions());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -600,32 +600,32 @@ private static final long serialVersionUID = 0L;
return this;
}
private boolean fullTransaction_ ;
private boolean fullTransactions_ ;
/**
* <code>bool full_transaction = 3;</code>
* @return The fullTransaction.
* <code>bool full_transactions = 3;</code>
* @return The fullTransactions.
*/
public boolean getFullTransaction() {
return fullTransaction_;
public boolean getFullTransactions() {
return fullTransactions_;
}
/**
* <code>bool full_transaction = 3;</code>
* @param value The fullTransaction to set.
* <code>bool full_transactions = 3;</code>
* @param value The fullTransactions to set.
* @return This builder for chaining.
*/
public Builder setFullTransaction(boolean value) {
public Builder setFullTransactions(boolean value) {
fullTransaction_ = value;
fullTransactions_ = value;
onChanged();
return this;
}
/**
* <code>bool full_transaction = 3;</code>
* <code>bool full_transactions = 3;</code>
* @return This builder for chaining.
*/
public Builder clearFullTransaction() {
public Builder clearFullTransactions() {
fullTransaction_ = false;
fullTransactions_ = false;
onChanged();
return this;
}