Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface QueryHeaderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
QueryHeader,QueryHeader.Builder
@Generated
public interface QueryHeaderOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* A signed `CryptoTransferTransaction` to pay query fees.* A type of query response requested.int* A type of query response requested.boolean* A signed `CryptoTransferTransaction` to pay query fees.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasPayment
boolean hasPayment()* A signed `CryptoTransferTransaction` to pay query fees. <p> This MUST transfer HBAR from the "payer" to the responding node account sufficient to pay the query fees.
.proto.Transaction payment = 1;- Returns:
- Whether the payment field is set.
-
getPayment
Transaction getPayment()* A signed `CryptoTransferTransaction` to pay query fees. <p> This MUST transfer HBAR from the "payer" to the responding node account sufficient to pay the query fees.
.proto.Transaction payment = 1;- Returns:
- The payment.
-
getResponseTypeValue
int getResponseTypeValue()* A type of query response requested.
.proto.ResponseType responseType = 2;- Returns:
- The enum numeric value on the wire for responseType.
-
getResponseType
ResponseType getResponseType()* A type of query response requested.
.proto.ResponseType responseType = 2;- Returns:
- The responseType.
-