All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.EthereumTransactionBody Maven / Gradle / Ivy

There is a newer version: 2.40.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ethereum_transaction.proto

// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;

/**
 * Protobuf type {@code proto.EthereumTransactionBody}
 */
public final class EthereumTransactionBody extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:proto.EthereumTransactionBody)
    EthereumTransactionBodyOrBuilder {
private static final long serialVersionUID = 0L;
  // Use EthereumTransactionBody.newBuilder() to construct.
  private EthereumTransactionBody(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private EthereumTransactionBody() {
    ethereumData_ = com.google.protobuf.ByteString.EMPTY;
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new EthereumTransactionBody();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.hedera.hashgraph.sdk.proto.EthereumTransaction.internal_static_proto_EthereumTransactionBody_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.hedera.hashgraph.sdk.proto.EthereumTransaction.internal_static_proto_EthereumTransactionBody_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.class, com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.Builder.class);
  }

  private int bitField0_;
  public static final int ETHEREUM_DATA_FIELD_NUMBER = 1;
  private com.google.protobuf.ByteString ethereumData_ = com.google.protobuf.ByteString.EMPTY;
  /**
   * 
   **
   * The raw Ethereum transaction (RLP encoded type 0, 1, and 2). Complete 
   * unless the callData field is set.
   * 
* * bytes ethereum_data = 1; * @return The ethereumData. */ @java.lang.Override public com.google.protobuf.ByteString getEthereumData() { return ethereumData_; } public static final int CALL_DATA_FIELD_NUMBER = 2; private com.hedera.hashgraph.sdk.proto.FileID callData_; /** *
   **
   * For large transactions (for example contract create) this is the callData
   * of the ethereumData. The data in the ethereumData will be re-written with 
   * the callData element as a zero length string with the original contents in 
   * the referenced file at time of execution. The ethereumData will need to be 
   * "rehydrated" with the callData for signature validation to pass.
   * 
* * .proto.FileID call_data = 2; * @return Whether the callData field is set. */ @java.lang.Override public boolean hasCallData() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * For large transactions (for example contract create) this is the callData
   * of the ethereumData. The data in the ethereumData will be re-written with 
   * the callData element as a zero length string with the original contents in 
   * the referenced file at time of execution. The ethereumData will need to be 
   * "rehydrated" with the callData for signature validation to pass.
   * 
* * .proto.FileID call_data = 2; * @return The callData. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.FileID getCallData() { return callData_ == null ? com.hedera.hashgraph.sdk.proto.FileID.getDefaultInstance() : callData_; } /** *
   **
   * For large transactions (for example contract create) this is the callData
   * of the ethereumData. The data in the ethereumData will be re-written with 
   * the callData element as a zero length string with the original contents in 
   * the referenced file at time of execution. The ethereumData will need to be 
   * "rehydrated" with the callData for signature validation to pass.
   * 
* * .proto.FileID call_data = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.FileIDOrBuilder getCallDataOrBuilder() { return callData_ == null ? com.hedera.hashgraph.sdk.proto.FileID.getDefaultInstance() : callData_; } public static final int MAX_GAS_ALLOWANCE_FIELD_NUMBER = 3; private long maxGasAllowance_ = 0L; /** *
   **
   * The maximum amount, in tinybars, that the payer of the hedera transaction 
   * is willing to pay to complete the transaction.
   *
   * Ordinarily the account with the ECDSA alias corresponding to the public 
   * key that is extracted from the ethereum_data signature is responsible for
   * fees that result from the execution of the transaction. If that amount of
   * authorized fees is not sufficient then the payer of the transaction can be
   * charged, up to but not exceeding this amount. If the ethereum_data 
   * transaction authorized an amount that was insufficient then the payer will
   * only be charged the amount needed to make up the difference. If the gas 
   * price in the transaction was set to zero then the payer will be assessed 
   * the entire fee.
   * 
* * int64 max_gas_allowance = 3; * @return The maxGasAllowance. */ @java.lang.Override public long getMaxGasAllowance() { return maxGasAllowance_; } 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 (!ethereumData_.isEmpty()) { output.writeBytes(1, ethereumData_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getCallData()); } if (maxGasAllowance_ != 0L) { output.writeInt64(3, maxGasAllowance_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!ethereumData_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, ethereumData_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCallData()); } if (maxGasAllowance_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, maxGasAllowance_); } size += getUnknownFields().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.hedera.hashgraph.sdk.proto.EthereumTransactionBody)) { return super.equals(obj); } com.hedera.hashgraph.sdk.proto.EthereumTransactionBody other = (com.hedera.hashgraph.sdk.proto.EthereumTransactionBody) obj; if (!getEthereumData() .equals(other.getEthereumData())) return false; if (hasCallData() != other.hasCallData()) return false; if (hasCallData()) { if (!getCallData() .equals(other.getCallData())) return false; } if (getMaxGasAllowance() != other.getMaxGasAllowance()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ETHEREUM_DATA_FIELD_NUMBER; hash = (53 * hash) + getEthereumData().hashCode(); if (hasCallData()) { hash = (37 * hash) + CALL_DATA_FIELD_NUMBER; hash = (53 * hash) + getCallData().hashCode(); } hash = (37 * hash) + MAX_GAS_ALLOWANCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxGasAllowance()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody 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.hedera.hashgraph.sdk.proto.EthereumTransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody 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.hedera.hashgraph.sdk.proto.EthereumTransactionBody parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody 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.hedera.hashgraph.sdk.proto.EthereumTransactionBody 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; } /** * Protobuf type {@code proto.EthereumTransactionBody} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.EthereumTransactionBody) com.hedera.hashgraph.sdk.proto.EthereumTransactionBodyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hashgraph.sdk.proto.EthereumTransaction.internal_static_proto_EthereumTransactionBody_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hashgraph.sdk.proto.EthereumTransaction.internal_static_proto_EthereumTransactionBody_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.class, com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.Builder.class); } // Construct using com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCallDataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; ethereumData_ = com.google.protobuf.ByteString.EMPTY; callData_ = null; if (callDataBuilder_ != null) { callDataBuilder_.dispose(); callDataBuilder_ = null; } maxGasAllowance_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hedera.hashgraph.sdk.proto.EthereumTransaction.internal_static_proto_EthereumTransactionBody_descriptor; } @java.lang.Override public com.hedera.hashgraph.sdk.proto.EthereumTransactionBody getDefaultInstanceForType() { return com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.getDefaultInstance(); } @java.lang.Override public com.hedera.hashgraph.sdk.proto.EthereumTransactionBody build() { com.hedera.hashgraph.sdk.proto.EthereumTransactionBody result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hedera.hashgraph.sdk.proto.EthereumTransactionBody buildPartial() { com.hedera.hashgraph.sdk.proto.EthereumTransactionBody result = new com.hedera.hashgraph.sdk.proto.EthereumTransactionBody(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.hedera.hashgraph.sdk.proto.EthereumTransactionBody result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.ethereumData_ = ethereumData_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.callData_ = callDataBuilder_ == null ? callData_ : callDataBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.maxGasAllowance_ = maxGasAllowance_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.hedera.hashgraph.sdk.proto.EthereumTransactionBody) { return mergeFrom((com.hedera.hashgraph.sdk.proto.EthereumTransactionBody)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hedera.hashgraph.sdk.proto.EthereumTransactionBody other) { if (other == com.hedera.hashgraph.sdk.proto.EthereumTransactionBody.getDefaultInstance()) return this; if (other.getEthereumData() != com.google.protobuf.ByteString.EMPTY) { setEthereumData(other.getEthereumData()); } if (other.hasCallData()) { mergeCallData(other.getCallData()); } if (other.getMaxGasAllowance() != 0L) { setMaxGasAllowance(other.getMaxGasAllowance()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { ethereumData_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getCallDataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 24: { maxGasAllowance_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString ethereumData_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * The raw Ethereum transaction (RLP encoded type 0, 1, and 2). Complete 
     * unless the callData field is set.
     * 
* * bytes ethereum_data = 1; * @return The ethereumData. */ @java.lang.Override public com.google.protobuf.ByteString getEthereumData() { return ethereumData_; } /** *
     **
     * The raw Ethereum transaction (RLP encoded type 0, 1, and 2). Complete 
     * unless the callData field is set.
     * 
* * bytes ethereum_data = 1; * @param value The ethereumData to set. * @return This builder for chaining. */ public Builder setEthereumData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ethereumData_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * The raw Ethereum transaction (RLP encoded type 0, 1, and 2). Complete 
     * unless the callData field is set.
     * 
