This commit is contained in:
Nex 2020-11-04 11:05:47 +08:00
parent 1278255c37
commit b524d23463
7 changed files with 244 additions and 42 deletions

View File

@ -10,10 +10,11 @@ buildscript {
plugins { plugins {
id 'java' id 'java'
id 'com.google.protobuf' version '0.8.13' id 'com.google.protobuf' version '0.8.13'
id 'com.github.johnrengelman.shadow' version '6.0.0'
} }
group 'org.bdware' group 'org.bdware'
version '1.0-SNAPSHOT' version 'dev-200922.1278255c'
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_1_8
@ -52,7 +53,7 @@ javadoc {
protobuf { protobuf {
protoc { protoc {
artifact = "com.google.protobuf:protoc:3.11.4" artifact = "com.google.protobuf:protoc:3.13.0"
} }
plugins { plugins {
grpc { grpc {

View File

@ -16,7 +16,7 @@ package com.google.protobuf;
* *
* Protobuf type {@code google.protobuf.Empty} * Protobuf type {@code google.protobuf.Empty}
*/ */
public final class Empty extends public final class Empty extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.protobuf.Empty) // @@protoc_insertion_point(message_implements:google.protobuf.Empty)
EmptyOrBuilder { EmptyOrBuilder {

View File

@ -155,6 +155,10 @@ public final class CommonProto {
public final com.google.protobuf.Descriptors.EnumValueDescriptor public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() { getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal()); return getDescriptor().getValues().get(ordinal());
} }
public final com.google.protobuf.Descriptors.EnumDescriptor public final com.google.protobuf.Descriptors.EnumDescriptor
@ -325,7 +329,7 @@ public final class CommonProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.Transaction} * Protobuf type {@code bdware.bdledger.api.Transaction}
*/ */
public static final class Transaction extends public static final class Transaction extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.Transaction) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.Transaction)
TransactionOrBuilder { TransactionOrBuilder {
@ -479,6 +483,7 @@ public final class CommonProto {
* <code>bytes block_hash = 1;</code> * <code>bytes block_hash = 1;</code>
* @return The blockHash. * @return The blockHash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getBlockHash() { public com.google.protobuf.ByteString getBlockHash() {
return blockHash_; return blockHash_;
} }
@ -493,6 +498,7 @@ public final class CommonProto {
* <code>int64 block_timestamp = 2;</code> * <code>int64 block_timestamp = 2;</code>
* @return The blockTimestamp. * @return The blockTimestamp.
*/ */
@java.lang.Override
public long getBlockTimestamp() { public long getBlockTimestamp() {
return blockTimestamp_; return blockTimestamp_;
} }
@ -507,6 +513,7 @@ public final class CommonProto {
* <code>uint32 index = 3;</code> * <code>uint32 index = 3;</code>
* @return The index. * @return The index.
*/ */
@java.lang.Override
public int getIndex() { public int getIndex() {
return index_; return index_;
} }
@ -521,6 +528,7 @@ public final class CommonProto {
* <code>bytes hash = 4;</code> * <code>bytes hash = 4;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -535,7 +543,7 @@ public final class CommonProto {
* <code>.bdware.bdledger.api.TransactionType type = 5;</code> * <code>.bdware.bdledger.api.TransactionType type = 5;</code>
* @return The enum numeric value on the wire for type. * @return The enum numeric value on the wire for type.
*/ */
public int getTypeValue() { @java.lang.Override public int getTypeValue() {
return type_; return type_;
} }
/** /**
@ -546,7 +554,7 @@ public final class CommonProto {
* <code>.bdware.bdledger.api.TransactionType type = 5;</code> * <code>.bdware.bdledger.api.TransactionType type = 5;</code>
* @return The type. * @return The type.
*/ */
public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType getType() { @java.lang.Override public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType getType() {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType result = org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.valueOf(type_); org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType result = org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.valueOf(type_);
return result == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.UNRECOGNIZED : result; return result == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.UNRECOGNIZED : result;
@ -562,6 +570,7 @@ public final class CommonProto {
* <code>bytes from = 6;</code> * <code>bytes from = 6;</code>
* @return The from. * @return The from.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getFrom() { public com.google.protobuf.ByteString getFrom() {
return from_; return from_;
} }
@ -576,6 +585,7 @@ public final class CommonProto {
* <code>uint64 nonce = 7;</code> * <code>uint64 nonce = 7;</code>
* @return The nonce. * @return The nonce.
*/ */
@java.lang.Override
public long getNonce() { public long getNonce() {
return nonce_; return nonce_;
} }
@ -590,6 +600,7 @@ public final class CommonProto {
* <code>bytes to = 8;</code> * <code>bytes to = 8;</code>
* @return The to. * @return The to.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTo() { public com.google.protobuf.ByteString getTo() {
return to_; return to_;
} }
@ -604,6 +615,7 @@ public final class CommonProto {
* <code>bytes data = 9;</code> * <code>bytes data = 9;</code>
* @return The data. * @return The data.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getData() { public com.google.protobuf.ByteString getData() {
return data_; return data_;
} }
@ -618,6 +630,7 @@ public final class CommonProto {
* <code>bytes v = 10;</code> * <code>bytes v = 10;</code>
* @return The v. * @return The v.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getV() { public com.google.protobuf.ByteString getV() {
return v_; return v_;
} }
@ -632,6 +645,7 @@ public final class CommonProto {
* <code>bytes r = 11;</code> * <code>bytes r = 11;</code>
* @return The r. * @return The r.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getR() { public com.google.protobuf.ByteString getR() {
return r_; return r_;
} }
@ -646,6 +660,7 @@ public final class CommonProto {
* <code>bytes s = 12;</code> * <code>bytes s = 12;</code>
* @return The s. * @return The s.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getS() { public com.google.protobuf.ByteString getS() {
return s_; return s_;
} }
@ -1149,6 +1164,7 @@ public final class CommonProto {
* <code>bytes block_hash = 1;</code> * <code>bytes block_hash = 1;</code>
* @return The blockHash. * @return The blockHash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getBlockHash() { public com.google.protobuf.ByteString getBlockHash() {
return blockHash_; return blockHash_;
} }
@ -1194,6 +1210,7 @@ public final class CommonProto {
* <code>int64 block_timestamp = 2;</code> * <code>int64 block_timestamp = 2;</code>
* @return The blockTimestamp. * @return The blockTimestamp.
*/ */
@java.lang.Override
public long getBlockTimestamp() { public long getBlockTimestamp() {
return blockTimestamp_; return blockTimestamp_;
} }
@ -1236,6 +1253,7 @@ public final class CommonProto {
* <code>uint32 index = 3;</code> * <code>uint32 index = 3;</code>
* @return The index. * @return The index.
*/ */
@java.lang.Override
public int getIndex() { public int getIndex() {
return index_; return index_;
} }
@ -1278,6 +1296,7 @@ public final class CommonProto {
* <code>bytes hash = 4;</code> * <code>bytes hash = 4;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -1323,7 +1342,7 @@ public final class CommonProto {
* <code>.bdware.bdledger.api.TransactionType type = 5;</code> * <code>.bdware.bdledger.api.TransactionType type = 5;</code>
* @return The enum numeric value on the wire for type. * @return The enum numeric value on the wire for type.
*/ */
public int getTypeValue() { @java.lang.Override public int getTypeValue() {
return type_; return type_;
} }
/** /**
@ -1336,6 +1355,7 @@ public final class CommonProto {
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder setTypeValue(int value) { public Builder setTypeValue(int value) {
type_ = value; type_ = value;
onChanged(); onChanged();
return this; return this;
@ -1348,6 +1368,7 @@ public final class CommonProto {
* <code>.bdware.bdledger.api.TransactionType type = 5;</code> * <code>.bdware.bdledger.api.TransactionType type = 5;</code>
* @return The type. * @return The type.
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType getType() { public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType getType() {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType result = org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.valueOf(type_); org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType result = org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.valueOf(type_);
@ -1395,6 +1416,7 @@ public final class CommonProto {
* <code>bytes from = 6;</code> * <code>bytes from = 6;</code>
* @return The from. * @return The from.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getFrom() { public com.google.protobuf.ByteString getFrom() {
return from_; return from_;
} }
@ -1440,6 +1462,7 @@ public final class CommonProto {
* <code>uint64 nonce = 7;</code> * <code>uint64 nonce = 7;</code>
* @return The nonce. * @return The nonce.
*/ */
@java.lang.Override
public long getNonce() { public long getNonce() {
return nonce_; return nonce_;
} }
@ -1482,6 +1505,7 @@ public final class CommonProto {
* <code>bytes to = 8;</code> * <code>bytes to = 8;</code>
* @return The to. * @return The to.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTo() { public com.google.protobuf.ByteString getTo() {
return to_; return to_;
} }
@ -1527,6 +1551,7 @@ public final class CommonProto {
* <code>bytes data = 9;</code> * <code>bytes data = 9;</code>
* @return The data. * @return The data.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getData() { public com.google.protobuf.ByteString getData() {
return data_; return data_;
} }
@ -1572,6 +1597,7 @@ public final class CommonProto {
* <code>bytes v = 10;</code> * <code>bytes v = 10;</code>
* @return The v. * @return The v.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getV() { public com.google.protobuf.ByteString getV() {
return v_; return v_;
} }
@ -1617,6 +1643,7 @@ public final class CommonProto {
* <code>bytes r = 11;</code> * <code>bytes r = 11;</code>
* @return The r. * @return The r.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getR() { public com.google.protobuf.ByteString getR() {
return r_; return r_;
} }
@ -1662,6 +1689,7 @@ public final class CommonProto {
* <code>bytes s = 12;</code> * <code>bytes s = 12;</code>
* @return The s. * @return The s.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getS() { public com.google.protobuf.ByteString getS() {
return s_; return s_;
} }
@ -1958,7 +1986,7 @@ public final class CommonProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.Block} * Protobuf type {@code bdware.bdledger.api.Block}
*/ */
public static final class Block extends public static final class Block extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.Block) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.Block)
BlockOrBuilder { BlockOrBuilder {
@ -2130,6 +2158,7 @@ public final class CommonProto {
* <code>bytes hash = 1;</code> * <code>bytes hash = 1;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -2144,6 +2173,7 @@ public final class CommonProto {
* <code>bytes creator = 2;</code> * <code>bytes creator = 2;</code>
* @return The creator. * @return The creator.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getCreator() { public com.google.protobuf.ByteString getCreator() {
return creator_; return creator_;
} }
@ -2158,6 +2188,7 @@ public final class CommonProto {
* <code>uint64 nonce = 3;</code> * <code>uint64 nonce = 3;</code>
* @return The nonce. * @return The nonce.
*/ */
@java.lang.Override
public long getNonce() { public long getNonce() {
return nonce_; return nonce_;
} }
@ -2172,6 +2203,7 @@ public final class CommonProto {
* <code>repeated bytes parent_hashes = 4;</code> * <code>repeated bytes parent_hashes = 4;</code>
* @return A list containing the parentHashes. * @return A list containing the parentHashes.
*/ */
@java.lang.Override
public java.util.List<com.google.protobuf.ByteString> public java.util.List<com.google.protobuf.ByteString>
getParentHashesList() { getParentHashesList() {
return parentHashes_; return parentHashes_;
@ -2210,6 +2242,7 @@ public final class CommonProto {
* <code>repeated bytes witnesses = 5;</code> * <code>repeated bytes witnesses = 5;</code>
* @return A list containing the witnesses. * @return A list containing the witnesses.
*/ */
@java.lang.Override
public java.util.List<com.google.protobuf.ByteString> public java.util.List<com.google.protobuf.ByteString>
getWitnessesList() { getWitnessesList() {
return witnesses_; return witnesses_;
@ -2248,6 +2281,7 @@ public final class CommonProto {
* <code>int64 timestamp = 6;</code> * <code>int64 timestamp = 6;</code>
* @return The timestamp. * @return The timestamp.
*/ */
@java.lang.Override
public long getTimestamp() { public long getTimestamp() {
return timestamp_; return timestamp_;
} }
@ -2262,6 +2296,7 @@ public final class CommonProto {
* <code>uint64 size = 7;</code> * <code>uint64 size = 7;</code>
* @return The size. * @return The size.
*/ */
@java.lang.Override
public long getSize() { public long getSize() {
return size_; return size_;
} }
@ -2276,6 +2311,7 @@ public final class CommonProto {
* <code>uint32 transaction_count = 8;</code> * <code>uint32 transaction_count = 8;</code>
* @return The transactionCount. * @return The transactionCount.
*/ */
@java.lang.Override
public int getTransactionCount() { public int getTransactionCount() {
return transactionCount_; return transactionCount_;
} }
@ -2290,6 +2326,7 @@ public final class CommonProto {
* <code>bytes transactions_root = 9;</code> * <code>bytes transactions_root = 9;</code>
* @return The transactionsRoot. * @return The transactionsRoot.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTransactionsRoot() { public com.google.protobuf.ByteString getTransactionsRoot() {
return transactionsRoot_; return transactionsRoot_;
} }
@ -2303,6 +2340,7 @@ public final class CommonProto {
* *
* <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code>
*/ */
@java.lang.Override
public java.util.List<org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction> getTransactionsList() { public java.util.List<org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction> getTransactionsList() {
return transactions_; return transactions_;
} }
@ -2313,6 +2351,7 @@ public final class CommonProto {
* *
* <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code>
*/ */
@java.lang.Override
public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder> public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder>
getTransactionsOrBuilderList() { getTransactionsOrBuilderList() {
return transactions_; return transactions_;
@ -2324,6 +2363,7 @@ public final class CommonProto {
* *
* <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code>
*/ */
@java.lang.Override
public int getTransactionsCount() { public int getTransactionsCount() {
return transactions_.size(); return transactions_.size();
} }
@ -2334,6 +2374,7 @@ public final class CommonProto {
* *
* <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction getTransactions(int index) { public org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction getTransactions(int index) {
return transactions_.get(index); return transactions_.get(index);
} }
@ -2344,6 +2385,7 @@ public final class CommonProto {
* *
* <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 10;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder getTransactionsOrBuilder( public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder getTransactionsOrBuilder(
int index) { int index) {
return transactions_.get(index); return transactions_.get(index);
@ -2359,6 +2401,7 @@ public final class CommonProto {
* <code>repeated bytes transaction_hashes = 11;</code> * <code>repeated bytes transaction_hashes = 11;</code>
* @return A list containing the transactionHashes. * @return A list containing the transactionHashes.
*/ */
@java.lang.Override
public java.util.List<com.google.protobuf.ByteString> public java.util.List<com.google.protobuf.ByteString>
getTransactionHashesList() { getTransactionHashesList() {
return transactionHashes_; return transactionHashes_;
@ -2965,6 +3008,7 @@ public final class CommonProto {
* <code>bytes hash = 1;</code> * <code>bytes hash = 1;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -3010,6 +3054,7 @@ public final class CommonProto {
* <code>bytes creator = 2;</code> * <code>bytes creator = 2;</code>
* @return The creator. * @return The creator.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getCreator() { public com.google.protobuf.ByteString getCreator() {
return creator_; return creator_;
} }
@ -3055,6 +3100,7 @@ public final class CommonProto {
* <code>uint64 nonce = 3;</code> * <code>uint64 nonce = 3;</code>
* @return The nonce. * @return The nonce.
*/ */
@java.lang.Override
public long getNonce() { public long getNonce() {
return nonce_; return nonce_;
} }
@ -3323,6 +3369,7 @@ public final class CommonProto {
* <code>int64 timestamp = 6;</code> * <code>int64 timestamp = 6;</code>
* @return The timestamp. * @return The timestamp.
*/ */
@java.lang.Override
public long getTimestamp() { public long getTimestamp() {
return timestamp_; return timestamp_;
} }
@ -3365,6 +3412,7 @@ public final class CommonProto {
* <code>uint64 size = 7;</code> * <code>uint64 size = 7;</code>
* @return The size. * @return The size.
*/ */
@java.lang.Override
public long getSize() { public long getSize() {
return size_; return size_;
} }
@ -3407,6 +3455,7 @@ public final class CommonProto {
* <code>uint32 transaction_count = 8;</code> * <code>uint32 transaction_count = 8;</code>
* @return The transactionCount. * @return The transactionCount.
*/ */
@java.lang.Override
public int getTransactionCount() { public int getTransactionCount() {
return transactionCount_; return transactionCount_;
} }
@ -3449,6 +3498,7 @@ public final class CommonProto {
* <code>bytes transactions_root = 9;</code> * <code>bytes transactions_root = 9;</code>
* @return The transactionsRoot. * @return The transactionsRoot.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTransactionsRoot() { public com.google.protobuf.ByteString getTransactionsRoot() {
return transactionsRoot_; return transactionsRoot_;
} }
@ -4039,7 +4089,7 @@ public final class CommonProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.Contract} * Protobuf type {@code bdware.bdledger.api.Contract}
*/ */
public static final class Contract extends public static final class Contract extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.Contract) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.Contract)
ContractOrBuilder { ContractOrBuilder {
@ -4305,6 +4355,10 @@ public final class CommonProto {
public final com.google.protobuf.Descriptors.EnumValueDescriptor public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() { getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal()); return getDescriptor().getValues().get(ordinal());
} }
public final com.google.protobuf.Descriptors.EnumDescriptor public final com.google.protobuf.Descriptors.EnumDescriptor
@ -4349,6 +4403,7 @@ public final class CommonProto {
* <code>bytes contractName = 1;</code> * <code>bytes contractName = 1;</code>
* @return The contractName. * @return The contractName.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getContractName() { public com.google.protobuf.ByteString getContractName() {
return contractName_; return contractName_;
} }
@ -4363,6 +4418,7 @@ public final class CommonProto {
* <code>uint32 randomNum = 2;</code> * <code>uint32 randomNum = 2;</code>
* @return The randomNum. * @return The randomNum.
*/ */
@java.lang.Override
public int getRandomNum() { public int getRandomNum() {
return randomNum_; return randomNum_;
} }
@ -4377,6 +4433,7 @@ public final class CommonProto {
* <code>bytes operation = 3;</code> * <code>bytes operation = 3;</code>
* @return The operation. * @return The operation.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getOperation() { public com.google.protobuf.ByteString getOperation() {
return operation_; return operation_;
} }
@ -4391,6 +4448,7 @@ public final class CommonProto {
* <code>bytes arg = 4;</code> * <code>bytes arg = 4;</code>
* @return The arg. * @return The arg.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getArg() { public com.google.protobuf.ByteString getArg() {
return arg_; return arg_;
} }
@ -4405,6 +4463,7 @@ public final class CommonProto {
* <code>bytes path = 5;</code> * <code>bytes path = 5;</code>
* @return The path. * @return The path.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getPath() { public com.google.protobuf.ByteString getPath() {
return path_; return path_;
} }
@ -4419,6 +4478,7 @@ public final class CommonProto {
* <code>bytes content = 6;</code> * <code>bytes content = 6;</code>
* @return The content. * @return The content.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getContent() { public com.google.protobuf.ByteString getContent() {
return content_; return content_;
} }
@ -4433,6 +4493,7 @@ public final class CommonProto {
* <code>bytes pubkey = 7;</code> * <code>bytes pubkey = 7;</code>
* @return The pubkey. * @return The pubkey.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getPubkey() { public com.google.protobuf.ByteString getPubkey() {
return pubkey_; return pubkey_;
} }
@ -4850,6 +4911,7 @@ public final class CommonProto {
* <code>bytes contractName = 1;</code> * <code>bytes contractName = 1;</code>
* @return The contractName. * @return The contractName.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getContractName() { public com.google.protobuf.ByteString getContractName() {
return contractName_; return contractName_;
} }
@ -4895,6 +4957,7 @@ public final class CommonProto {
* <code>uint32 randomNum = 2;</code> * <code>uint32 randomNum = 2;</code>
* @return The randomNum. * @return The randomNum.
*/ */
@java.lang.Override
public int getRandomNum() { public int getRandomNum() {
return randomNum_; return randomNum_;
} }
@ -4937,6 +5000,7 @@ public final class CommonProto {
* <code>bytes operation = 3;</code> * <code>bytes operation = 3;</code>
* @return The operation. * @return The operation.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getOperation() { public com.google.protobuf.ByteString getOperation() {
return operation_; return operation_;
} }
@ -4982,6 +5046,7 @@ public final class CommonProto {
* <code>bytes arg = 4;</code> * <code>bytes arg = 4;</code>
* @return The arg. * @return The arg.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getArg() { public com.google.protobuf.ByteString getArg() {
return arg_; return arg_;
} }
@ -5027,6 +5092,7 @@ public final class CommonProto {
* <code>bytes path = 5;</code> * <code>bytes path = 5;</code>
* @return The path. * @return The path.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getPath() { public com.google.protobuf.ByteString getPath() {
return path_; return path_;
} }
@ -5072,6 +5138,7 @@ public final class CommonProto {
* <code>bytes content = 6;</code> * <code>bytes content = 6;</code>
* @return The content. * @return The content.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getContent() { public com.google.protobuf.ByteString getContent() {
return content_; return content_;
} }
@ -5117,6 +5184,7 @@ public final class CommonProto {
* <code>bytes pubkey = 7;</code> * <code>bytes pubkey = 7;</code>
* @return The pubkey. * @return The pubkey.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getPubkey() { public com.google.protobuf.ByteString getPubkey() {
return pubkey_; return pubkey_;
} }

View File

@ -72,7 +72,7 @@ public final class ErrorDetailsProto {
* *
* Protobuf type {@code bdware.bdledger.api.InvalidArgument} * Protobuf type {@code bdware.bdledger.api.InvalidArgument}
*/ */
public static final class InvalidArgument extends public static final class InvalidArgument extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.InvalidArgument) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.InvalidArgument)
InvalidArgumentOrBuilder { InvalidArgumentOrBuilder {
@ -215,7 +215,7 @@ public final class ErrorDetailsProto {
* *
* Protobuf type {@code bdware.bdledger.api.InvalidArgument.FieldViolation} * Protobuf type {@code bdware.bdledger.api.InvalidArgument.FieldViolation}
*/ */
public static final class FieldViolation extends public static final class FieldViolation extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.InvalidArgument.FieldViolation) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.InvalidArgument.FieldViolation)
FieldViolationOrBuilder { FieldViolationOrBuilder {
@ -315,6 +315,7 @@ public final class ErrorDetailsProto {
* <code>string field = 1;</code> * <code>string field = 1;</code>
* @return The field. * @return The field.
*/ */
@java.lang.Override
public java.lang.String getField() { public java.lang.String getField() {
java.lang.Object ref = field_; java.lang.Object ref = field_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -337,6 +338,7 @@ public final class ErrorDetailsProto {
* <code>string field = 1;</code> * <code>string field = 1;</code>
* @return The bytes for field. * @return The bytes for field.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getFieldBytes() { getFieldBytes() {
java.lang.Object ref = field_; java.lang.Object ref = field_;
@ -361,6 +363,7 @@ public final class ErrorDetailsProto {
* <code>string description = 2;</code> * <code>string description = 2;</code>
* @return The description. * @return The description.
*/ */
@java.lang.Override
public java.lang.String getDescription() { public java.lang.String getDescription() {
java.lang.Object ref = description_; java.lang.Object ref = description_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -381,6 +384,7 @@ public final class ErrorDetailsProto {
* <code>string description = 2;</code> * <code>string description = 2;</code>
* @return The bytes for description. * @return The bytes for description.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getDescriptionBytes() { getDescriptionBytes() {
java.lang.Object ref = description_; java.lang.Object ref = description_;
@ -981,6 +985,7 @@ public final class ErrorDetailsProto {
* *
* <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code> * <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code>
*/ */
@java.lang.Override
public java.util.List<org.bdware.bdledger.api.grpc.pb.ErrorDetailsProto.InvalidArgument.FieldViolation> getFieldViolationsList() { public java.util.List<org.bdware.bdledger.api.grpc.pb.ErrorDetailsProto.InvalidArgument.FieldViolation> getFieldViolationsList() {
return fieldViolations_; return fieldViolations_;
} }
@ -991,6 +996,7 @@ public final class ErrorDetailsProto {
* *
* <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code> * <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code>
*/ */
@java.lang.Override
public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.ErrorDetailsProto.InvalidArgument.FieldViolationOrBuilder> public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.ErrorDetailsProto.InvalidArgument.FieldViolationOrBuilder>
getFieldViolationsOrBuilderList() { getFieldViolationsOrBuilderList() {
return fieldViolations_; return fieldViolations_;
@ -1002,6 +1008,7 @@ public final class ErrorDetailsProto {
* *
* <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code> * <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code>
*/ */
@java.lang.Override
public int getFieldViolationsCount() { public int getFieldViolationsCount() {
return fieldViolations_.size(); return fieldViolations_.size();
} }
@ -1012,6 +1019,7 @@ public final class ErrorDetailsProto {
* *
* <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code> * <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.ErrorDetailsProto.InvalidArgument.FieldViolation getFieldViolations(int index) { public org.bdware.bdledger.api.grpc.pb.ErrorDetailsProto.InvalidArgument.FieldViolation getFieldViolations(int index) {
return fieldViolations_.get(index); return fieldViolations_.get(index);
} }
@ -1022,6 +1030,7 @@ public final class ErrorDetailsProto {
* *
* <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code> * <code>repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.ErrorDetailsProto.InvalidArgument.FieldViolationOrBuilder getFieldViolationsOrBuilder( public org.bdware.bdledger.api.grpc.pb.ErrorDetailsProto.InvalidArgument.FieldViolationOrBuilder getFieldViolationsOrBuilder(
int index) { int index) {
return fieldViolations_.get(index); return fieldViolations_.get(index);

View File

@ -33,7 +33,7 @@ public final class LedgerProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.CreateLedgerRequest} * Protobuf type {@code bdware.bdledger.api.CreateLedgerRequest}
*/ */
public static final class CreateLedgerRequest extends public static final class CreateLedgerRequest extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.CreateLedgerRequest) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.CreateLedgerRequest)
CreateLedgerRequestOrBuilder { CreateLedgerRequestOrBuilder {
@ -120,6 +120,7 @@ public final class LedgerProto {
* <code>string name = 1;</code> * <code>string name = 1;</code>
* @return The name. * @return The name.
*/ */
@java.lang.Override
public java.lang.String getName() { public java.lang.String getName() {
java.lang.Object ref = name_; java.lang.Object ref = name_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -136,6 +137,7 @@ public final class LedgerProto {
* <code>string name = 1;</code> * <code>string name = 1;</code>
* @return The bytes for name. * @return The bytes for name.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getNameBytes() { getNameBytes() {
java.lang.Object ref = name_; java.lang.Object ref = name_;
@ -593,7 +595,7 @@ public final class LedgerProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.CreateLedgerResponse} * Protobuf type {@code bdware.bdledger.api.CreateLedgerResponse}
*/ */
public static final class CreateLedgerResponse extends public static final class CreateLedgerResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.CreateLedgerResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.CreateLedgerResponse)
CreateLedgerResponseOrBuilder { CreateLedgerResponseOrBuilder {
@ -678,6 +680,7 @@ public final class LedgerProto {
* <code>bool ok = 1;</code> * <code>bool ok = 1;</code>
* @return The ok. * @return The ok.
*/ */
@java.lang.Override
public boolean getOk() { public boolean getOk() {
return ok_; return ok_;
} }
@ -990,6 +993,7 @@ public final class LedgerProto {
* <code>bool ok = 1;</code> * <code>bool ok = 1;</code>
* @return The ok. * @return The ok.
*/ */
@java.lang.Override
public boolean getOk() { public boolean getOk() {
return ok_; return ok_;
} }
@ -1099,7 +1103,7 @@ public final class LedgerProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.GetLedgersResponse} * Protobuf type {@code bdware.bdledger.api.GetLedgersResponse}
*/ */
public static final class GetLedgersResponse extends public static final class GetLedgersResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetLedgersResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetLedgersResponse)
GetLedgersResponseOrBuilder { GetLedgersResponseOrBuilder {
@ -1739,7 +1743,7 @@ public final class LedgerProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.SendTransactionRequest} * Protobuf type {@code bdware.bdledger.api.SendTransactionRequest}
*/ */
public static final class SendTransactionRequest extends public static final class SendTransactionRequest extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.SendTransactionRequest) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.SendTransactionRequest)
SendTransactionRequestOrBuilder { SendTransactionRequestOrBuilder {
@ -1875,7 +1879,7 @@ public final class LedgerProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.SendTransactionRequest.Transaction} * Protobuf type {@code bdware.bdledger.api.SendTransactionRequest.Transaction}
*/ */
public static final class Transaction extends public static final class Transaction extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.SendTransactionRequest.Transaction) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.SendTransactionRequest.Transaction)
TransactionOrBuilder { TransactionOrBuilder {
@ -1985,14 +1989,14 @@ public final class LedgerProto {
* <code>.bdware.bdledger.api.TransactionType type = 1;</code> * <code>.bdware.bdledger.api.TransactionType type = 1;</code>
* @return The enum numeric value on the wire for type. * @return The enum numeric value on the wire for type.
*/ */
public int getTypeValue() { @java.lang.Override public int getTypeValue() {
return type_; return type_;
} }
/** /**
* <code>.bdware.bdledger.api.TransactionType type = 1;</code> * <code>.bdware.bdledger.api.TransactionType type = 1;</code>
* @return The type. * @return The type.
*/ */
public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType getType() { @java.lang.Override public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType getType() {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType result = org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.valueOf(type_); org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType result = org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.valueOf(type_);
return result == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.UNRECOGNIZED : result; return result == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.UNRECOGNIZED : result;
@ -2004,6 +2008,7 @@ public final class LedgerProto {
* <code>bytes from = 2;</code> * <code>bytes from = 2;</code>
* @return The from. * @return The from.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getFrom() { public com.google.protobuf.ByteString getFrom() {
return from_; return from_;
} }
@ -2014,6 +2019,7 @@ public final class LedgerProto {
* <code>uint64 nonce = 3;</code> * <code>uint64 nonce = 3;</code>
* @return The nonce. * @return The nonce.
*/ */
@java.lang.Override
public long getNonce() { public long getNonce() {
return nonce_; return nonce_;
} }
@ -2024,6 +2030,7 @@ public final class LedgerProto {
* <code>bytes to = 4;</code> * <code>bytes to = 4;</code>
* @return The to. * @return The to.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTo() { public com.google.protobuf.ByteString getTo() {
return to_; return to_;
} }
@ -2034,6 +2041,7 @@ public final class LedgerProto {
* <code>bytes data = 5;</code> * <code>bytes data = 5;</code>
* @return The data. * @return The data.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getData() { public com.google.protobuf.ByteString getData() {
return data_; return data_;
} }
@ -2413,7 +2421,7 @@ public final class LedgerProto {
* <code>.bdware.bdledger.api.TransactionType type = 1;</code> * <code>.bdware.bdledger.api.TransactionType type = 1;</code>
* @return The enum numeric value on the wire for type. * @return The enum numeric value on the wire for type.
*/ */
public int getTypeValue() { @java.lang.Override public int getTypeValue() {
return type_; return type_;
} }
/** /**
@ -2422,6 +2430,7 @@ public final class LedgerProto {
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder setTypeValue(int value) { public Builder setTypeValue(int value) {
type_ = value; type_ = value;
onChanged(); onChanged();
return this; return this;
@ -2430,6 +2439,7 @@ public final class LedgerProto {
* <code>.bdware.bdledger.api.TransactionType type = 1;</code> * <code>.bdware.bdledger.api.TransactionType type = 1;</code>
* @return The type. * @return The type.
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType getType() { public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType getType() {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType result = org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.valueOf(type_); org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType result = org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionType.valueOf(type_);
@ -2465,6 +2475,7 @@ public final class LedgerProto {
* <code>bytes from = 2;</code> * <code>bytes from = 2;</code>
* @return The from. * @return The from.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getFrom() { public com.google.protobuf.ByteString getFrom() {
return from_; return from_;
} }
@ -2498,6 +2509,7 @@ public final class LedgerProto {
* <code>uint64 nonce = 3;</code> * <code>uint64 nonce = 3;</code>
* @return The nonce. * @return The nonce.
*/ */
@java.lang.Override
public long getNonce() { public long getNonce() {
return nonce_; return nonce_;
} }
@ -2528,6 +2540,7 @@ public final class LedgerProto {
* <code>bytes to = 4;</code> * <code>bytes to = 4;</code>
* @return The to. * @return The to.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTo() { public com.google.protobuf.ByteString getTo() {
return to_; return to_;
} }
@ -2561,6 +2574,7 @@ public final class LedgerProto {
* <code>bytes data = 5;</code> * <code>bytes data = 5;</code>
* @return The data. * @return The data.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getData() { public com.google.protobuf.ByteString getData() {
return data_; return data_;
} }
@ -2647,6 +2661,7 @@ public final class LedgerProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The ledger. * @return The ledger.
*/ */
@java.lang.Override
public java.lang.String getLedger() { public java.lang.String getLedger() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -2663,6 +2678,7 @@ public final class LedgerProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The bytes for ledger. * @return The bytes for ledger.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getLedgerBytes() { getLedgerBytes() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
@ -2683,6 +2699,7 @@ public final class LedgerProto {
* <code>.bdware.bdledger.api.SendTransactionRequest.Transaction transaction = 2;</code> * <code>.bdware.bdledger.api.SendTransactionRequest.Transaction transaction = 2;</code>
* @return Whether the transaction field is set. * @return Whether the transaction field is set.
*/ */
@java.lang.Override
public boolean hasTransaction() { public boolean hasTransaction() {
return transaction_ != null; return transaction_ != null;
} }
@ -2690,12 +2707,14 @@ public final class LedgerProto {
* <code>.bdware.bdledger.api.SendTransactionRequest.Transaction transaction = 2;</code> * <code>.bdware.bdledger.api.SendTransactionRequest.Transaction transaction = 2;</code>
* @return The transaction. * @return The transaction.
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.LedgerProto.SendTransactionRequest.Transaction getTransaction() { public org.bdware.bdledger.api.grpc.pb.LedgerProto.SendTransactionRequest.Transaction getTransaction() {
return transaction_ == null ? org.bdware.bdledger.api.grpc.pb.LedgerProto.SendTransactionRequest.Transaction.getDefaultInstance() : transaction_; return transaction_ == null ? org.bdware.bdledger.api.grpc.pb.LedgerProto.SendTransactionRequest.Transaction.getDefaultInstance() : transaction_;
} }
/** /**
* <code>.bdware.bdledger.api.SendTransactionRequest.Transaction transaction = 2;</code> * <code>.bdware.bdledger.api.SendTransactionRequest.Transaction transaction = 2;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.LedgerProto.SendTransactionRequest.TransactionOrBuilder getTransactionOrBuilder() { public org.bdware.bdledger.api.grpc.pb.LedgerProto.SendTransactionRequest.TransactionOrBuilder getTransactionOrBuilder() {
return getTransaction(); return getTransaction();
} }
@ -3292,7 +3311,7 @@ public final class LedgerProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.SendTransactionResponse} * Protobuf type {@code bdware.bdledger.api.SendTransactionResponse}
*/ */
public static final class SendTransactionResponse extends public static final class SendTransactionResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.SendTransactionResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.SendTransactionResponse)
SendTransactionResponseOrBuilder { SendTransactionResponseOrBuilder {
@ -3378,6 +3397,7 @@ public final class LedgerProto {
* <code>bytes hash = 1;</code> * <code>bytes hash = 1;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -3689,6 +3709,7 @@ public final class LedgerProto {
* <code>bytes hash = 1;</code> * <code>bytes hash = 1;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }

View File

@ -41,7 +41,7 @@ public final class NodeProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.ClientVersionResponse} * Protobuf type {@code bdware.bdledger.api.ClientVersionResponse}
*/ */
public static final class ClientVersionResponse extends public static final class ClientVersionResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.ClientVersionResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.ClientVersionResponse)
ClientVersionResponseOrBuilder { ClientVersionResponseOrBuilder {
@ -132,6 +132,7 @@ public final class NodeProto {
* <code>string version = 1;</code> * <code>string version = 1;</code>
* @return The version. * @return The version.
*/ */
@java.lang.Override
public java.lang.String getVersion() { public java.lang.String getVersion() {
java.lang.Object ref = version_; java.lang.Object ref = version_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -152,6 +153,7 @@ public final class NodeProto {
* <code>string version = 1;</code> * <code>string version = 1;</code>
* @return The bytes for version. * @return The bytes for version.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getVersionBytes() { getVersionBytes() {
java.lang.Object ref = version_; java.lang.Object ref = version_;

View File

@ -117,6 +117,10 @@ public final class QueryProto {
public final com.google.protobuf.Descriptors.EnumValueDescriptor public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() { getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal()); return getDescriptor().getValues().get(ordinal());
} }
public final com.google.protobuf.Descriptors.EnumDescriptor public final com.google.protobuf.Descriptors.EnumDescriptor
@ -170,7 +174,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.BlockFilter} * Protobuf type {@code bdware.bdledger.api.BlockFilter}
*/ */
public static final class BlockFilter extends public static final class BlockFilter extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.BlockFilter) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.BlockFilter)
BlockFilterOrBuilder { BlockFilterOrBuilder {
@ -261,6 +265,7 @@ public final class QueryProto {
* <code>bytes hash = 1;</code> * <code>bytes hash = 1;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -271,6 +276,7 @@ public final class QueryProto {
* <code>int64 timestamp = 2;</code> * <code>int64 timestamp = 2;</code>
* @return The timestamp. * @return The timestamp.
*/ */
@java.lang.Override
public long getTimestamp() { public long getTimestamp() {
return timestamp_; return timestamp_;
} }
@ -600,6 +606,7 @@ public final class QueryProto {
* <code>bytes hash = 1;</code> * <code>bytes hash = 1;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -633,6 +640,7 @@ public final class QueryProto {
* <code>int64 timestamp = 2;</code> * <code>int64 timestamp = 2;</code>
* @return The timestamp. * @return The timestamp.
*/ */
@java.lang.Override
public long getTimestamp() { public long getTimestamp() {
return timestamp_; return timestamp_;
} }
@ -745,7 +753,7 @@ public final class QueryProto {
* *
* Protobuf type {@code bdware.bdledger.api.TransactionFilter} * Protobuf type {@code bdware.bdledger.api.TransactionFilter}
*/ */
public static final class TransactionFilter extends public static final class TransactionFilter extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.TransactionFilter) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.TransactionFilter)
TransactionFilterOrBuilder { TransactionFilterOrBuilder {
@ -849,6 +857,7 @@ public final class QueryProto {
* <code>bytes hash = 1;</code> * <code>bytes hash = 1;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -859,6 +868,7 @@ public final class QueryProto {
* <code>bytes from = 2;</code> * <code>bytes from = 2;</code>
* @return The from. * @return The from.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getFrom() { public com.google.protobuf.ByteString getFrom() {
return from_; return from_;
} }
@ -869,6 +879,7 @@ public final class QueryProto {
* <code>bytes to = 3;</code> * <code>bytes to = 3;</code>
* @return The to. * @return The to.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTo() { public com.google.protobuf.ByteString getTo() {
return to_; return to_;
} }
@ -879,6 +890,7 @@ public final class QueryProto {
* <code>bytes timestamp = 4;</code> * <code>bytes timestamp = 4;</code>
* @return The timestamp. * @return The timestamp.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTimestamp() { public com.google.protobuf.ByteString getTimestamp() {
return timestamp_; return timestamp_;
} }
@ -1245,6 +1257,7 @@ public final class QueryProto {
* <code>bytes hash = 1;</code> * <code>bytes hash = 1;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -1278,6 +1291,7 @@ public final class QueryProto {
* <code>bytes from = 2;</code> * <code>bytes from = 2;</code>
* @return The from. * @return The from.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getFrom() { public com.google.protobuf.ByteString getFrom() {
return from_; return from_;
} }
@ -1311,6 +1325,7 @@ public final class QueryProto {
* <code>bytes to = 3;</code> * <code>bytes to = 3;</code>
* @return The to. * @return The to.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTo() { public com.google.protobuf.ByteString getTo() {
return to_; return to_;
} }
@ -1344,6 +1359,7 @@ public final class QueryProto {
* <code>bytes timestamp = 4;</code> * <code>bytes timestamp = 4;</code>
* @return The timestamp. * @return The timestamp.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getTimestamp() { public com.google.protobuf.ByteString getTimestamp() {
return timestamp_; return timestamp_;
} }
@ -1455,7 +1471,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.GetBlockByHashRequest} * Protobuf type {@code bdware.bdledger.api.GetBlockByHashRequest}
*/ */
public static final class GetBlockByHashRequest extends public static final class GetBlockByHashRequest extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetBlockByHashRequest) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetBlockByHashRequest)
GetBlockByHashRequestOrBuilder { GetBlockByHashRequestOrBuilder {
@ -1553,6 +1569,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The ledger. * @return The ledger.
*/ */
@java.lang.Override
public java.lang.String getLedger() { public java.lang.String getLedger() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -1569,6 +1586,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The bytes for ledger. * @return The bytes for ledger.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getLedgerBytes() { getLedgerBytes() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
@ -1589,6 +1607,7 @@ public final class QueryProto {
* <code>bytes hash = 2;</code> * <code>bytes hash = 2;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -1599,6 +1618,7 @@ public final class QueryProto {
* <code>bool full_transactions = 3;</code> * <code>bool full_transactions = 3;</code>
* @return The fullTransactions. * @return The fullTransactions.
*/ */
@java.lang.Override
public boolean getFullTransactions() { public boolean getFullTransactions() {
return fullTransactions_; return fullTransactions_;
} }
@ -2021,6 +2041,7 @@ public final class QueryProto {
* <code>bytes hash = 2;</code> * <code>bytes hash = 2;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -2054,6 +2075,7 @@ public final class QueryProto {
* <code>bool full_transactions = 3;</code> * <code>bool full_transactions = 3;</code>
* @return The fullTransactions. * @return The fullTransactions.
*/ */
@java.lang.Override
public boolean getFullTransactions() { public boolean getFullTransactions() {
return fullTransactions_; return fullTransactions_;
} }
@ -2153,7 +2175,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.GetBlockByHashResponse} * Protobuf type {@code bdware.bdledger.api.GetBlockByHashResponse}
*/ */
public static final class GetBlockByHashResponse extends public static final class GetBlockByHashResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetBlockByHashResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetBlockByHashResponse)
GetBlockByHashResponseOrBuilder { GetBlockByHashResponseOrBuilder {
@ -2246,6 +2268,7 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.Block block = 1;</code> * <code>.bdware.bdledger.api.Block block = 1;</code>
* @return Whether the block field is set. * @return Whether the block field is set.
*/ */
@java.lang.Override
public boolean hasBlock() { public boolean hasBlock() {
return block_ != null; return block_ != null;
} }
@ -2253,12 +2276,14 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.Block block = 1;</code> * <code>.bdware.bdledger.api.Block block = 1;</code>
* @return The block. * @return The block.
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.Block getBlock() { public org.bdware.bdledger.api.grpc.pb.CommonProto.Block getBlock() {
return block_ == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.Block.getDefaultInstance() : block_; return block_ == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.Block.getDefaultInstance() : block_;
} }
/** /**
* <code>.bdware.bdledger.api.Block block = 1;</code> * <code>.bdware.bdledger.api.Block block = 1;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.BlockOrBuilder getBlockOrBuilder() { public org.bdware.bdledger.api.grpc.pb.CommonProto.BlockOrBuilder getBlockOrBuilder() {
return getBlock(); return getBlock();
} }
@ -2815,7 +2840,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.BlocksRequest} * Protobuf type {@code bdware.bdledger.api.BlocksRequest}
*/ */
public static final class BlocksRequest extends public static final class BlocksRequest extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.BlocksRequest) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.BlocksRequest)
BlocksRequestOrBuilder { BlocksRequestOrBuilder {
@ -2933,6 +2958,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The ledger. * @return The ledger.
*/ */
@java.lang.Override
public java.lang.String getLedger() { public java.lang.String getLedger() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -2949,6 +2975,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The bytes for ledger. * @return The bytes for ledger.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getLedgerBytes() { getLedgerBytes() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
@ -2969,6 +2996,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -2979,6 +3007,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -2988,12 +3017,14 @@ public final class QueryProto {
/** /**
* <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code>
*/ */
@java.lang.Override
public java.util.List<org.bdware.bdledger.api.grpc.pb.QueryProto.BlockFilter> getFiltersList() { public java.util.List<org.bdware.bdledger.api.grpc.pb.QueryProto.BlockFilter> getFiltersList() {
return filters_; return filters_;
} }
/** /**
* <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code>
*/ */
@java.lang.Override
public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.QueryProto.BlockFilterOrBuilder> public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.QueryProto.BlockFilterOrBuilder>
getFiltersOrBuilderList() { getFiltersOrBuilderList() {
return filters_; return filters_;
@ -3001,18 +3032,21 @@ public final class QueryProto {
/** /**
* <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code>
*/ */
@java.lang.Override
public int getFiltersCount() { public int getFiltersCount() {
return filters_.size(); return filters_.size();
} }
/** /**
* <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.QueryProto.BlockFilter getFilters(int index) { public org.bdware.bdledger.api.grpc.pb.QueryProto.BlockFilter getFilters(int index) {
return filters_.get(index); return filters_.get(index);
} }
/** /**
* <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.BlockFilter filters = 4;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.QueryProto.BlockFilterOrBuilder getFiltersOrBuilder( public org.bdware.bdledger.api.grpc.pb.QueryProto.BlockFilterOrBuilder getFiltersOrBuilder(
int index) { int index) {
return filters_.get(index); return filters_.get(index);
@ -3024,14 +3058,14 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 5;</code> * <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 5;</code>
* @return The enum numeric value on the wire for includeTransactions. * @return The enum numeric value on the wire for includeTransactions.
*/ */
public int getIncludeTransactionsValue() { @java.lang.Override public int getIncludeTransactionsValue() {
return includeTransactions_; return includeTransactions_;
} }
/** /**
* <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 5;</code> * <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 5;</code>
* @return The includeTransactions. * @return The includeTransactions.
*/ */
public org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions getIncludeTransactions() { @java.lang.Override public org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions getIncludeTransactions() {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions result = org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.valueOf(includeTransactions_); org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions result = org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.valueOf(includeTransactions_);
return result == null ? org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.UNRECOGNIZED : result; return result == null ? org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.UNRECOGNIZED : result;
@ -3529,6 +3563,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -3559,6 +3594,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -3829,7 +3865,7 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 5;</code> * <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 5;</code>
* @return The enum numeric value on the wire for includeTransactions. * @return The enum numeric value on the wire for includeTransactions.
*/ */
public int getIncludeTransactionsValue() { @java.lang.Override public int getIncludeTransactionsValue() {
return includeTransactions_; return includeTransactions_;
} }
/** /**
@ -3838,6 +3874,7 @@ public final class QueryProto {
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder setIncludeTransactionsValue(int value) { public Builder setIncludeTransactionsValue(int value) {
includeTransactions_ = value; includeTransactions_ = value;
onChanged(); onChanged();
return this; return this;
@ -3846,6 +3883,7 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 5;</code> * <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 5;</code>
* @return The includeTransactions. * @return The includeTransactions.
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions getIncludeTransactions() { public org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions getIncludeTransactions() {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions result = org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.valueOf(includeTransactions_); org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions result = org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.valueOf(includeTransactions_);
@ -3971,7 +4009,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.GetBlocksResponse} * Protobuf type {@code bdware.bdledger.api.GetBlocksResponse}
*/ */
public static final class GetBlocksResponse extends public static final class GetBlocksResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetBlocksResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetBlocksResponse)
GetBlocksResponseOrBuilder { GetBlocksResponseOrBuilder {
@ -4074,12 +4112,14 @@ public final class QueryProto {
/** /**
* <code>repeated .bdware.bdledger.api.Block blocks = 1;</code> * <code>repeated .bdware.bdledger.api.Block blocks = 1;</code>
*/ */
@java.lang.Override
public java.util.List<org.bdware.bdledger.api.grpc.pb.CommonProto.Block> getBlocksList() { public java.util.List<org.bdware.bdledger.api.grpc.pb.CommonProto.Block> getBlocksList() {
return blocks_; return blocks_;
} }
/** /**
* <code>repeated .bdware.bdledger.api.Block blocks = 1;</code> * <code>repeated .bdware.bdledger.api.Block blocks = 1;</code>
*/ */
@java.lang.Override
public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.CommonProto.BlockOrBuilder> public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.CommonProto.BlockOrBuilder>
getBlocksOrBuilderList() { getBlocksOrBuilderList() {
return blocks_; return blocks_;
@ -4087,18 +4127,21 @@ public final class QueryProto {
/** /**
* <code>repeated .bdware.bdledger.api.Block blocks = 1;</code> * <code>repeated .bdware.bdledger.api.Block blocks = 1;</code>
*/ */
@java.lang.Override
public int getBlocksCount() { public int getBlocksCount() {
return blocks_.size(); return blocks_.size();
} }
/** /**
* <code>repeated .bdware.bdledger.api.Block blocks = 1;</code> * <code>repeated .bdware.bdledger.api.Block blocks = 1;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.Block getBlocks(int index) { public org.bdware.bdledger.api.grpc.pb.CommonProto.Block getBlocks(int index) {
return blocks_.get(index); return blocks_.get(index);
} }
/** /**
* <code>repeated .bdware.bdledger.api.Block blocks = 1;</code> * <code>repeated .bdware.bdledger.api.Block blocks = 1;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.BlockOrBuilder getBlocksOrBuilder( public org.bdware.bdledger.api.grpc.pb.CommonProto.BlockOrBuilder getBlocksOrBuilder(
int index) { int index) {
return blocks_.get(index); return blocks_.get(index);
@ -4110,6 +4153,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -4120,6 +4164,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -4747,6 +4792,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -4777,6 +4823,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -4879,7 +4926,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.CountBlocksResponse} * Protobuf type {@code bdware.bdledger.api.CountBlocksResponse}
*/ */
public static final class CountBlocksResponse extends public static final class CountBlocksResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.CountBlocksResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.CountBlocksResponse)
CountBlocksResponseOrBuilder { CountBlocksResponseOrBuilder {
@ -4974,6 +5021,7 @@ public final class QueryProto {
* <code>uint64 count = 1;</code> * <code>uint64 count = 1;</code>
* @return The count. * @return The count.
*/ */
@java.lang.Override
public long getCount() { public long getCount() {
return count_; return count_;
} }
@ -4984,6 +5032,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -4994,6 +5043,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -5342,6 +5392,7 @@ public final class QueryProto {
* <code>uint64 count = 1;</code> * <code>uint64 count = 1;</code>
* @return The count. * @return The count.
*/ */
@java.lang.Override
public long getCount() { public long getCount() {
return count_; return count_;
} }
@ -5372,6 +5423,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -5402,6 +5454,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -5515,7 +5568,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.RecentBlocksRequest} * Protobuf type {@code bdware.bdledger.api.RecentBlocksRequest}
*/ */
public static final class RecentBlocksRequest extends public static final class RecentBlocksRequest extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.RecentBlocksRequest) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.RecentBlocksRequest)
RecentBlocksRequestOrBuilder { RecentBlocksRequestOrBuilder {
@ -5614,6 +5667,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The ledger. * @return The ledger.
*/ */
@java.lang.Override
public java.lang.String getLedger() { public java.lang.String getLedger() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -5630,6 +5684,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The bytes for ledger. * @return The bytes for ledger.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getLedgerBytes() { getLedgerBytes() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
@ -5650,6 +5705,7 @@ public final class QueryProto {
* <code>int64 count = 2;</code> * <code>int64 count = 2;</code>
* @return The count. * @return The count.
*/ */
@java.lang.Override
public long getCount() { public long getCount() {
return count_; return count_;
} }
@ -5660,14 +5716,14 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 3;</code> * <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 3;</code>
* @return The enum numeric value on the wire for includeTransactions. * @return The enum numeric value on the wire for includeTransactions.
*/ */
public int getIncludeTransactionsValue() { @java.lang.Override public int getIncludeTransactionsValue() {
return includeTransactions_; return includeTransactions_;
} }
/** /**
* <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 3;</code> * <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 3;</code>
* @return The includeTransactions. * @return The includeTransactions.
*/ */
public org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions getIncludeTransactions() { @java.lang.Override public org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions getIncludeTransactions() {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions result = org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.valueOf(includeTransactions_); org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions result = org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.valueOf(includeTransactions_);
return result == null ? org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.UNRECOGNIZED : result; return result == null ? org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.UNRECOGNIZED : result;
@ -6090,6 +6146,7 @@ public final class QueryProto {
* <code>int64 count = 2;</code> * <code>int64 count = 2;</code>
* @return The count. * @return The count.
*/ */
@java.lang.Override
public long getCount() { public long getCount() {
return count_; return count_;
} }
@ -6120,7 +6177,7 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 3;</code> * <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 3;</code>
* @return The enum numeric value on the wire for includeTransactions. * @return The enum numeric value on the wire for includeTransactions.
*/ */
public int getIncludeTransactionsValue() { @java.lang.Override public int getIncludeTransactionsValue() {
return includeTransactions_; return includeTransactions_;
} }
/** /**
@ -6129,6 +6186,7 @@ public final class QueryProto {
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder setIncludeTransactionsValue(int value) { public Builder setIncludeTransactionsValue(int value) {
includeTransactions_ = value; includeTransactions_ = value;
onChanged(); onChanged();
return this; return this;
@ -6137,6 +6195,7 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 3;</code> * <code>.bdware.bdledger.api.IncludeTransactions include_transactions = 3;</code>
* @return The includeTransactions. * @return The includeTransactions.
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions getIncludeTransactions() { public org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions getIncludeTransactions() {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions result = org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.valueOf(includeTransactions_); org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions result = org.bdware.bdledger.api.grpc.pb.QueryProto.IncludeTransactions.valueOf(includeTransactions_);
@ -6244,7 +6303,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.GetTransactionByHashRequest} * Protobuf type {@code bdware.bdledger.api.GetTransactionByHashRequest}
*/ */
public static final class GetTransactionByHashRequest extends public static final class GetTransactionByHashRequest extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionByHashRequest) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionByHashRequest)
GetTransactionByHashRequestOrBuilder { GetTransactionByHashRequestOrBuilder {
@ -6337,6 +6396,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The ledger. * @return The ledger.
*/ */
@java.lang.Override
public java.lang.String getLedger() { public java.lang.String getLedger() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -6353,6 +6413,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The bytes for ledger. * @return The bytes for ledger.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getLedgerBytes() { getLedgerBytes() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
@ -6373,6 +6434,7 @@ public final class QueryProto {
* <code>bytes hash = 2;</code> * <code>bytes hash = 2;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -6777,6 +6839,7 @@ public final class QueryProto {
* <code>bytes hash = 2;</code> * <code>bytes hash = 2;</code>
* @return The hash. * @return The hash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getHash() { public com.google.protobuf.ByteString getHash() {
return hash_; return hash_;
} }
@ -6879,7 +6942,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.GetTransactionByHashResponse} * Protobuf type {@code bdware.bdledger.api.GetTransactionByHashResponse}
*/ */
public static final class GetTransactionByHashResponse extends public static final class GetTransactionByHashResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionByHashResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionByHashResponse)
GetTransactionByHashResponseOrBuilder { GetTransactionByHashResponseOrBuilder {
@ -6972,6 +7035,7 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.Transaction transaction = 1;</code> * <code>.bdware.bdledger.api.Transaction transaction = 1;</code>
* @return Whether the transaction field is set. * @return Whether the transaction field is set.
*/ */
@java.lang.Override
public boolean hasTransaction() { public boolean hasTransaction() {
return transaction_ != null; return transaction_ != null;
} }
@ -6979,12 +7043,14 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.Transaction transaction = 1;</code> * <code>.bdware.bdledger.api.Transaction transaction = 1;</code>
* @return The transaction. * @return The transaction.
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction getTransaction() { public org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction getTransaction() {
return transaction_ == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction.getDefaultInstance() : transaction_; return transaction_ == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction.getDefaultInstance() : transaction_;
} }
/** /**
* <code>.bdware.bdledger.api.Transaction transaction = 1;</code> * <code>.bdware.bdledger.api.Transaction transaction = 1;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder getTransactionOrBuilder() { public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder getTransactionOrBuilder() {
return getTransaction(); return getTransaction();
} }
@ -7506,7 +7572,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.GetTransactionByBlockHashAndIndexRequest} * Protobuf type {@code bdware.bdledger.api.GetTransactionByBlockHashAndIndexRequest}
*/ */
public static final class GetTransactionByBlockHashAndIndexRequest extends public static final class GetTransactionByBlockHashAndIndexRequest extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionByBlockHashAndIndexRequest) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionByBlockHashAndIndexRequest)
GetTransactionByBlockHashAndIndexRequestOrBuilder { GetTransactionByBlockHashAndIndexRequestOrBuilder {
@ -7604,6 +7670,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The ledger. * @return The ledger.
*/ */
@java.lang.Override
public java.lang.String getLedger() { public java.lang.String getLedger() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -7620,6 +7687,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The bytes for ledger. * @return The bytes for ledger.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getLedgerBytes() { getLedgerBytes() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
@ -7640,6 +7708,7 @@ public final class QueryProto {
* <code>bytes block_hash = 2;</code> * <code>bytes block_hash = 2;</code>
* @return The blockHash. * @return The blockHash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getBlockHash() { public com.google.protobuf.ByteString getBlockHash() {
return blockHash_; return blockHash_;
} }
@ -7650,6 +7719,7 @@ public final class QueryProto {
* <code>uint32 index = 3;</code> * <code>uint32 index = 3;</code>
* @return The index. * @return The index.
*/ */
@java.lang.Override
public int getIndex() { public int getIndex() {
return index_; return index_;
} }
@ -8071,6 +8141,7 @@ public final class QueryProto {
* <code>bytes block_hash = 2;</code> * <code>bytes block_hash = 2;</code>
* @return The blockHash. * @return The blockHash.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString getBlockHash() { public com.google.protobuf.ByteString getBlockHash() {
return blockHash_; return blockHash_;
} }
@ -8104,6 +8175,7 @@ public final class QueryProto {
* <code>uint32 index = 3;</code> * <code>uint32 index = 3;</code>
* @return The index. * @return The index.
*/ */
@java.lang.Override
public int getIndex() { public int getIndex() {
return index_; return index_;
} }
@ -8203,7 +8275,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.GetTransactionByBlockHashAndIndexResponse} * Protobuf type {@code bdware.bdledger.api.GetTransactionByBlockHashAndIndexResponse}
*/ */
public static final class GetTransactionByBlockHashAndIndexResponse extends public static final class GetTransactionByBlockHashAndIndexResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionByBlockHashAndIndexResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionByBlockHashAndIndexResponse)
GetTransactionByBlockHashAndIndexResponseOrBuilder { GetTransactionByBlockHashAndIndexResponseOrBuilder {
@ -8296,6 +8368,7 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.Transaction transaction = 1;</code> * <code>.bdware.bdledger.api.Transaction transaction = 1;</code>
* @return Whether the transaction field is set. * @return Whether the transaction field is set.
*/ */
@java.lang.Override
public boolean hasTransaction() { public boolean hasTransaction() {
return transaction_ != null; return transaction_ != null;
} }
@ -8303,12 +8376,14 @@ public final class QueryProto {
* <code>.bdware.bdledger.api.Transaction transaction = 1;</code> * <code>.bdware.bdledger.api.Transaction transaction = 1;</code>
* @return The transaction. * @return The transaction.
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction getTransaction() { public org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction getTransaction() {
return transaction_ == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction.getDefaultInstance() : transaction_; return transaction_ == null ? org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction.getDefaultInstance() : transaction_;
} }
/** /**
* <code>.bdware.bdledger.api.Transaction transaction = 1;</code> * <code>.bdware.bdledger.api.Transaction transaction = 1;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder getTransactionOrBuilder() { public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder getTransactionOrBuilder() {
return getTransaction(); return getTransaction();
} }
@ -8858,7 +8933,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.TransactionsRequest} * Protobuf type {@code bdware.bdledger.api.TransactionsRequest}
*/ */
public static final class TransactionsRequest extends public static final class TransactionsRequest extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.TransactionsRequest) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.TransactionsRequest)
TransactionsRequestOrBuilder { TransactionsRequestOrBuilder {
@ -8969,6 +9044,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The ledger. * @return The ledger.
*/ */
@java.lang.Override
public java.lang.String getLedger() { public java.lang.String getLedger() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
if (ref instanceof java.lang.String) { if (ref instanceof java.lang.String) {
@ -8985,6 +9061,7 @@ public final class QueryProto {
* <code>string ledger = 1;</code> * <code>string ledger = 1;</code>
* @return The bytes for ledger. * @return The bytes for ledger.
*/ */
@java.lang.Override
public com.google.protobuf.ByteString public com.google.protobuf.ByteString
getLedgerBytes() { getLedgerBytes() {
java.lang.Object ref = ledger_; java.lang.Object ref = ledger_;
@ -9009,6 +9086,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -9019,6 +9097,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -9028,12 +9107,14 @@ public final class QueryProto {
/** /**
* <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code>
*/ */
@java.lang.Override
public java.util.List<org.bdware.bdledger.api.grpc.pb.QueryProto.TransactionFilter> getFiltersList() { public java.util.List<org.bdware.bdledger.api.grpc.pb.QueryProto.TransactionFilter> getFiltersList() {
return filters_; return filters_;
} }
/** /**
* <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code>
*/ */
@java.lang.Override
public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.QueryProto.TransactionFilterOrBuilder> public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.QueryProto.TransactionFilterOrBuilder>
getFiltersOrBuilderList() { getFiltersOrBuilderList() {
return filters_; return filters_;
@ -9041,18 +9122,21 @@ public final class QueryProto {
/** /**
* <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code>
*/ */
@java.lang.Override
public int getFiltersCount() { public int getFiltersCount() {
return filters_.size(); return filters_.size();
} }
/** /**
* <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.QueryProto.TransactionFilter getFilters(int index) { public org.bdware.bdledger.api.grpc.pb.QueryProto.TransactionFilter getFilters(int index) {
return filters_.get(index); return filters_.get(index);
} }
/** /**
* <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code> * <code>repeated .bdware.bdledger.api.TransactionFilter filters = 4;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.QueryProto.TransactionFilterOrBuilder getFiltersOrBuilder( public org.bdware.bdledger.api.grpc.pb.QueryProto.TransactionFilterOrBuilder getFiltersOrBuilder(
int index) { int index) {
return filters_.get(index); return filters_.get(index);
@ -9538,6 +9622,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -9576,6 +9661,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -9936,7 +10022,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.GetTransactionsResponse} * Protobuf type {@code bdware.bdledger.api.GetTransactionsResponse}
*/ */
public static final class GetTransactionsResponse extends public static final class GetTransactionsResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionsResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.GetTransactionsResponse)
GetTransactionsResponseOrBuilder { GetTransactionsResponseOrBuilder {
@ -10039,12 +10125,14 @@ public final class QueryProto {
/** /**
* <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code>
*/ */
@java.lang.Override
public java.util.List<org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction> getTransactionsList() { public java.util.List<org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction> getTransactionsList() {
return transactions_; return transactions_;
} }
/** /**
* <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code>
*/ */
@java.lang.Override
public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder> public java.util.List<? extends org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder>
getTransactionsOrBuilderList() { getTransactionsOrBuilderList() {
return transactions_; return transactions_;
@ -10052,18 +10140,21 @@ public final class QueryProto {
/** /**
* <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code>
*/ */
@java.lang.Override
public int getTransactionsCount() { public int getTransactionsCount() {
return transactions_.size(); return transactions_.size();
} }
/** /**
* <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction getTransactions(int index) { public org.bdware.bdledger.api.grpc.pb.CommonProto.Transaction getTransactions(int index) {
return transactions_.get(index); return transactions_.get(index);
} }
/** /**
* <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code> * <code>repeated .bdware.bdledger.api.Transaction transactions = 1;</code>
*/ */
@java.lang.Override
public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder getTransactionsOrBuilder( public org.bdware.bdledger.api.grpc.pb.CommonProto.TransactionOrBuilder getTransactionsOrBuilder(
int index) { int index) {
return transactions_.get(index); return transactions_.get(index);
@ -10075,6 +10166,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -10085,6 +10177,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -10712,6 +10805,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -10742,6 +10836,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -10844,7 +10939,7 @@ public final class QueryProto {
/** /**
* Protobuf type {@code bdware.bdledger.api.CountTransactionsResponse} * Protobuf type {@code bdware.bdledger.api.CountTransactionsResponse}
*/ */
public static final class CountTransactionsResponse extends public static final class CountTransactionsResponse extends
com.google.protobuf.GeneratedMessageV3 implements com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bdware.bdledger.api.CountTransactionsResponse) // @@protoc_insertion_point(message_implements:bdware.bdledger.api.CountTransactionsResponse)
CountTransactionsResponseOrBuilder { CountTransactionsResponseOrBuilder {
@ -10939,6 +11034,7 @@ public final class QueryProto {
* <code>uint64 count = 1;</code> * <code>uint64 count = 1;</code>
* @return The count. * @return The count.
*/ */
@java.lang.Override
public long getCount() { public long getCount() {
return count_; return count_;
} }
@ -10949,6 +11045,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -10959,6 +11056,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }
@ -11307,6 +11405,7 @@ public final class QueryProto {
* <code>uint64 count = 1;</code> * <code>uint64 count = 1;</code>
* @return The count. * @return The count.
*/ */
@java.lang.Override
public long getCount() { public long getCount() {
return count_; return count_;
} }
@ -11337,6 +11436,7 @@ public final class QueryProto {
* <code>int64 start_timestamp = 2;</code> * <code>int64 start_timestamp = 2;</code>
* @return The startTimestamp. * @return The startTimestamp.
*/ */
@java.lang.Override
public long getStartTimestamp() { public long getStartTimestamp() {
return startTimestamp_; return startTimestamp_;
} }
@ -11367,6 +11467,7 @@ public final class QueryProto {
* <code>int64 end_timestamp = 3;</code> * <code>int64 end_timestamp = 3;</code>
* @return The endTimestamp. * @return The endTimestamp.
*/ */
@java.lang.Override
public long getEndTimestamp() { public long getEndTimestamp() {
return endTimestamp_; return endTimestamp_;
} }