com.hedera.hashgraph.sdk.proto.ResponseHeaderOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: response_header.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface ResponseHeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.ResponseHeader)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* Result of fee transaction precheck, saying it passed, or why it failed
*
*
* .proto.ResponseCodeEnum nodeTransactionPrecheckCode = 1;
* @return The enum numeric value on the wire for nodeTransactionPrecheckCode.
*/
int getNodeTransactionPrecheckCodeValue();
/**
*
**
* Result of fee transaction precheck, saying it passed, or why it failed
*
*
* .proto.ResponseCodeEnum nodeTransactionPrecheckCode = 1;
* @return The nodeTransactionPrecheckCode.
*/
com.hedera.hashgraph.sdk.proto.ResponseCodeEnum getNodeTransactionPrecheckCode();
/**
*
**
* The requested response is repeated back here, for convenience
*
*
* .proto.ResponseType responseType = 2;
* @return The enum numeric value on the wire for responseType.
*/
int getResponseTypeValue();
/**
*
**
* The requested response is repeated back here, for convenience
*
*
* .proto.ResponseType responseType = 2;
* @return The responseType.
*/
com.hedera.hashgraph.sdk.proto.ResponseType getResponseType();
/**
*
**
* The fee that would be charged to get the requested information (if a cost was requested).
* Note: This cost only includes the query fee and does not include the transfer fee(which is
* required to execute the transfer transaction to debit the payer account and credit the node
* account with query fee)
*
*
* uint64 cost = 3;
* @return The cost.
*/
long getCost();
/**
*
**
* The state proof for this information (if a state proof was requested, and is available)
*
*
* bytes stateProof = 4;
* @return The stateProof.
*/
com.google.protobuf.ByteString getStateProof();
}