* * bytes ethereum_data = 1; * @return This builder for chaining. */ public Builder clearEthereumData() { bitField0_ = (bitField0_ & ~0x00000001); ethereumData_ = getDefaultInstance().getEthereumData(); onChanged(); return this; } private com.hedera.hashgraph.sdk.proto.FileID callData_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.FileID, com.hedera.hashgraph.sdk.proto.FileID.Builder, com.hedera.hashgraph.sdk.proto.FileIDOrBuilder> callDataBuilder_; /** *
     **
     * For large transactions (for example contract create) this is the callData
     * of the ethereumData. The data in the ethereumData will be re-written with 
     * the callData element as a zero length string with the original contents in 
     * the referenced file at time of execution. The ethereumData will need to be 
     * "rehydrated" with the callData for signature validation to pass.
     * 
* * .proto.FileID call_data = 2; * @return Whether the callData field is set. */ public boolean hasCallData() { return ((bitField0_ & 0x00000002) != 0); } /** *
     **
     * For large transactions (for example contract create) this is the callData
     * of the ethereumData. The data in the ethereumData will be re-written with 
     * the callData element as a zero length string with the original contents in 
     * the referenced file at time of execution. The ethereumData will need to be 
     * "rehydrated" with the callData for signature validation to pass.
     * 
* * .proto.FileID call_data = 2; * @return The callData. */ public com.hedera.hashgraph.sdk.proto.FileID getCallData() { if (callDataBuilder_ == null) { return callData_ == null ? com.hedera.hashgraph.sdk.proto.FileID.getDefaultInstance() : callData_; } else { return callDataBuilder_.getMessage(); } } /** *
     **
     * For large transactions (for example contract create) this is the callData
     * of the ethereumData. The data in the ethereumData will be re-written with 
     * the callData element as a zero length string with the original contents in 
     * the referenced file at time of execution. The ethereumData will need to be 
     * "rehydrated" with the callData for signature validation to pass.
     * 
* * .proto.FileID call_data = 2; */ public Builder setCallData(com.hedera.hashgraph.sdk.proto.FileID value) { if (callDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } callData_ = value; } else { callDataBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     **
     * For large transactions (for example contract create) this is the callData
     * of the ethereumData. The data in the ethereumData will be re-written with 
     * the callData element as a zero length string with the original contents in 
     * the referenced file at time of execution. The ethereumData will need to be 
     * "rehydrated" with the callData for signature validation to pass.
     * 
* * .proto.FileID call_data = 2; */ public Builder setCallData( com.hedera.hashgraph.sdk.proto.FileID.Builder builderForValue) { if (callDataBuilder_ == null) { callData_ = builderForValue.build(); } else { callDataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     **
     * For large transactions (for example contract create) this is the callData
     * of the ethereumData. The data in the ethereumData will be re-written with 
     * the callData element as a zero length string with the original contents in 
     * the referenced file at time of execution. The ethereumData will need to be 
     * "rehydrated" with the callData for signature validation to pass.
     * 
* * .proto.FileID call_data = 2; */ public Builder mergeCallData(com.hedera.hashgraph.sdk.proto.FileID value) { if (callDataBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && callData_ != null && callData_ != com.hedera.hashgraph.sdk.proto.FileID.getDefaultInstance()) { getCallDataBuilder().mergeFrom(value); } else { callData_ = value; } } else { callDataBuilder_.mergeFrom(value); } if (callData_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     **
     * For large transactions (for example contract create) this is the callData
     * of the ethereumData. The data in the ethereumData will be re-written with 
     * the callData element as a zero length string with the original contents in 
     * the referenced file at time of execution. The ethereumData will need to be 
     * "rehydrated" with the callData for signature validation to pass.
     * 
* * .proto.FileID call_data = 2; */ public Builder clearCallData() { bitField0_ = (bitField0_ & ~0x00000002); callData_ = null; if (callDataBuilder_ != null) { callDataBuilder_.dispose(); callDataBuilder_ = null; } onChanged(); return this; } /** *
     **
     * For large transactions (for example contract create) this is the callData
     * of the ethereumData. The data in the ethereumData will be re-written with 
     * the callData element as a zero length string with the original contents in 
     * the referenced file at time of execution. The ethereumData will need to be 
     * "rehydrated" with the callData for signature validation to pass.
     * 
* * .proto.FileID call_data = 2; */ public com.hedera.hashgraph.sdk.proto.FileID.Builder getCallDataBuilder() { bitField0_ |= 0x00000002; onChanged(); return getCallDataFieldBuilder().getBuilder(); } /** *
     **
     * For large transactions (for example contract create) this is the callData
     * of the ethereumData. The data in the ethereumData will be re-written with 
     * the callData element as a zero length string with the original contents in 
     * the referenced file at time of execution. The ethereumData will need to be 
     * "rehydrated" with the callData for signature validation to pass.
     * 
* * .proto.FileID call_data = 2; */ public com.hedera.hashgraph.sdk.proto.FileIDOrBuilder getCallDataOrBuilder() { if (callDataBuilder_ != null) { return callDataBuilder_.getMessageOrBuilder(); } else { return callData_ == null ? com.hedera.hashgraph.sdk.proto.FileID.getDefaultInstance() : callData_; } } /** *
     **
     * For large transactions (for example contract create) this is the callData
     * of the ethereumData. The data in the ethereumData will be re-written with 
     * the callData element as a zero length string with the original contents in 
     * the referenced file at time of execution. The ethereumData will need to be 
     * "rehydrated" with the callData for signature validation to pass.
     * 
* * .proto.FileID call_data = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.FileID, com.hedera.hashgraph.sdk.proto.FileID.Builder, com.hedera.hashgraph.sdk.proto.FileIDOrBuilder> getCallDataFieldBuilder() { if (callDataBuilder_ == null) { callDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.FileID, com.hedera.hashgraph.sdk.proto.FileID.Builder, com.hedera.hashgraph.sdk.proto.FileIDOrBuilder>( getCallData(), getParentForChildren(), isClean()); callData_ = null; } return callDataBuilder_; } private long maxGasAllowance_ ; /** *
     **
     * The maximum amount, in tinybars, that the payer of the hedera transaction 
     * is willing to pay to complete the transaction.
     *
     * Ordinarily the account with the ECDSA alias corresponding to the public 
     * key that is extracted from the ethereum_data signature is responsible for
     * fees that result from the execution of the transaction. If that amount of
     * authorized fees is not sufficient then the payer of the transaction can be
     * charged, up to but not exceeding this amount. If the ethereum_data 
     * transaction authorized an amount that was insufficient then the payer will
     * only be charged the amount needed to make up the difference. If the gas 
     * price in the transaction was set to zero then the payer will be assessed 
     * the entire fee.
     * 
* * int64 max_gas_allowance = 3; * @return The maxGasAllowance. */ @java.lang.Override public long getMaxGasAllowance() { return maxGasAllowance_; } /** *
     **
     * The maximum amount, in tinybars, that the payer of the hedera transaction 
     * is willing to pay to complete the transaction.
     *
     * Ordinarily the account with the ECDSA alias corresponding to the public 
     * key that is extracted from the ethereum_data signature is responsible for
     * fees that result from the execution of the transaction. If that amount of
     * authorized fees is not sufficient then the payer of the transaction can be
     * charged, up to but not exceeding this amount. If the ethereum_data 
     * transaction authorized an amount that was insufficient then the payer will
     * only be charged the amount needed to make up the difference. If the gas 
     * price in the transaction was set to zero then the payer will be assessed 
     * the entire fee.
     * 
* * int64 max_gas_allowance = 3; * @param value The maxGasAllowance to set. * @return This builder for chaining. */ public Builder setMaxGasAllowance(long value) { maxGasAllowance_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     **
     * The maximum amount, in tinybars, that the payer of the hedera transaction 
     * is willing to pay to complete the transaction.
     *
     * Ordinarily the account with the ECDSA alias corresponding to the public 
     * key that is extracted from the ethereum_data signature is responsible for
     * fees that result from the execution of the transaction. If that amount of
     * authorized fees is not sufficient then the payer of the transaction can be
     * charged, up to but not exceeding this amount. If the ethereum_data 
     * transaction authorized an amount that was insufficient then the payer will
     * only be charged the amount needed to make up the difference. If the gas 
     * price in the transaction was set to zero then the payer will be assessed 
     * the entire fee.
     * 
* * int64 max_gas_allowance = 3; * @return This builder for chaining. */ public Builder clearMaxGasAllowance() { bitField0_ = (bitField0_ & ~0x00000004); maxGasAllowance_ = 0L; onChanged(); return this; } @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.EthereumTransactionBody) } // @@protoc_insertion_point(class_scope:proto.EthereumTransactionBody) private static final com.hedera.hashgraph.sdk.proto.EthereumTransactionBody DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hedera.hashgraph.sdk.proto.EthereumTransactionBody(); } public static com.hedera.hashgraph.sdk.proto.EthereumTransactionBody getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EthereumTransactionBody parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; 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.hedera.hashgraph.sdk.proto.EthereumTransactionBody getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy