Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: contract_call_local.proto
package com.hederahashgraph.api.proto.java;
/**
*
**
* The result returned by a call to a smart contract function. This is part of the response to a
* ContractCallLocal query, and is in the record for a ContractCall or ContractCreateInstance
* transaction. The ContractCreateInstance transaction record has the results of the call to the
* constructor.
*
*
* Protobuf type {@code proto.ContractFunctionResult}
*/
public final class ContractFunctionResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.ContractFunctionResult)
ContractFunctionResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use ContractFunctionResult.newBuilder() to construct.
private ContractFunctionResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ContractFunctionResult() {
contractCallResult_ = com.google.protobuf.ByteString.EMPTY;
errorMessage_ = "";
bloom_ = com.google.protobuf.ByteString.EMPTY;
logInfo_ = java.util.Collections.emptyList();
createdContractIDs_ = java.util.Collections.emptyList();
functionParameters_ = com.google.protobuf.ByteString.EMPTY;
contractNonces_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ContractFunctionResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ContractFunctionResult(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.hederahashgraph.api.proto.java.ContractID.Builder subBuilder = null;
if (contractID_ != null) {
subBuilder = contractID_.toBuilder();
}
contractID_ = input.readMessage(com.hederahashgraph.api.proto.java.ContractID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(contractID_);
contractID_ = subBuilder.buildPartial();
}
break;
}
case 18: {
contractCallResult_ = input.readBytes();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
errorMessage_ = s;
break;
}
case 34: {
bloom_ = input.readBytes();
break;
}
case 40: {
gasUsed_ = input.readUInt64();
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
logInfo_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
logInfo_.add(
input.readMessage(com.hederahashgraph.api.proto.java.ContractLoginfo.parser(), extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
createdContractIDs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
createdContractIDs_.add(
input.readMessage(com.hederahashgraph.api.proto.java.ContractID.parser(), extensionRegistry));
break;
}
case 74: {
com.google.protobuf.BytesValue.Builder subBuilder = null;
if (evmAddress_ != null) {
subBuilder = evmAddress_.toBuilder();
}
evmAddress_ = input.readMessage(com.google.protobuf.BytesValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(evmAddress_);
evmAddress_ = subBuilder.buildPartial();
}
break;
}
case 80: {
gas_ = input.readInt64();
break;
}
case 88: {
amount_ = input.readInt64();
break;
}
case 98: {
functionParameters_ = input.readBytes();
break;
}
case 106: {
com.hederahashgraph.api.proto.java.AccountID.Builder subBuilder = null;
if (senderId_ != null) {
subBuilder = senderId_.toBuilder();
}
senderId_ = input.readMessage(com.hederahashgraph.api.proto.java.AccountID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(senderId_);
senderId_ = subBuilder.buildPartial();
}
break;
}
case 114: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
contractNonces_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
contractNonces_.add(
input.readMessage(com.hederahashgraph.api.proto.java.ContractNonceInfo.parser(), extensionRegistry));
break;
}
case 122: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (signerNonce_ != null) {
subBuilder = signerNonce_.toBuilder();
}
signerNonce_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(signerNonce_);
signerNonce_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
logInfo_ = java.util.Collections.unmodifiableList(logInfo_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
createdContractIDs_ = java.util.Collections.unmodifiableList(createdContractIDs_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
contractNonces_ = java.util.Collections.unmodifiableList(contractNonces_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.ContractCallLocal.internal_static_proto_ContractFunctionResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.ContractCallLocal.internal_static_proto_ContractFunctionResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.ContractFunctionResult.class, com.hederahashgraph.api.proto.java.ContractFunctionResult.Builder.class);
}
public static final int CONTRACTID_FIELD_NUMBER = 1;
private com.hederahashgraph.api.proto.java.ContractID contractID_;
/**
*
**
* the smart contract instance whose function was called
*
*
* .proto.ContractID contractID = 1;
* @return Whether the contractID field is set.
*/
@java.lang.Override
public boolean hasContractID() {
return contractID_ != null;
}
/**
*
**
* the smart contract instance whose function was called
*
**
* the log info for events returned by the function
*
*
* repeated .proto.ContractLoginfo logInfo = 6;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractLoginfoOrBuilder getLogInfoOrBuilder(
int index) {
return logInfo_.get(index);
}
public static final int CREATEDCONTRACTIDS_FIELD_NUMBER = 7;
private java.util.List createdContractIDs_;
/**
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
*
* repeated .proto.ContractID createdContractIDs = 7 [deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getCreatedContractIDsOrBuilder(
int index) {
return createdContractIDs_.get(index);
}
public static final int EVM_ADDRESS_FIELD_NUMBER = 9;
private com.google.protobuf.BytesValue evmAddress_;
/**
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
*
* .google.protobuf.BytesValue evm_address = 9;
* @return Whether the evmAddress field is set.
*/
@java.lang.Override
public boolean hasEvmAddress() {
return evmAddress_ != null;
}
/**
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
*
* .google.protobuf.BytesValue evm_address = 9;
*/
@java.lang.Override
public com.google.protobuf.BytesValueOrBuilder getEvmAddressOrBuilder() {
return getEvmAddress();
}
public static final int GAS_FIELD_NUMBER = 10;
private long gas_;
/**
*
**
* The amount of gas available for the call, aka the gasLimit.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* int64 gas = 10;
* @return The gas.
*/
@java.lang.Override
public long getGas() {
return gas_;
}
public static final int AMOUNT_FIELD_NUMBER = 11;
private long amount_;
/**
*
**
* Number of tinybars sent (the function must be payable if this is nonzero).
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* int64 amount = 11;
* @return The amount.
*/
@java.lang.Override
public long getAmount() {
return amount_;
}
public static final int FUNCTIONPARAMETERS_FIELD_NUMBER = 12;
private com.google.protobuf.ByteString functionParameters_;
/**
*
**
* The parameters passed into the contract call.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* bytes functionParameters = 12;
* @return The functionParameters.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFunctionParameters() {
return functionParameters_;
}
public static final int SENDER_ID_FIELD_NUMBER = 13;
private com.hederahashgraph.api.proto.java.AccountID senderId_;
/**
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* .proto.AccountID sender_id = 13;
* @return Whether the senderId field is set.
*/
@java.lang.Override
public boolean hasSenderId() {
return senderId_ != null;
}
/**
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* .proto.AccountID sender_id = 13;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getSenderIdOrBuilder() {
return getSenderId();
}
public static final int CONTRACT_NONCES_FIELD_NUMBER = 14;
private java.util.List contractNonces_;
/**
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
*
* repeated .proto.ContractNonceInfo contract_nonces = 14;
*/
@java.lang.Override
public int getContractNoncesCount() {
return contractNonces_.size();
}
/**
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
*
* repeated .proto.ContractNonceInfo contract_nonces = 14;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractNonceInfoOrBuilder getContractNoncesOrBuilder(
int index) {
return contractNonces_.get(index);
}
public static final int SIGNER_NONCE_FIELD_NUMBER = 15;
private com.google.protobuf.Int64Value signerNonce_;
/**
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
*
* .google.protobuf.Int64Value signer_nonce = 15;
* @return Whether the signerNonce field is set.
*/
@java.lang.Override
public boolean hasSignerNonce() {
return signerNonce_ != null;
}
/**
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
*
* .google.protobuf.Int64Value signer_nonce = 15;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getSignerNonceOrBuilder() {
return getSignerNonce();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (contractID_ != null) {
output.writeMessage(1, getContractID());
}
if (!contractCallResult_.isEmpty()) {
output.writeBytes(2, contractCallResult_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorMessage_);
}
if (!bloom_.isEmpty()) {
output.writeBytes(4, bloom_);
}
if (gasUsed_ != 0L) {
output.writeUInt64(5, gasUsed_);
}
for (int i = 0; i < logInfo_.size(); i++) {
output.writeMessage(6, logInfo_.get(i));
}
for (int i = 0; i < createdContractIDs_.size(); i++) {
output.writeMessage(7, createdContractIDs_.get(i));
}
if (evmAddress_ != null) {
output.writeMessage(9, getEvmAddress());
}
if (gas_ != 0L) {
output.writeInt64(10, gas_);
}
if (amount_ != 0L) {
output.writeInt64(11, amount_);
}
if (!functionParameters_.isEmpty()) {
output.writeBytes(12, functionParameters_);
}
if (senderId_ != null) {
output.writeMessage(13, getSenderId());
}
for (int i = 0; i < contractNonces_.size(); i++) {
output.writeMessage(14, contractNonces_.get(i));
}
if (signerNonce_ != null) {
output.writeMessage(15, getSignerNonce());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (contractID_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getContractID());
}
if (!contractCallResult_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, contractCallResult_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorMessage_);
}
if (!bloom_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, bloom_);
}
if (gasUsed_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, gasUsed_);
}
for (int i = 0; i < logInfo_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, logInfo_.get(i));
}
for (int i = 0; i < createdContractIDs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, createdContractIDs_.get(i));
}
if (evmAddress_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getEvmAddress());
}
if (gas_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, gas_);
}
if (amount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, amount_);
}
if (!functionParameters_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(12, functionParameters_);
}
if (senderId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getSenderId());
}
for (int i = 0; i < contractNonces_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, contractNonces_.get(i));
}
if (signerNonce_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getSignerNonce());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.hederahashgraph.api.proto.java.ContractFunctionResult)) {
return super.equals(obj);
}
com.hederahashgraph.api.proto.java.ContractFunctionResult other = (com.hederahashgraph.api.proto.java.ContractFunctionResult) obj;
if (hasContractID() != other.hasContractID()) return false;
if (hasContractID()) {
if (!getContractID()
.equals(other.getContractID())) return false;
}
if (!getContractCallResult()
.equals(other.getContractCallResult())) return false;
if (!getErrorMessage()
.equals(other.getErrorMessage())) return false;
if (!getBloom()
.equals(other.getBloom())) return false;
if (getGasUsed()
!= other.getGasUsed()) return false;
if (!getLogInfoList()
.equals(other.getLogInfoList())) return false;
if (!getCreatedContractIDsList()
.equals(other.getCreatedContractIDsList())) return false;
if (hasEvmAddress() != other.hasEvmAddress()) return false;
if (hasEvmAddress()) {
if (!getEvmAddress()
.equals(other.getEvmAddress())) return false;
}
if (getGas()
!= other.getGas()) return false;
if (getAmount()
!= other.getAmount()) return false;
if (!getFunctionParameters()
.equals(other.getFunctionParameters())) return false;
if (hasSenderId() != other.hasSenderId()) return false;
if (hasSenderId()) {
if (!getSenderId()
.equals(other.getSenderId())) return false;
}
if (!getContractNoncesList()
.equals(other.getContractNoncesList())) return false;
if (hasSignerNonce() != other.hasSignerNonce()) return false;
if (hasSignerNonce()) {
if (!getSignerNonce()
.equals(other.getSignerNonce())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasContractID()) {
hash = (37 * hash) + CONTRACTID_FIELD_NUMBER;
hash = (53 * hash) + getContractID().hashCode();
}
hash = (37 * hash) + CONTRACTCALLRESULT_FIELD_NUMBER;
hash = (53 * hash) + getContractCallResult().hashCode();
hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
hash = (37 * hash) + BLOOM_FIELD_NUMBER;
hash = (53 * hash) + getBloom().hashCode();
hash = (37 * hash) + GASUSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGasUsed());
if (getLogInfoCount() > 0) {
hash = (37 * hash) + LOGINFO_FIELD_NUMBER;
hash = (53 * hash) + getLogInfoList().hashCode();
}
if (getCreatedContractIDsCount() > 0) {
hash = (37 * hash) + CREATEDCONTRACTIDS_FIELD_NUMBER;
hash = (53 * hash) + getCreatedContractIDsList().hashCode();
}
if (hasEvmAddress()) {
hash = (37 * hash) + EVM_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getEvmAddress().hashCode();
}
hash = (37 * hash) + GAS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGas());
hash = (37 * hash) + AMOUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAmount());
hash = (37 * hash) + FUNCTIONPARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getFunctionParameters().hashCode();
if (hasSenderId()) {
hash = (37 * hash) + SENDER_ID_FIELD_NUMBER;
hash = (53 * hash) + getSenderId().hashCode();
}
if (getContractNoncesCount() > 0) {
hash = (37 * hash) + CONTRACT_NONCES_FIELD_NUMBER;
hash = (53 * hash) + getContractNoncesList().hashCode();
}
if (hasSignerNonce()) {
hash = (37 * hash) + SIGNER_NONCE_FIELD_NUMBER;
hash = (53 * hash) + getSignerNonce().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.hederahashgraph.api.proto.java.ContractFunctionResult prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
**
* The result returned by a call to a smart contract function. This is part of the response to a
* ContractCallLocal query, and is in the record for a ContractCall or ContractCreateInstance
* transaction. The ContractCreateInstance transaction record has the results of the call to the
* constructor.
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
*
* repeated .proto.ContractID createdContractIDs = 7 [deprecated = true];
*/
@java.lang.Deprecated public Builder setCreatedContractIDs(
int index, com.hederahashgraph.api.proto.java.ContractID value) {
if (createdContractIDsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreatedContractIDsIsMutable();
createdContractIDs_.set(index, value);
onChanged();
} else {
createdContractIDsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
*
* repeated .proto.ContractID createdContractIDs = 7 [deprecated = true];
*/
@java.lang.Deprecated public Builder addCreatedContractIDs(
int index, com.hederahashgraph.api.proto.java.ContractID value) {
if (createdContractIDsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCreatedContractIDsIsMutable();
createdContractIDs_.add(index, value);
onChanged();
} else {
createdContractIDsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* [DEPRECATED] the list of smart contracts that were created by the function call.
*
* The created ids will now _also_ be externalized through internal transaction
* records, where each record has its alias field populated with the new contract's
* EVM address. (This is needed for contracts created with CREATE2, since
* there is no longer a simple relationship between the new contract's 0.0.X id
* and its Solidity address.)
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
*
* .google.protobuf.BytesValue evm_address = 9;
* @return Whether the evmAddress field is set.
*/
public boolean hasEvmAddress() {
return evmAddressBuilder_ != null || evmAddress_ != null;
}
/**
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
*
* .google.protobuf.BytesValue evm_address = 9;
*/
public Builder setEvmAddress(com.google.protobuf.BytesValue value) {
if (evmAddressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evmAddress_ = value;
onChanged();
} else {
evmAddressBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
**
* The new contract's 20-byte EVM address. Only populated after release 0.23,
* where each created contract will have its own record. (This is an important
* point--the field is not <tt>repeated</tt> because there will be a separate
* child record for each created contract.)
*
* Every contract has an EVM address determined by its <tt>shard.realm.num</tt> id.
* This address is as follows:
* <ol>
* <li>The first 4 bytes are the big-endian representation of the shard.</li>
* <li>The next 8 bytes are the big-endian representation of the realm.</li>
* <li>The final 8 bytes are the big-endian representation of the number.</li>
* </ol>
*
* Contracts created via CREATE2 have an <b>additional, primary address</b> that is
* derived from the <a href="https://eips.ethereum.org/EIPS/eip-1014">EIP-1014</a>
* specification, and does not have a simple relation to a <tt>shard.realm.num</tt> id.
*
* (Please do note that CREATE2 contracts can also be referenced by the three-part
* EVM address described above.)
*
**
* The amount of gas available for the call, aka the gasLimit.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* int64 gas = 10;
* @return The gas.
*/
@java.lang.Override
public long getGas() {
return gas_;
}
/**
*
**
* The amount of gas available for the call, aka the gasLimit.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* int64 gas = 10;
* @param value The gas to set.
* @return This builder for chaining.
*/
public Builder setGas(long value) {
gas_ = value;
onChanged();
return this;
}
/**
*
**
* The amount of gas available for the call, aka the gasLimit.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* int64 gas = 10;
* @return This builder for chaining.
*/
public Builder clearGas() {
gas_ = 0L;
onChanged();
return this;
}
private long amount_ ;
/**
*
**
* Number of tinybars sent (the function must be payable if this is nonzero).
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* int64 amount = 11;
* @return The amount.
*/
@java.lang.Override
public long getAmount() {
return amount_;
}
/**
*
**
* Number of tinybars sent (the function must be payable if this is nonzero).
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* int64 amount = 11;
* @param value The amount to set.
* @return This builder for chaining.
*/
public Builder setAmount(long value) {
amount_ = value;
onChanged();
return this;
}
/**
*
**
* Number of tinybars sent (the function must be payable if this is nonzero).
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The parameters passed into the contract call.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The parameters passed into the contract call.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* bytes functionParameters = 12;
* @param value The functionParameters to set.
* @return This builder for chaining.
*/
public Builder setFunctionParameters(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
functionParameters_ = value;
onChanged();
return this;
}
/**
*
**
* The parameters passed into the contract call.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* .proto.AccountID sender_id = 13;
* @return Whether the senderId field is set.
*/
public boolean hasSenderId() {
return senderIdBuilder_ != null || senderId_ != null;
}
/**
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
*
* .proto.AccountID sender_id = 13;
*/
public Builder setSenderId(com.hederahashgraph.api.proto.java.AccountID value) {
if (senderIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
senderId_ = value;
onChanged();
} else {
senderIdBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* The account that is the "sender." If not present it is the accountId from the transactionId.
* This field should only be populated when the paired TransactionBody in the record stream is not a
* ContractCreateTransactionBody or a ContractCallTransactionBody.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
*
* repeated .proto.ContractNonceInfo contract_nonces = 14;
*/
public int getContractNoncesCount() {
if (contractNoncesBuilder_ == null) {
return contractNonces_.size();
} else {
return contractNoncesBuilder_.getCount();
}
}
/**
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
*
* repeated .proto.ContractNonceInfo contract_nonces = 14;
*/
public Builder setContractNonces(
int index, com.hederahashgraph.api.proto.java.ContractNonceInfo value) {
if (contractNoncesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContractNoncesIsMutable();
contractNonces_.set(index, value);
onChanged();
} else {
contractNoncesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
*
* repeated .proto.ContractNonceInfo contract_nonces = 14;
*/
public Builder addContractNonces(com.hederahashgraph.api.proto.java.ContractNonceInfo value) {
if (contractNoncesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContractNoncesIsMutable();
contractNonces_.add(value);
onChanged();
} else {
contractNoncesBuilder_.addMessage(value);
}
return this;
}
/**
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
*
* repeated .proto.ContractNonceInfo contract_nonces = 14;
*/
public Builder addContractNonces(
int index, com.hederahashgraph.api.proto.java.ContractNonceInfo value) {
if (contractNoncesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureContractNoncesIsMutable();
contractNonces_.add(index, value);
onChanged();
} else {
contractNoncesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
*
* repeated .proto.ContractNonceInfo contract_nonces = 14;
*/
public com.hederahashgraph.api.proto.java.ContractNonceInfo.Builder getContractNoncesBuilder(
int index) {
return getContractNoncesFieldBuilder().getBuilder(index);
}
/**
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
*
* repeated .proto.ContractNonceInfo contract_nonces = 14;
*/
public com.hederahashgraph.api.proto.java.ContractNonceInfoOrBuilder getContractNoncesOrBuilder(
int index) {
if (contractNoncesBuilder_ == null) {
return contractNonces_.get(index); } else {
return contractNoncesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* A list of updated contract account nonces containing the new nonce value for each contract account.
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
*
* .google.protobuf.Int64Value signer_nonce = 15;
* @return Whether the signerNonce field is set.
*/
public boolean hasSignerNonce() {
return signerNonceBuilder_ != null || signerNonce_ != null;
}
/**
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
*
* .google.protobuf.Int64Value signer_nonce = 15;
*/
public Builder setSignerNonce(com.google.protobuf.Int64Value value) {
if (signerNonceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
signerNonce_ = value;
onChanged();
} else {
signerNonceBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce, this field should be null.
*
*
* .google.protobuf.Int64Value signer_nonce = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getSignerNonceFieldBuilder() {
if (signerNonceBuilder_ == null) {
signerNonceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getSignerNonce(),
getParentForChildren(),
isClean());
signerNonce_ = null;
}
return signerNonceBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:proto.ContractFunctionResult)
}
// @@protoc_insertion_point(class_scope:proto.ContractFunctionResult)
private static final com.hederahashgraph.api.proto.java.ContractFunctionResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.ContractFunctionResult();
}
public static com.hederahashgraph.api.proto.java.ContractFunctionResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ContractFunctionResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ContractFunctionResult(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.ContractFunctionResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}