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

com.hederahashgraph.api.proto.java.EthereumTransactionBody Maven / Gradle / Ivy

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

package com.hederahashgraph.api.proto.java;

/**
 * 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();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private EthereumTransactionBody(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    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: {

            ethereumData_ = input.readBytes();
            break;
          }
          case 18: {
            com.hederahashgraph.api.proto.java.FileID.Builder subBuilder = null;
            if (callData_ != null) {
              subBuilder = callData_.toBuilder();
            }
            callData_ = input.readMessage(com.hederahashgraph.api.proto.java.FileID.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(callData_);
              callData_ = subBuilder.buildPartial();
            }

            break;
          }
          case 24: {

            maxGasAllowance_ = input.readInt64();
            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 {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.hederahashgraph.api.proto.java.EthereumTransaction.internal_static_proto_EthereumTransactionBody_descriptor;
  }

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

  public static final int ETHEREUM_DATA_FIELD_NUMBER = 1;
  private com.google.protobuf.ByteString ethereumData_;
  /**
   * 
   **
   * 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.hederahashgraph.api.proto.java.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 callData_ != null; } /** *
   **
   * 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.hederahashgraph.api.proto.java.FileID getCallData() { return callData_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileIDOrBuilder getCallDataOrBuilder() { return getCallData(); } public static final int MAX_GAS_ALLOWANCE_FIELD_NUMBER = 3; 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_; } 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 (callData_ != null) { output.writeMessage(2, getCallData()); } if (maxGasAllowance_ != 0L) { output.writeInt64(3, maxGasAllowance_); } unknownFields.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 (callData_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCallData()); } if (maxGasAllowance_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, maxGasAllowance_); } 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.EthereumTransactionBody)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.EthereumTransactionBody other = (com.hederahashgraph.api.proto.java.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 (!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(); 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) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.EthereumTransactionBody parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.EthereumTransactionBody 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.EthereumTransactionBody parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.EthereumTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.EthereumTransactionBody 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.EthereumTransactionBody parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.EthereumTransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.EthereumTransactionBody 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.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.EthereumTransactionBodyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.EthereumTransaction.internal_static_proto_EthereumTransactionBody_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.EthereumTransaction.internal_static_proto_EthereumTransactionBody_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.EthereumTransactionBody.class, com.hederahashgraph.api.proto.java.EthereumTransactionBody.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.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) { } } @java.lang.Override public Builder clear() { super.clear(); ethereumData_ = com.google.protobuf.ByteString.EMPTY; if (callDataBuilder_ == null) { callData_ = null; } else { callData_ = null; callDataBuilder_ = null; } maxGasAllowance_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.EthereumTransaction.internal_static_proto_EthereumTransactionBody_descriptor; } @java.lang.Override public com.hederahashgraph.api.proto.java.EthereumTransactionBody getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.EthereumTransactionBody.getDefaultInstance(); } @java.lang.Override public com.hederahashgraph.api.proto.java.EthereumTransactionBody build() { com.hederahashgraph.api.proto.java.EthereumTransactionBody result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hederahashgraph.api.proto.java.EthereumTransactionBody buildPartial() { com.hederahashgraph.api.proto.java.EthereumTransactionBody result = new com.hederahashgraph.api.proto.java.EthereumTransactionBody(this); result.ethereumData_ = ethereumData_; if (callDataBuilder_ == null) { result.callData_ = callData_; } else { result.callData_ = callDataBuilder_.build(); } result.maxGasAllowance_ = maxGasAllowance_; onBuilt(); return result; } @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.hederahashgraph.api.proto.java.EthereumTransactionBody) { return mergeFrom((com.hederahashgraph.api.proto.java.EthereumTransactionBody)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.EthereumTransactionBody other) { if (other == com.hederahashgraph.api.proto.java.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.unknownFields); 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 { com.hederahashgraph.api.proto.java.EthereumTransactionBody parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.EthereumTransactionBody) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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; 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() { ethereumData_ = getDefaultInstance().getEthereumData(); onChanged(); return this; } private com.hederahashgraph.api.proto.java.FileID callData_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.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 callDataBuilder_ != null || callData_ != null; } /** *
     **
     * 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.hederahashgraph.api.proto.java.FileID getCallData() { if (callDataBuilder_ == null) { return callData_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileID value) { if (callDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } callData_ = value; onChanged(); } else { callDataBuilder_.setMessage(value); } 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.hederahashgraph.api.proto.java.FileID.Builder builderForValue) { if (callDataBuilder_ == null) { callData_ = builderForValue.build(); onChanged(); } else { callDataBuilder_.setMessage(builderForValue.build()); } 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.hederahashgraph.api.proto.java.FileID value) { if (callDataBuilder_ == null) { if (callData_ != null) { callData_ = com.hederahashgraph.api.proto.java.FileID.newBuilder(callData_).mergeFrom(value).buildPartial(); } else { callData_ = value; } onChanged(); } else { callDataBuilder_.mergeFrom(value); } 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() { if (callDataBuilder_ == null) { callData_ = null; onChanged(); } else { callData_ = null; callDataBuilder_ = null; } 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.hederahashgraph.api.proto.java.FileID.Builder getCallDataBuilder() { 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.hederahashgraph.api.proto.java.FileIDOrBuilder getCallDataOrBuilder() { if (callDataBuilder_ != null) { return callDataBuilder_.getMessageOrBuilder(); } else { return callData_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder> getCallDataFieldBuilder() { if (callDataBuilder_ == null) { callDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.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; 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() { 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.hederahashgraph.api.proto.java.EthereumTransactionBody DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.EthereumTransactionBody(); } public static com.hederahashgraph.api.proto.java.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 { return new EthereumTransactionBody(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.EthereumTransactionBody getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy