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

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

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: schedule_get_info.proto

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

/**
 * 
 **
 * Information summarizing schedule state
 * 
* * Protobuf type {@code proto.ScheduleInfo} */ public final class ScheduleInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.ScheduleInfo) ScheduleInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ScheduleInfo.newBuilder() to construct. private ScheduleInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ScheduleInfo() { memo_ = ""; ledgerId_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ScheduleInfo(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hashgraph.sdk.proto.ScheduleGetInfo.internal_static_proto_ScheduleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hashgraph.sdk.proto.ScheduleGetInfo.internal_static_proto_ScheduleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hashgraph.sdk.proto.ScheduleInfo.class, com.hedera.hashgraph.sdk.proto.ScheduleInfo.Builder.class); } private int bitField0_; private int dataCase_ = 0; @SuppressWarnings("serial") private java.lang.Object data_; public enum DataCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DELETION_TIME(2), EXECUTION_TIME(3), DATA_NOT_SET(0); private final int value; private DataCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DataCase valueOf(int value) { return forNumber(value); } public static DataCase forNumber(int value) { switch (value) { case 2: return DELETION_TIME; case 3: return EXECUTION_TIME; case 0: return DATA_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DataCase getDataCase() { return DataCase.forNumber( dataCase_); } public static final int SCHEDULEID_FIELD_NUMBER = 1; private com.hedera.hashgraph.sdk.proto.ScheduleID scheduleID_; /** *
   **
   * The id of the schedule
   * 
* * .proto.ScheduleID scheduleID = 1; * @return Whether the scheduleID field is set. */ @java.lang.Override public boolean hasScheduleID() { return ((bitField0_ & 0x00000001) != 0); } /** *
   **
   * The id of the schedule
   * 
* * .proto.ScheduleID scheduleID = 1; * @return The scheduleID. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.ScheduleID getScheduleID() { return scheduleID_ == null ? com.hedera.hashgraph.sdk.proto.ScheduleID.getDefaultInstance() : scheduleID_; } /** *
   **
   * The id of the schedule
   * 
* * .proto.ScheduleID scheduleID = 1; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.ScheduleIDOrBuilder getScheduleIDOrBuilder() { return scheduleID_ == null ? com.hedera.hashgraph.sdk.proto.ScheduleID.getDefaultInstance() : scheduleID_; } public static final int DELETION_TIME_FIELD_NUMBER = 2; /** *
   **
   * If the schedule has been deleted, the consensus time when this occurred
   * 
* * .proto.Timestamp deletion_time = 2; * @return Whether the deletionTime field is set. */ @java.lang.Override public boolean hasDeletionTime() { return dataCase_ == 2; } /** *
   **
   * If the schedule has been deleted, the consensus time when this occurred
   * 
* * .proto.Timestamp deletion_time = 2; * @return The deletionTime. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getDeletionTime() { if (dataCase_ == 2) { return (com.hedera.hashgraph.sdk.proto.Timestamp) data_; } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } /** *
   **
   * If the schedule has been deleted, the consensus time when this occurred
   * 
* * .proto.Timestamp deletion_time = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getDeletionTimeOrBuilder() { if (dataCase_ == 2) { return (com.hedera.hashgraph.sdk.proto.Timestamp) data_; } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } public static final int EXECUTION_TIME_FIELD_NUMBER = 3; /** *
   **
   * If the schedule has been executed, the consensus time when this occurred
   * 
* * .proto.Timestamp execution_time = 3; * @return Whether the executionTime field is set. */ @java.lang.Override public boolean hasExecutionTime() { return dataCase_ == 3; } /** *
   **
   * If the schedule has been executed, the consensus time when this occurred
   * 
* * .proto.Timestamp execution_time = 3; * @return The executionTime. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getExecutionTime() { if (dataCase_ == 3) { return (com.hedera.hashgraph.sdk.proto.Timestamp) data_; } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } /** *
   **
   * If the schedule has been executed, the consensus time when this occurred
   * 
* * .proto.Timestamp execution_time = 3; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getExecutionTimeOrBuilder() { if (dataCase_ == 3) { return (com.hedera.hashgraph.sdk.proto.Timestamp) data_; } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } public static final int EXPIRATIONTIME_FIELD_NUMBER = 4; private com.hedera.hashgraph.sdk.proto.Timestamp expirationTime_; /** *
   **
   * The time at which the schedule will be evaluated for execution and then expire.
   *
   * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
   *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
   *       expire at expirationTime.
   * 
* * .proto.Timestamp expirationTime = 4; * @return Whether the expirationTime field is set. */ @java.lang.Override public boolean hasExpirationTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
   **
   * The time at which the schedule will be evaluated for execution and then expire.
   *
   * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
   *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
   *       expire at expirationTime.
   * 
* * .proto.Timestamp expirationTime = 4; * @return The expirationTime. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime() { return expirationTime_ == null ? com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance() : expirationTime_; } /** *
   **
   * The time at which the schedule will be evaluated for execution and then expire.
   *
   * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
   *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
   *       expire at expirationTime.
   * 
* * .proto.Timestamp expirationTime = 4; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getExpirationTimeOrBuilder() { return expirationTime_ == null ? com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance() : expirationTime_; } public static final int SCHEDULEDTRANSACTIONBODY_FIELD_NUMBER = 5; private com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody scheduledTransactionBody_; /** *
   **
   * The scheduled transaction
   * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; * @return Whether the scheduledTransactionBody field is set. */ @java.lang.Override public boolean hasScheduledTransactionBody() { return ((bitField0_ & 0x00000004) != 0); } /** *
   **
   * The scheduled transaction
   * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; * @return The scheduledTransactionBody. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody getScheduledTransactionBody() { return scheduledTransactionBody_ == null ? com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.getDefaultInstance() : scheduledTransactionBody_; } /** *
   **
   * The scheduled transaction
   * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOrBuilder getScheduledTransactionBodyOrBuilder() { return scheduledTransactionBody_ == null ? com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.getDefaultInstance() : scheduledTransactionBody_; } public static final int MEMO_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object memo_ = ""; /** *
   **
   * The publicly visible memo of the schedule
   * 
* * string memo = 6; * @return The memo. */ @java.lang.Override public java.lang.String getMemo() { java.lang.Object ref = memo_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); memo_ = s; return s; } } /** *
   **
   * The publicly visible memo of the schedule
   * 
* * string memo = 6; * @return The bytes for memo. */ @java.lang.Override public com.google.protobuf.ByteString getMemoBytes() { java.lang.Object ref = memo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); memo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ADMINKEY_FIELD_NUMBER = 7; private com.hedera.hashgraph.sdk.proto.Key adminKey_; /** *
   **
   * The key used to delete the schedule from state
   * 
* * .proto.Key adminKey = 7; * @return Whether the adminKey field is set. */ @java.lang.Override public boolean hasAdminKey() { return ((bitField0_ & 0x00000008) != 0); } /** *
   **
   * The key used to delete the schedule from state
   * 
* * .proto.Key adminKey = 7; * @return The adminKey. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Key getAdminKey() { return adminKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : adminKey_; } /** *
   **
   * The key used to delete the schedule from state
   * 
* * .proto.Key adminKey = 7; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.KeyOrBuilder getAdminKeyOrBuilder() { return adminKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : adminKey_; } public static final int SIGNERS_FIELD_NUMBER = 8; private com.hedera.hashgraph.sdk.proto.KeyList signers_; /** *
   **
   * The Ed25519 keys the network deems to have signed the scheduled transaction
   * 
* * .proto.KeyList signers = 8; * @return Whether the signers field is set. */ @java.lang.Override public boolean hasSigners() { return ((bitField0_ & 0x00000010) != 0); } /** *
   **
   * The Ed25519 keys the network deems to have signed the scheduled transaction
   * 
* * .proto.KeyList signers = 8; * @return The signers. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.KeyList getSigners() { return signers_ == null ? com.hedera.hashgraph.sdk.proto.KeyList.getDefaultInstance() : signers_; } /** *
   **
   * The Ed25519 keys the network deems to have signed the scheduled transaction
   * 
* * .proto.KeyList signers = 8; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.KeyListOrBuilder getSignersOrBuilder() { return signers_ == null ? com.hedera.hashgraph.sdk.proto.KeyList.getDefaultInstance() : signers_; } public static final int CREATORACCOUNTID_FIELD_NUMBER = 9; private com.hedera.hashgraph.sdk.proto.AccountID creatorAccountID_; /** *
   **
   * The id of the account that created the schedule
   * 
* * .proto.AccountID creatorAccountID = 9; * @return Whether the creatorAccountID field is set. */ @java.lang.Override public boolean hasCreatorAccountID() { return ((bitField0_ & 0x00000020) != 0); } /** *
   **
   * The id of the account that created the schedule
   * 
* * .proto.AccountID creatorAccountID = 9; * @return The creatorAccountID. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getCreatorAccountID() { return creatorAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : creatorAccountID_; } /** *
   **
   * The id of the account that created the schedule
   * 
* * .proto.AccountID creatorAccountID = 9; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getCreatorAccountIDOrBuilder() { return creatorAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : creatorAccountID_; } public static final int PAYERACCOUNTID_FIELD_NUMBER = 10; private com.hedera.hashgraph.sdk.proto.AccountID payerAccountID_; /** *
   **
   * The id of the account responsible for the service fee of the scheduled transaction
   * 
* * .proto.AccountID payerAccountID = 10; * @return Whether the payerAccountID field is set. */ @java.lang.Override public boolean hasPayerAccountID() { return ((bitField0_ & 0x00000040) != 0); } /** *
   **
   * The id of the account responsible for the service fee of the scheduled transaction
   * 
* * .proto.AccountID payerAccountID = 10; * @return The payerAccountID. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountID getPayerAccountID() { return payerAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : payerAccountID_; } /** *
   **
   * The id of the account responsible for the service fee of the scheduled transaction
   * 
* * .proto.AccountID payerAccountID = 10; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getPayerAccountIDOrBuilder() { return payerAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : payerAccountID_; } public static final int SCHEDULEDTRANSACTIONID_FIELD_NUMBER = 11; private com.hedera.hashgraph.sdk.proto.TransactionID scheduledTransactionID_; /** *
   **
   * The transaction id that will be used in the record of the scheduled transaction (if it
   * executes)
   * 
* * .proto.TransactionID scheduledTransactionID = 11; * @return Whether the scheduledTransactionID field is set. */ @java.lang.Override public boolean hasScheduledTransactionID() { return ((bitField0_ & 0x00000080) != 0); } /** *
   **
   * The transaction id that will be used in the record of the scheduled transaction (if it
   * executes)
   * 
* * .proto.TransactionID scheduledTransactionID = 11; * @return The scheduledTransactionID. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionID getScheduledTransactionID() { return scheduledTransactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : scheduledTransactionID_; } /** *
   **
   * The transaction id that will be used in the record of the scheduled transaction (if it
   * executes)
   * 
* * .proto.TransactionID scheduledTransactionID = 11; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder getScheduledTransactionIDOrBuilder() { return scheduledTransactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : scheduledTransactionID_; } public static final int LEDGER_ID_FIELD_NUMBER = 12; private com.google.protobuf.ByteString ledgerId_ = com.google.protobuf.ByteString.EMPTY; /** *
   **
   * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
   * 
* * bytes ledger_id = 12; * @return The ledgerId. */ @java.lang.Override public com.google.protobuf.ByteString getLedgerId() { return ledgerId_; } public static final int WAIT_FOR_EXPIRY_FIELD_NUMBER = 13; private boolean waitForExpiry_ = false; /** *
   **
   * When set to true, the transaction will be evaluated for execution at expiration_time instead
   * of when all required signatures are received.
   * When set to false, the transaction will execute immediately after sufficient signatures are received
   * to sign the contained transaction. During the initial ScheduleCreate transaction or via ScheduleSign transactions.
   *
   * Note: this field is unused until Long Term Scheduled Transactions are enabled.
   * 
* * bool wait_for_expiry = 13; * @return The waitForExpiry. */ @java.lang.Override public boolean getWaitForExpiry() { return waitForExpiry_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getScheduleID()); } if (dataCase_ == 2) { output.writeMessage(2, (com.hedera.hashgraph.sdk.proto.Timestamp) data_); } if (dataCase_ == 3) { output.writeMessage(3, (com.hedera.hashgraph.sdk.proto.Timestamp) data_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getExpirationTime()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(5, getScheduledTransactionBody()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, memo_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(7, getAdminKey()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(8, getSigners()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(9, getCreatorAccountID()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(10, getPayerAccountID()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(11, getScheduledTransactionID()); } if (!ledgerId_.isEmpty()) { output.writeBytes(12, ledgerId_); } if (waitForExpiry_ != false) { output.writeBool(13, waitForExpiry_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getScheduleID()); } if (dataCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.hedera.hashgraph.sdk.proto.Timestamp) data_); } if (dataCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (com.hedera.hashgraph.sdk.proto.Timestamp) data_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getExpirationTime()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getScheduledTransactionBody()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, memo_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getAdminKey()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getSigners()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getCreatorAccountID()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getPayerAccountID()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getScheduledTransactionID()); } if (!ledgerId_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(12, ledgerId_); } if (waitForExpiry_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, waitForExpiry_); } 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.ScheduleInfo)) { return super.equals(obj); } com.hedera.hashgraph.sdk.proto.ScheduleInfo other = (com.hedera.hashgraph.sdk.proto.ScheduleInfo) obj; if (hasScheduleID() != other.hasScheduleID()) return false; if (hasScheduleID()) { if (!getScheduleID() .equals(other.getScheduleID())) return false; } if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { if (!getExpirationTime() .equals(other.getExpirationTime())) return false; } if (hasScheduledTransactionBody() != other.hasScheduledTransactionBody()) return false; if (hasScheduledTransactionBody()) { if (!getScheduledTransactionBody() .equals(other.getScheduledTransactionBody())) return false; } if (!getMemo() .equals(other.getMemo())) return false; if (hasAdminKey() != other.hasAdminKey()) return false; if (hasAdminKey()) { if (!getAdminKey() .equals(other.getAdminKey())) return false; } if (hasSigners() != other.hasSigners()) return false; if (hasSigners()) { if (!getSigners() .equals(other.getSigners())) return false; } if (hasCreatorAccountID() != other.hasCreatorAccountID()) return false; if (hasCreatorAccountID()) { if (!getCreatorAccountID() .equals(other.getCreatorAccountID())) return false; } if (hasPayerAccountID() != other.hasPayerAccountID()) return false; if (hasPayerAccountID()) { if (!getPayerAccountID() .equals(other.getPayerAccountID())) return false; } if (hasScheduledTransactionID() != other.hasScheduledTransactionID()) return false; if (hasScheduledTransactionID()) { if (!getScheduledTransactionID() .equals(other.getScheduledTransactionID())) return false; } if (!getLedgerId() .equals(other.getLedgerId())) return false; if (getWaitForExpiry() != other.getWaitForExpiry()) return false; if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 2: if (!getDeletionTime() .equals(other.getDeletionTime())) return false; break; case 3: if (!getExecutionTime() .equals(other.getExecutionTime())) return false; break; case 0: default: } 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(); if (hasScheduleID()) { hash = (37 * hash) + SCHEDULEID_FIELD_NUMBER; hash = (53 * hash) + getScheduleID().hashCode(); } if (hasExpirationTime()) { hash = (37 * hash) + EXPIRATIONTIME_FIELD_NUMBER; hash = (53 * hash) + getExpirationTime().hashCode(); } if (hasScheduledTransactionBody()) { hash = (37 * hash) + SCHEDULEDTRANSACTIONBODY_FIELD_NUMBER; hash = (53 * hash) + getScheduledTransactionBody().hashCode(); } hash = (37 * hash) + MEMO_FIELD_NUMBER; hash = (53 * hash) + getMemo().hashCode(); if (hasAdminKey()) { hash = (37 * hash) + ADMINKEY_FIELD_NUMBER; hash = (53 * hash) + getAdminKey().hashCode(); } if (hasSigners()) { hash = (37 * hash) + SIGNERS_FIELD_NUMBER; hash = (53 * hash) + getSigners().hashCode(); } if (hasCreatorAccountID()) { hash = (37 * hash) + CREATORACCOUNTID_FIELD_NUMBER; hash = (53 * hash) + getCreatorAccountID().hashCode(); } if (hasPayerAccountID()) { hash = (37 * hash) + PAYERACCOUNTID_FIELD_NUMBER; hash = (53 * hash) + getPayerAccountID().hashCode(); } if (hasScheduledTransactionID()) { hash = (37 * hash) + SCHEDULEDTRANSACTIONID_FIELD_NUMBER; hash = (53 * hash) + getScheduledTransactionID().hashCode(); } hash = (37 * hash) + LEDGER_ID_FIELD_NUMBER; hash = (53 * hash) + getLedgerId().hashCode(); hash = (37 * hash) + WAIT_FOR_EXPIRY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getWaitForExpiry()); switch (dataCase_) { case 2: hash = (37 * hash) + DELETION_TIME_FIELD_NUMBER; hash = (53 * hash) + getDeletionTime().hashCode(); break; case 3: hash = (37 * hash) + EXECUTION_TIME_FIELD_NUMBER; hash = (53 * hash) + getExecutionTime().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.hedera.hashgraph.sdk.proto.ScheduleInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.ScheduleInfo 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.ScheduleInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.ScheduleInfo 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.ScheduleInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hashgraph.sdk.proto.ScheduleInfo 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.ScheduleInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hashgraph.sdk.proto.ScheduleInfo 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.ScheduleInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hedera.hashgraph.sdk.proto.ScheduleInfo 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.ScheduleInfo 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.ScheduleInfo 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.ScheduleInfo 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; } /** *
   **
   * Information summarizing schedule state
   * 
* * Protobuf type {@code proto.ScheduleInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.ScheduleInfo) com.hedera.hashgraph.sdk.proto.ScheduleInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hashgraph.sdk.proto.ScheduleGetInfo.internal_static_proto_ScheduleInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hashgraph.sdk.proto.ScheduleGetInfo.internal_static_proto_ScheduleInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hashgraph.sdk.proto.ScheduleInfo.class, com.hedera.hashgraph.sdk.proto.ScheduleInfo.Builder.class); } // Construct using com.hedera.hashgraph.sdk.proto.ScheduleInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getScheduleIDFieldBuilder(); getExpirationTimeFieldBuilder(); getScheduledTransactionBodyFieldBuilder(); getAdminKeyFieldBuilder(); getSignersFieldBuilder(); getCreatorAccountIDFieldBuilder(); getPayerAccountIDFieldBuilder(); getScheduledTransactionIDFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; scheduleID_ = null; if (scheduleIDBuilder_ != null) { scheduleIDBuilder_.dispose(); scheduleIDBuilder_ = null; } if (deletionTimeBuilder_ != null) { deletionTimeBuilder_.clear(); } if (executionTimeBuilder_ != null) { executionTimeBuilder_.clear(); } expirationTime_ = null; if (expirationTimeBuilder_ != null) { expirationTimeBuilder_.dispose(); expirationTimeBuilder_ = null; } scheduledTransactionBody_ = null; if (scheduledTransactionBodyBuilder_ != null) { scheduledTransactionBodyBuilder_.dispose(); scheduledTransactionBodyBuilder_ = null; } memo_ = ""; adminKey_ = null; if (adminKeyBuilder_ != null) { adminKeyBuilder_.dispose(); adminKeyBuilder_ = null; } signers_ = null; if (signersBuilder_ != null) { signersBuilder_.dispose(); signersBuilder_ = null; } creatorAccountID_ = null; if (creatorAccountIDBuilder_ != null) { creatorAccountIDBuilder_.dispose(); creatorAccountIDBuilder_ = null; } payerAccountID_ = null; if (payerAccountIDBuilder_ != null) { payerAccountIDBuilder_.dispose(); payerAccountIDBuilder_ = null; } scheduledTransactionID_ = null; if (scheduledTransactionIDBuilder_ != null) { scheduledTransactionIDBuilder_.dispose(); scheduledTransactionIDBuilder_ = null; } ledgerId_ = com.google.protobuf.ByteString.EMPTY; waitForExpiry_ = false; dataCase_ = 0; data_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hedera.hashgraph.sdk.proto.ScheduleGetInfo.internal_static_proto_ScheduleInfo_descriptor; } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ScheduleInfo getDefaultInstanceForType() { return com.hedera.hashgraph.sdk.proto.ScheduleInfo.getDefaultInstance(); } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ScheduleInfo build() { com.hedera.hashgraph.sdk.proto.ScheduleInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hedera.hashgraph.sdk.proto.ScheduleInfo buildPartial() { com.hedera.hashgraph.sdk.proto.ScheduleInfo result = new com.hedera.hashgraph.sdk.proto.ScheduleInfo(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.hedera.hashgraph.sdk.proto.ScheduleInfo result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.scheduleID_ = scheduleIDBuilder_ == null ? scheduleID_ : scheduleIDBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.expirationTime_ = expirationTimeBuilder_ == null ? expirationTime_ : expirationTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { result.scheduledTransactionBody_ = scheduledTransactionBodyBuilder_ == null ? scheduledTransactionBody_ : scheduledTransactionBodyBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { result.memo_ = memo_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.adminKey_ = adminKeyBuilder_ == null ? adminKey_ : adminKeyBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000080) != 0)) { result.signers_ = signersBuilder_ == null ? signers_ : signersBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000100) != 0)) { result.creatorAccountID_ = creatorAccountIDBuilder_ == null ? creatorAccountID_ : creatorAccountIDBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000200) != 0)) { result.payerAccountID_ = payerAccountIDBuilder_ == null ? payerAccountID_ : payerAccountIDBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000400) != 0)) { result.scheduledTransactionID_ = scheduledTransactionIDBuilder_ == null ? scheduledTransactionID_ : scheduledTransactionIDBuilder_.build(); to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000800) != 0)) { result.ledgerId_ = ledgerId_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.waitForExpiry_ = waitForExpiry_; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.hedera.hashgraph.sdk.proto.ScheduleInfo result) { result.dataCase_ = dataCase_; result.data_ = this.data_; if (dataCase_ == 2 && deletionTimeBuilder_ != null) { result.data_ = deletionTimeBuilder_.build(); } if (dataCase_ == 3 && executionTimeBuilder_ != null) { result.data_ = executionTimeBuilder_.build(); } } @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.ScheduleInfo) { return mergeFrom((com.hedera.hashgraph.sdk.proto.ScheduleInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hedera.hashgraph.sdk.proto.ScheduleInfo other) { if (other == com.hedera.hashgraph.sdk.proto.ScheduleInfo.getDefaultInstance()) return this; if (other.hasScheduleID()) { mergeScheduleID(other.getScheduleID()); } if (other.hasExpirationTime()) { mergeExpirationTime(other.getExpirationTime()); } if (other.hasScheduledTransactionBody()) { mergeScheduledTransactionBody(other.getScheduledTransactionBody()); } if (!other.getMemo().isEmpty()) { memo_ = other.memo_; bitField0_ |= 0x00000020; onChanged(); } if (other.hasAdminKey()) { mergeAdminKey(other.getAdminKey()); } if (other.hasSigners()) { mergeSigners(other.getSigners()); } if (other.hasCreatorAccountID()) { mergeCreatorAccountID(other.getCreatorAccountID()); } if (other.hasPayerAccountID()) { mergePayerAccountID(other.getPayerAccountID()); } if (other.hasScheduledTransactionID()) { mergeScheduledTransactionID(other.getScheduledTransactionID()); } if (other.getLedgerId() != com.google.protobuf.ByteString.EMPTY) { setLedgerId(other.getLedgerId()); } if (other.getWaitForExpiry() != false) { setWaitForExpiry(other.getWaitForExpiry()); } switch (other.getDataCase()) { case DELETION_TIME: { mergeDeletionTime(other.getDeletionTime()); break; } case EXECUTION_TIME: { mergeExecutionTime(other.getExecutionTime()); break; } case DATA_NOT_SET: { break; } } 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: { input.readMessage( getScheduleIDFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getDeletionTimeFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 2; break; } // case 18 case 26: { input.readMessage( getExecutionTimeFieldBuilder().getBuilder(), extensionRegistry); dataCase_ = 3; break; } // case 26 case 34: { input.readMessage( getExpirationTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getScheduledTransactionBodyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { memo_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000020; break; } // case 50 case 58: { input.readMessage( getAdminKeyFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage( getSignersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 case 74: { input.readMessage( getCreatorAccountIDFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 case 82: { input.readMessage( getPayerAccountIDFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 82 case 90: { input.readMessage( getScheduledTransactionIDFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 90 case 98: { ledgerId_ = input.readBytes(); bitField0_ |= 0x00000800; break; } // case 98 case 104: { waitForExpiry_ = input.readBool(); bitField0_ |= 0x00001000; break; } // case 104 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 dataCase_ = 0; private java.lang.Object data_; public DataCase getDataCase() { return DataCase.forNumber( dataCase_); } public Builder clearData() { dataCase_ = 0; data_ = null; onChanged(); return this; } private int bitField0_; private com.hedera.hashgraph.sdk.proto.ScheduleID scheduleID_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.ScheduleID, com.hedera.hashgraph.sdk.proto.ScheduleID.Builder, com.hedera.hashgraph.sdk.proto.ScheduleIDOrBuilder> scheduleIDBuilder_; /** *
     **
     * The id of the schedule
     * 
* * .proto.ScheduleID scheduleID = 1; * @return Whether the scheduleID field is set. */ public boolean hasScheduleID() { return ((bitField0_ & 0x00000001) != 0); } /** *
     **
     * The id of the schedule
     * 
* * .proto.ScheduleID scheduleID = 1; * @return The scheduleID. */ public com.hedera.hashgraph.sdk.proto.ScheduleID getScheduleID() { if (scheduleIDBuilder_ == null) { return scheduleID_ == null ? com.hedera.hashgraph.sdk.proto.ScheduleID.getDefaultInstance() : scheduleID_; } else { return scheduleIDBuilder_.getMessage(); } } /** *
     **
     * The id of the schedule
     * 
* * .proto.ScheduleID scheduleID = 1; */ public Builder setScheduleID(com.hedera.hashgraph.sdk.proto.ScheduleID value) { if (scheduleIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scheduleID_ = value; } else { scheduleIDBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * The id of the schedule
     * 
* * .proto.ScheduleID scheduleID = 1; */ public Builder setScheduleID( com.hedera.hashgraph.sdk.proto.ScheduleID.Builder builderForValue) { if (scheduleIDBuilder_ == null) { scheduleID_ = builderForValue.build(); } else { scheduleIDBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     **
     * The id of the schedule
     * 
* * .proto.ScheduleID scheduleID = 1; */ public Builder mergeScheduleID(com.hedera.hashgraph.sdk.proto.ScheduleID value) { if (scheduleIDBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && scheduleID_ != null && scheduleID_ != com.hedera.hashgraph.sdk.proto.ScheduleID.getDefaultInstance()) { getScheduleIDBuilder().mergeFrom(value); } else { scheduleID_ = value; } } else { scheduleIDBuilder_.mergeFrom(value); } if (scheduleID_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     **
     * The id of the schedule
     * 
* * .proto.ScheduleID scheduleID = 1; */ public Builder clearScheduleID() { bitField0_ = (bitField0_ & ~0x00000001); scheduleID_ = null; if (scheduleIDBuilder_ != null) { scheduleIDBuilder_.dispose(); scheduleIDBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The id of the schedule
     * 
* * .proto.ScheduleID scheduleID = 1; */ public com.hedera.hashgraph.sdk.proto.ScheduleID.Builder getScheduleIDBuilder() { bitField0_ |= 0x00000001; onChanged(); return getScheduleIDFieldBuilder().getBuilder(); } /** *
     **
     * The id of the schedule
     * 
* * .proto.ScheduleID scheduleID = 1; */ public com.hedera.hashgraph.sdk.proto.ScheduleIDOrBuilder getScheduleIDOrBuilder() { if (scheduleIDBuilder_ != null) { return scheduleIDBuilder_.getMessageOrBuilder(); } else { return scheduleID_ == null ? com.hedera.hashgraph.sdk.proto.ScheduleID.getDefaultInstance() : scheduleID_; } } /** *
     **
     * The id of the schedule
     * 
* * .proto.ScheduleID scheduleID = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.ScheduleID, com.hedera.hashgraph.sdk.proto.ScheduleID.Builder, com.hedera.hashgraph.sdk.proto.ScheduleIDOrBuilder> getScheduleIDFieldBuilder() { if (scheduleIDBuilder_ == null) { scheduleIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.ScheduleID, com.hedera.hashgraph.sdk.proto.ScheduleID.Builder, com.hedera.hashgraph.sdk.proto.ScheduleIDOrBuilder>( getScheduleID(), getParentForChildren(), isClean()); scheduleID_ = null; } return scheduleIDBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder> deletionTimeBuilder_; /** *
     **
     * If the schedule has been deleted, the consensus time when this occurred
     * 
* * .proto.Timestamp deletion_time = 2; * @return Whether the deletionTime field is set. */ @java.lang.Override public boolean hasDeletionTime() { return dataCase_ == 2; } /** *
     **
     * If the schedule has been deleted, the consensus time when this occurred
     * 
* * .proto.Timestamp deletion_time = 2; * @return The deletionTime. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getDeletionTime() { if (deletionTimeBuilder_ == null) { if (dataCase_ == 2) { return (com.hedera.hashgraph.sdk.proto.Timestamp) data_; } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } else { if (dataCase_ == 2) { return deletionTimeBuilder_.getMessage(); } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } } /** *
     **
     * If the schedule has been deleted, the consensus time when this occurred
     * 
* * .proto.Timestamp deletion_time = 2; */ public Builder setDeletionTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { if (deletionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { deletionTimeBuilder_.setMessage(value); } dataCase_ = 2; return this; } /** *
     **
     * If the schedule has been deleted, the consensus time when this occurred
     * 
* * .proto.Timestamp deletion_time = 2; */ public Builder setDeletionTime( com.hedera.hashgraph.sdk.proto.Timestamp.Builder builderForValue) { if (deletionTimeBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { deletionTimeBuilder_.setMessage(builderForValue.build()); } dataCase_ = 2; return this; } /** *
     **
     * If the schedule has been deleted, the consensus time when this occurred
     * 
* * .proto.Timestamp deletion_time = 2; */ public Builder mergeDeletionTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { if (deletionTimeBuilder_ == null) { if (dataCase_ == 2 && data_ != com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance()) { data_ = com.hedera.hashgraph.sdk.proto.Timestamp.newBuilder((com.hedera.hashgraph.sdk.proto.Timestamp) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 2) { deletionTimeBuilder_.mergeFrom(value); } else { deletionTimeBuilder_.setMessage(value); } } dataCase_ = 2; return this; } /** *
     **
     * If the schedule has been deleted, the consensus time when this occurred
     * 
* * .proto.Timestamp deletion_time = 2; */ public Builder clearDeletionTime() { if (deletionTimeBuilder_ == null) { if (dataCase_ == 2) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 2) { dataCase_ = 0; data_ = null; } deletionTimeBuilder_.clear(); } return this; } /** *
     **
     * If the schedule has been deleted, the consensus time when this occurred
     * 
* * .proto.Timestamp deletion_time = 2; */ public com.hedera.hashgraph.sdk.proto.Timestamp.Builder getDeletionTimeBuilder() { return getDeletionTimeFieldBuilder().getBuilder(); } /** *
     **
     * If the schedule has been deleted, the consensus time when this occurred
     * 
* * .proto.Timestamp deletion_time = 2; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getDeletionTimeOrBuilder() { if ((dataCase_ == 2) && (deletionTimeBuilder_ != null)) { return deletionTimeBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 2) { return (com.hedera.hashgraph.sdk.proto.Timestamp) data_; } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } } /** *
     **
     * If the schedule has been deleted, the consensus time when this occurred
     * 
* * .proto.Timestamp deletion_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder> getDeletionTimeFieldBuilder() { if (deletionTimeBuilder_ == null) { if (!(dataCase_ == 2)) { data_ = com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } deletionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder>( (com.hedera.hashgraph.sdk.proto.Timestamp) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 2; onChanged(); return deletionTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder> executionTimeBuilder_; /** *
     **
     * If the schedule has been executed, the consensus time when this occurred
     * 
* * .proto.Timestamp execution_time = 3; * @return Whether the executionTime field is set. */ @java.lang.Override public boolean hasExecutionTime() { return dataCase_ == 3; } /** *
     **
     * If the schedule has been executed, the consensus time when this occurred
     * 
* * .proto.Timestamp execution_time = 3; * @return The executionTime. */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.Timestamp getExecutionTime() { if (executionTimeBuilder_ == null) { if (dataCase_ == 3) { return (com.hedera.hashgraph.sdk.proto.Timestamp) data_; } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } else { if (dataCase_ == 3) { return executionTimeBuilder_.getMessage(); } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } } /** *
     **
     * If the schedule has been executed, the consensus time when this occurred
     * 
* * .proto.Timestamp execution_time = 3; */ public Builder setExecutionTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { if (executionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { executionTimeBuilder_.setMessage(value); } dataCase_ = 3; return this; } /** *
     **
     * If the schedule has been executed, the consensus time when this occurred
     * 
* * .proto.Timestamp execution_time = 3; */ public Builder setExecutionTime( com.hedera.hashgraph.sdk.proto.Timestamp.Builder builderForValue) { if (executionTimeBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { executionTimeBuilder_.setMessage(builderForValue.build()); } dataCase_ = 3; return this; } /** *
     **
     * If the schedule has been executed, the consensus time when this occurred
     * 
* * .proto.Timestamp execution_time = 3; */ public Builder mergeExecutionTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { if (executionTimeBuilder_ == null) { if (dataCase_ == 3 && data_ != com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance()) { data_ = com.hedera.hashgraph.sdk.proto.Timestamp.newBuilder((com.hedera.hashgraph.sdk.proto.Timestamp) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 3) { executionTimeBuilder_.mergeFrom(value); } else { executionTimeBuilder_.setMessage(value); } } dataCase_ = 3; return this; } /** *
     **
     * If the schedule has been executed, the consensus time when this occurred
     * 
* * .proto.Timestamp execution_time = 3; */ public Builder clearExecutionTime() { if (executionTimeBuilder_ == null) { if (dataCase_ == 3) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 3) { dataCase_ = 0; data_ = null; } executionTimeBuilder_.clear(); } return this; } /** *
     **
     * If the schedule has been executed, the consensus time when this occurred
     * 
* * .proto.Timestamp execution_time = 3; */ public com.hedera.hashgraph.sdk.proto.Timestamp.Builder getExecutionTimeBuilder() { return getExecutionTimeFieldBuilder().getBuilder(); } /** *
     **
     * If the schedule has been executed, the consensus time when this occurred
     * 
* * .proto.Timestamp execution_time = 3; */ @java.lang.Override public com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getExecutionTimeOrBuilder() { if ((dataCase_ == 3) && (executionTimeBuilder_ != null)) { return executionTimeBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 3) { return (com.hedera.hashgraph.sdk.proto.Timestamp) data_; } return com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } } /** *
     **
     * If the schedule has been executed, the consensus time when this occurred
     * 
* * .proto.Timestamp execution_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder> getExecutionTimeFieldBuilder() { if (executionTimeBuilder_ == null) { if (!(dataCase_ == 3)) { data_ = com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance(); } executionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder>( (com.hedera.hashgraph.sdk.proto.Timestamp) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 3; onChanged(); return executionTimeBuilder_; } private com.hedera.hashgraph.sdk.proto.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder> expirationTimeBuilder_; /** *
     **
     * The time at which the schedule will be evaluated for execution and then expire.
     *
     * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
     *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
     *       expire at expirationTime.
     * 
* * .proto.Timestamp expirationTime = 4; * @return Whether the expirationTime field is set. */ public boolean hasExpirationTime() { return ((bitField0_ & 0x00000008) != 0); } /** *
     **
     * The time at which the schedule will be evaluated for execution and then expire.
     *
     * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
     *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
     *       expire at expirationTime.
     * 
* * .proto.Timestamp expirationTime = 4; * @return The expirationTime. */ public com.hedera.hashgraph.sdk.proto.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { return expirationTime_ == null ? com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance() : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** *
     **
     * The time at which the schedule will be evaluated for execution and then expire.
     *
     * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
     *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
     *       expire at expirationTime.
     * 
* * .proto.Timestamp expirationTime = 4; */ public Builder setExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { if (expirationTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expirationTime_ = value; } else { expirationTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     **
     * The time at which the schedule will be evaluated for execution and then expire.
     *
     * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
     *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
     *       expire at expirationTime.
     * 
* * .proto.Timestamp expirationTime = 4; */ public Builder setExpirationTime( com.hedera.hashgraph.sdk.proto.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); } else { expirationTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     **
     * The time at which the schedule will be evaluated for execution and then expire.
     *
     * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
     *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
     *       expire at expirationTime.
     * 
* * .proto.Timestamp expirationTime = 4; */ public Builder mergeExpirationTime(com.hedera.hashgraph.sdk.proto.Timestamp value) { if (expirationTimeBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && expirationTime_ != null && expirationTime_ != com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance()) { getExpirationTimeBuilder().mergeFrom(value); } else { expirationTime_ = value; } } else { expirationTimeBuilder_.mergeFrom(value); } if (expirationTime_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
     **
     * The time at which the schedule will be evaluated for execution and then expire.
     *
     * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
     *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
     *       expire at expirationTime.
     * 
* * .proto.Timestamp expirationTime = 4; */ public Builder clearExpirationTime() { bitField0_ = (bitField0_ & ~0x00000008); expirationTime_ = null; if (expirationTimeBuilder_ != null) { expirationTimeBuilder_.dispose(); expirationTimeBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The time at which the schedule will be evaluated for execution and then expire.
     *
     * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
     *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
     *       expire at expirationTime.
     * 
* * .proto.Timestamp expirationTime = 4; */ public com.hedera.hashgraph.sdk.proto.Timestamp.Builder getExpirationTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getExpirationTimeFieldBuilder().getBuilder(); } /** *
     **
     * The time at which the schedule will be evaluated for execution and then expire.
     *
     * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
     *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
     *       expire at expirationTime.
     * 
* * .proto.Timestamp expirationTime = 4; */ public com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { return expirationTime_ == null ? com.hedera.hashgraph.sdk.proto.Timestamp.getDefaultInstance() : expirationTime_; } } /** *
     **
     * The time at which the schedule will be evaluated for execution and then expire.
     *
     * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they
     *       will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_
     *       expire at expirationTime.
     * 
* * .proto.Timestamp expirationTime = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Timestamp, com.hedera.hashgraph.sdk.proto.Timestamp.Builder, com.hedera.hashgraph.sdk.proto.TimestampOrBuilder>( getExpirationTime(), getParentForChildren(), isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } private com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody scheduledTransactionBody_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody, com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOrBuilder> scheduledTransactionBodyBuilder_; /** *
     **
     * The scheduled transaction
     * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; * @return Whether the scheduledTransactionBody field is set. */ public boolean hasScheduledTransactionBody() { return ((bitField0_ & 0x00000010) != 0); } /** *
     **
     * The scheduled transaction
     * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; * @return The scheduledTransactionBody. */ public com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody getScheduledTransactionBody() { if (scheduledTransactionBodyBuilder_ == null) { return scheduledTransactionBody_ == null ? com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.getDefaultInstance() : scheduledTransactionBody_; } else { return scheduledTransactionBodyBuilder_.getMessage(); } } /** *
     **
     * The scheduled transaction
     * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; */ public Builder setScheduledTransactionBody(com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody value) { if (scheduledTransactionBodyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scheduledTransactionBody_ = value; } else { scheduledTransactionBodyBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     **
     * The scheduled transaction
     * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; */ public Builder setScheduledTransactionBody( com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.Builder builderForValue) { if (scheduledTransactionBodyBuilder_ == null) { scheduledTransactionBody_ = builderForValue.build(); } else { scheduledTransactionBodyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     **
     * The scheduled transaction
     * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; */ public Builder mergeScheduledTransactionBody(com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody value) { if (scheduledTransactionBodyBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && scheduledTransactionBody_ != null && scheduledTransactionBody_ != com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.getDefaultInstance()) { getScheduledTransactionBodyBuilder().mergeFrom(value); } else { scheduledTransactionBody_ = value; } } else { scheduledTransactionBodyBuilder_.mergeFrom(value); } if (scheduledTransactionBody_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
     **
     * The scheduled transaction
     * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; */ public Builder clearScheduledTransactionBody() { bitField0_ = (bitField0_ & ~0x00000010); scheduledTransactionBody_ = null; if (scheduledTransactionBodyBuilder_ != null) { scheduledTransactionBodyBuilder_.dispose(); scheduledTransactionBodyBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The scheduled transaction
     * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; */ public com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.Builder getScheduledTransactionBodyBuilder() { bitField0_ |= 0x00000010; onChanged(); return getScheduledTransactionBodyFieldBuilder().getBuilder(); } /** *
     **
     * The scheduled transaction
     * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; */ public com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOrBuilder getScheduledTransactionBodyOrBuilder() { if (scheduledTransactionBodyBuilder_ != null) { return scheduledTransactionBodyBuilder_.getMessageOrBuilder(); } else { return scheduledTransactionBody_ == null ? com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.getDefaultInstance() : scheduledTransactionBody_; } } /** *
     **
     * The scheduled transaction
     * 
* * .proto.SchedulableTransactionBody scheduledTransactionBody = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody, com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOrBuilder> getScheduledTransactionBodyFieldBuilder() { if (scheduledTransactionBodyBuilder_ == null) { scheduledTransactionBodyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody, com.hedera.hashgraph.sdk.proto.SchedulableTransactionBody.Builder, com.hedera.hashgraph.sdk.proto.SchedulableTransactionBodyOrBuilder>( getScheduledTransactionBody(), getParentForChildren(), isClean()); scheduledTransactionBody_ = null; } return scheduledTransactionBodyBuilder_; } private java.lang.Object memo_ = ""; /** *
     **
     * The publicly visible memo of the schedule
     * 
* * string memo = 6; * @return The memo. */ public java.lang.String getMemo() { java.lang.Object ref = memo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); memo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     **
     * The publicly visible memo of the schedule
     * 
* * string memo = 6; * @return The bytes for memo. */ public com.google.protobuf.ByteString getMemoBytes() { java.lang.Object ref = memo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); memo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     **
     * The publicly visible memo of the schedule
     * 
* * string memo = 6; * @param value The memo to set. * @return This builder for chaining. */ public Builder setMemo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } memo_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     **
     * The publicly visible memo of the schedule
     * 
* * string memo = 6; * @return This builder for chaining. */ public Builder clearMemo() { memo_ = getDefaultInstance().getMemo(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** *
     **
     * The publicly visible memo of the schedule
     * 
* * string memo = 6; * @param value The bytes for memo to set. * @return This builder for chaining. */ public Builder setMemoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); memo_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } private com.hedera.hashgraph.sdk.proto.Key adminKey_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Key, com.hedera.hashgraph.sdk.proto.Key.Builder, com.hedera.hashgraph.sdk.proto.KeyOrBuilder> adminKeyBuilder_; /** *
     **
     * The key used to delete the schedule from state
     * 
* * .proto.Key adminKey = 7; * @return Whether the adminKey field is set. */ public boolean hasAdminKey() { return ((bitField0_ & 0x00000040) != 0); } /** *
     **
     * The key used to delete the schedule from state
     * 
* * .proto.Key adminKey = 7; * @return The adminKey. */ public com.hedera.hashgraph.sdk.proto.Key getAdminKey() { if (adminKeyBuilder_ == null) { return adminKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : adminKey_; } else { return adminKeyBuilder_.getMessage(); } } /** *
     **
     * The key used to delete the schedule from state
     * 
* * .proto.Key adminKey = 7; */ public Builder setAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { if (adminKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } adminKey_ = value; } else { adminKeyBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     **
     * The key used to delete the schedule from state
     * 
* * .proto.Key adminKey = 7; */ public Builder setAdminKey( com.hedera.hashgraph.sdk.proto.Key.Builder builderForValue) { if (adminKeyBuilder_ == null) { adminKey_ = builderForValue.build(); } else { adminKeyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     **
     * The key used to delete the schedule from state
     * 
* * .proto.Key adminKey = 7; */ public Builder mergeAdminKey(com.hedera.hashgraph.sdk.proto.Key value) { if (adminKeyBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && adminKey_ != null && adminKey_ != com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance()) { getAdminKeyBuilder().mergeFrom(value); } else { adminKey_ = value; } } else { adminKeyBuilder_.mergeFrom(value); } if (adminKey_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** *
     **
     * The key used to delete the schedule from state
     * 
* * .proto.Key adminKey = 7; */ public Builder clearAdminKey() { bitField0_ = (bitField0_ & ~0x00000040); adminKey_ = null; if (adminKeyBuilder_ != null) { adminKeyBuilder_.dispose(); adminKeyBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The key used to delete the schedule from state
     * 
* * .proto.Key adminKey = 7; */ public com.hedera.hashgraph.sdk.proto.Key.Builder getAdminKeyBuilder() { bitField0_ |= 0x00000040; onChanged(); return getAdminKeyFieldBuilder().getBuilder(); } /** *
     **
     * The key used to delete the schedule from state
     * 
* * .proto.Key adminKey = 7; */ public com.hedera.hashgraph.sdk.proto.KeyOrBuilder getAdminKeyOrBuilder() { if (adminKeyBuilder_ != null) { return adminKeyBuilder_.getMessageOrBuilder(); } else { return adminKey_ == null ? com.hedera.hashgraph.sdk.proto.Key.getDefaultInstance() : adminKey_; } } /** *
     **
     * The key used to delete the schedule from state
     * 
* * .proto.Key adminKey = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Key, com.hedera.hashgraph.sdk.proto.Key.Builder, com.hedera.hashgraph.sdk.proto.KeyOrBuilder> getAdminKeyFieldBuilder() { if (adminKeyBuilder_ == null) { adminKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.Key, com.hedera.hashgraph.sdk.proto.Key.Builder, com.hedera.hashgraph.sdk.proto.KeyOrBuilder>( getAdminKey(), getParentForChildren(), isClean()); adminKey_ = null; } return adminKeyBuilder_; } private com.hedera.hashgraph.sdk.proto.KeyList signers_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.KeyList, com.hedera.hashgraph.sdk.proto.KeyList.Builder, com.hedera.hashgraph.sdk.proto.KeyListOrBuilder> signersBuilder_; /** *
     **
     * The Ed25519 keys the network deems to have signed the scheduled transaction
     * 
* * .proto.KeyList signers = 8; * @return Whether the signers field is set. */ public boolean hasSigners() { return ((bitField0_ & 0x00000080) != 0); } /** *
     **
     * The Ed25519 keys the network deems to have signed the scheduled transaction
     * 
* * .proto.KeyList signers = 8; * @return The signers. */ public com.hedera.hashgraph.sdk.proto.KeyList getSigners() { if (signersBuilder_ == null) { return signers_ == null ? com.hedera.hashgraph.sdk.proto.KeyList.getDefaultInstance() : signers_; } else { return signersBuilder_.getMessage(); } } /** *
     **
     * The Ed25519 keys the network deems to have signed the scheduled transaction
     * 
* * .proto.KeyList signers = 8; */ public Builder setSigners(com.hedera.hashgraph.sdk.proto.KeyList value) { if (signersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } signers_ = value; } else { signersBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     **
     * The Ed25519 keys the network deems to have signed the scheduled transaction
     * 
* * .proto.KeyList signers = 8; */ public Builder setSigners( com.hedera.hashgraph.sdk.proto.KeyList.Builder builderForValue) { if (signersBuilder_ == null) { signers_ = builderForValue.build(); } else { signersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     **
     * The Ed25519 keys the network deems to have signed the scheduled transaction
     * 
* * .proto.KeyList signers = 8; */ public Builder mergeSigners(com.hedera.hashgraph.sdk.proto.KeyList value) { if (signersBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && signers_ != null && signers_ != com.hedera.hashgraph.sdk.proto.KeyList.getDefaultInstance()) { getSignersBuilder().mergeFrom(value); } else { signers_ = value; } } else { signersBuilder_.mergeFrom(value); } if (signers_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** *
     **
     * The Ed25519 keys the network deems to have signed the scheduled transaction
     * 
* * .proto.KeyList signers = 8; */ public Builder clearSigners() { bitField0_ = (bitField0_ & ~0x00000080); signers_ = null; if (signersBuilder_ != null) { signersBuilder_.dispose(); signersBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The Ed25519 keys the network deems to have signed the scheduled transaction
     * 
* * .proto.KeyList signers = 8; */ public com.hedera.hashgraph.sdk.proto.KeyList.Builder getSignersBuilder() { bitField0_ |= 0x00000080; onChanged(); return getSignersFieldBuilder().getBuilder(); } /** *
     **
     * The Ed25519 keys the network deems to have signed the scheduled transaction
     * 
* * .proto.KeyList signers = 8; */ public com.hedera.hashgraph.sdk.proto.KeyListOrBuilder getSignersOrBuilder() { if (signersBuilder_ != null) { return signersBuilder_.getMessageOrBuilder(); } else { return signers_ == null ? com.hedera.hashgraph.sdk.proto.KeyList.getDefaultInstance() : signers_; } } /** *
     **
     * The Ed25519 keys the network deems to have signed the scheduled transaction
     * 
* * .proto.KeyList signers = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.KeyList, com.hedera.hashgraph.sdk.proto.KeyList.Builder, com.hedera.hashgraph.sdk.proto.KeyListOrBuilder> getSignersFieldBuilder() { if (signersBuilder_ == null) { signersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.KeyList, com.hedera.hashgraph.sdk.proto.KeyList.Builder, com.hedera.hashgraph.sdk.proto.KeyListOrBuilder>( getSigners(), getParentForChildren(), isClean()); signers_ = null; } return signersBuilder_; } private com.hedera.hashgraph.sdk.proto.AccountID creatorAccountID_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder> creatorAccountIDBuilder_; /** *
     **
     * The id of the account that created the schedule
     * 
* * .proto.AccountID creatorAccountID = 9; * @return Whether the creatorAccountID field is set. */ public boolean hasCreatorAccountID() { return ((bitField0_ & 0x00000100) != 0); } /** *
     **
     * The id of the account that created the schedule
     * 
* * .proto.AccountID creatorAccountID = 9; * @return The creatorAccountID. */ public com.hedera.hashgraph.sdk.proto.AccountID getCreatorAccountID() { if (creatorAccountIDBuilder_ == null) { return creatorAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : creatorAccountID_; } else { return creatorAccountIDBuilder_.getMessage(); } } /** *
     **
     * The id of the account that created the schedule
     * 
* * .proto.AccountID creatorAccountID = 9; */ public Builder setCreatorAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { if (creatorAccountIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } creatorAccountID_ = value; } else { creatorAccountIDBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     **
     * The id of the account that created the schedule
     * 
* * .proto.AccountID creatorAccountID = 9; */ public Builder setCreatorAccountID( com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) { if (creatorAccountIDBuilder_ == null) { creatorAccountID_ = builderForValue.build(); } else { creatorAccountIDBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     **
     * The id of the account that created the schedule
     * 
* * .proto.AccountID creatorAccountID = 9; */ public Builder mergeCreatorAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { if (creatorAccountIDBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && creatorAccountID_ != null && creatorAccountID_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { getCreatorAccountIDBuilder().mergeFrom(value); } else { creatorAccountID_ = value; } } else { creatorAccountIDBuilder_.mergeFrom(value); } if (creatorAccountID_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** *
     **
     * The id of the account that created the schedule
     * 
* * .proto.AccountID creatorAccountID = 9; */ public Builder clearCreatorAccountID() { bitField0_ = (bitField0_ & ~0x00000100); creatorAccountID_ = null; if (creatorAccountIDBuilder_ != null) { creatorAccountIDBuilder_.dispose(); creatorAccountIDBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The id of the account that created the schedule
     * 
* * .proto.AccountID creatorAccountID = 9; */ public com.hedera.hashgraph.sdk.proto.AccountID.Builder getCreatorAccountIDBuilder() { bitField0_ |= 0x00000100; onChanged(); return getCreatorAccountIDFieldBuilder().getBuilder(); } /** *
     **
     * The id of the account that created the schedule
     * 
* * .proto.AccountID creatorAccountID = 9; */ public com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getCreatorAccountIDOrBuilder() { if (creatorAccountIDBuilder_ != null) { return creatorAccountIDBuilder_.getMessageOrBuilder(); } else { return creatorAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : creatorAccountID_; } } /** *
     **
     * The id of the account that created the schedule
     * 
* * .proto.AccountID creatorAccountID = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder> getCreatorAccountIDFieldBuilder() { if (creatorAccountIDBuilder_ == null) { creatorAccountIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder>( getCreatorAccountID(), getParentForChildren(), isClean()); creatorAccountID_ = null; } return creatorAccountIDBuilder_; } private com.hedera.hashgraph.sdk.proto.AccountID payerAccountID_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder> payerAccountIDBuilder_; /** *
     **
     * The id of the account responsible for the service fee of the scheduled transaction
     * 
* * .proto.AccountID payerAccountID = 10; * @return Whether the payerAccountID field is set. */ public boolean hasPayerAccountID() { return ((bitField0_ & 0x00000200) != 0); } /** *
     **
     * The id of the account responsible for the service fee of the scheduled transaction
     * 
* * .proto.AccountID payerAccountID = 10; * @return The payerAccountID. */ public com.hedera.hashgraph.sdk.proto.AccountID getPayerAccountID() { if (payerAccountIDBuilder_ == null) { return payerAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : payerAccountID_; } else { return payerAccountIDBuilder_.getMessage(); } } /** *
     **
     * The id of the account responsible for the service fee of the scheduled transaction
     * 
* * .proto.AccountID payerAccountID = 10; */ public Builder setPayerAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { if (payerAccountIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } payerAccountID_ = value; } else { payerAccountIDBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     **
     * The id of the account responsible for the service fee of the scheduled transaction
     * 
* * .proto.AccountID payerAccountID = 10; */ public Builder setPayerAccountID( com.hedera.hashgraph.sdk.proto.AccountID.Builder builderForValue) { if (payerAccountIDBuilder_ == null) { payerAccountID_ = builderForValue.build(); } else { payerAccountIDBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     **
     * The id of the account responsible for the service fee of the scheduled transaction
     * 
* * .proto.AccountID payerAccountID = 10; */ public Builder mergePayerAccountID(com.hedera.hashgraph.sdk.proto.AccountID value) { if (payerAccountIDBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && payerAccountID_ != null && payerAccountID_ != com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance()) { getPayerAccountIDBuilder().mergeFrom(value); } else { payerAccountID_ = value; } } else { payerAccountIDBuilder_.mergeFrom(value); } if (payerAccountID_ != null) { bitField0_ |= 0x00000200; onChanged(); } return this; } /** *
     **
     * The id of the account responsible for the service fee of the scheduled transaction
     * 
* * .proto.AccountID payerAccountID = 10; */ public Builder clearPayerAccountID() { bitField0_ = (bitField0_ & ~0x00000200); payerAccountID_ = null; if (payerAccountIDBuilder_ != null) { payerAccountIDBuilder_.dispose(); payerAccountIDBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The id of the account responsible for the service fee of the scheduled transaction
     * 
* * .proto.AccountID payerAccountID = 10; */ public com.hedera.hashgraph.sdk.proto.AccountID.Builder getPayerAccountIDBuilder() { bitField0_ |= 0x00000200; onChanged(); return getPayerAccountIDFieldBuilder().getBuilder(); } /** *
     **
     * The id of the account responsible for the service fee of the scheduled transaction
     * 
* * .proto.AccountID payerAccountID = 10; */ public com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getPayerAccountIDOrBuilder() { if (payerAccountIDBuilder_ != null) { return payerAccountIDBuilder_.getMessageOrBuilder(); } else { return payerAccountID_ == null ? com.hedera.hashgraph.sdk.proto.AccountID.getDefaultInstance() : payerAccountID_; } } /** *
     **
     * The id of the account responsible for the service fee of the scheduled transaction
     * 
* * .proto.AccountID payerAccountID = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder> getPayerAccountIDFieldBuilder() { if (payerAccountIDBuilder_ == null) { payerAccountIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.AccountID, com.hedera.hashgraph.sdk.proto.AccountID.Builder, com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder>( getPayerAccountID(), getParentForChildren(), isClean()); payerAccountID_ = null; } return payerAccountIDBuilder_; } private com.hedera.hashgraph.sdk.proto.TransactionID scheduledTransactionID_; private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.TransactionID, com.hedera.hashgraph.sdk.proto.TransactionID.Builder, com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder> scheduledTransactionIDBuilder_; /** *
     **
     * The transaction id that will be used in the record of the scheduled transaction (if it
     * executes)
     * 
* * .proto.TransactionID scheduledTransactionID = 11; * @return Whether the scheduledTransactionID field is set. */ public boolean hasScheduledTransactionID() { return ((bitField0_ & 0x00000400) != 0); } /** *
     **
     * The transaction id that will be used in the record of the scheduled transaction (if it
     * executes)
     * 
* * .proto.TransactionID scheduledTransactionID = 11; * @return The scheduledTransactionID. */ public com.hedera.hashgraph.sdk.proto.TransactionID getScheduledTransactionID() { if (scheduledTransactionIDBuilder_ == null) { return scheduledTransactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : scheduledTransactionID_; } else { return scheduledTransactionIDBuilder_.getMessage(); } } /** *
     **
     * The transaction id that will be used in the record of the scheduled transaction (if it
     * executes)
     * 
* * .proto.TransactionID scheduledTransactionID = 11; */ public Builder setScheduledTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) { if (scheduledTransactionIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scheduledTransactionID_ = value; } else { scheduledTransactionIDBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     **
     * The transaction id that will be used in the record of the scheduled transaction (if it
     * executes)
     * 
* * .proto.TransactionID scheduledTransactionID = 11; */ public Builder setScheduledTransactionID( com.hedera.hashgraph.sdk.proto.TransactionID.Builder builderForValue) { if (scheduledTransactionIDBuilder_ == null) { scheduledTransactionID_ = builderForValue.build(); } else { scheduledTransactionIDBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     **
     * The transaction id that will be used in the record of the scheduled transaction (if it
     * executes)
     * 
* * .proto.TransactionID scheduledTransactionID = 11; */ public Builder mergeScheduledTransactionID(com.hedera.hashgraph.sdk.proto.TransactionID value) { if (scheduledTransactionIDBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && scheduledTransactionID_ != null && scheduledTransactionID_ != com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance()) { getScheduledTransactionIDBuilder().mergeFrom(value); } else { scheduledTransactionID_ = value; } } else { scheduledTransactionIDBuilder_.mergeFrom(value); } if (scheduledTransactionID_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** *
     **
     * The transaction id that will be used in the record of the scheduled transaction (if it
     * executes)
     * 
* * .proto.TransactionID scheduledTransactionID = 11; */ public Builder clearScheduledTransactionID() { bitField0_ = (bitField0_ & ~0x00000400); scheduledTransactionID_ = null; if (scheduledTransactionIDBuilder_ != null) { scheduledTransactionIDBuilder_.dispose(); scheduledTransactionIDBuilder_ = null; } onChanged(); return this; } /** *
     **
     * The transaction id that will be used in the record of the scheduled transaction (if it
     * executes)
     * 
* * .proto.TransactionID scheduledTransactionID = 11; */ public com.hedera.hashgraph.sdk.proto.TransactionID.Builder getScheduledTransactionIDBuilder() { bitField0_ |= 0x00000400; onChanged(); return getScheduledTransactionIDFieldBuilder().getBuilder(); } /** *
     **
     * The transaction id that will be used in the record of the scheduled transaction (if it
     * executes)
     * 
* * .proto.TransactionID scheduledTransactionID = 11; */ public com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder getScheduledTransactionIDOrBuilder() { if (scheduledTransactionIDBuilder_ != null) { return scheduledTransactionIDBuilder_.getMessageOrBuilder(); } else { return scheduledTransactionID_ == null ? com.hedera.hashgraph.sdk.proto.TransactionID.getDefaultInstance() : scheduledTransactionID_; } } /** *
     **
     * The transaction id that will be used in the record of the scheduled transaction (if it
     * executes)
     * 
* * .proto.TransactionID scheduledTransactionID = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.TransactionID, com.hedera.hashgraph.sdk.proto.TransactionID.Builder, com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder> getScheduledTransactionIDFieldBuilder() { if (scheduledTransactionIDBuilder_ == null) { scheduledTransactionIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hedera.hashgraph.sdk.proto.TransactionID, com.hedera.hashgraph.sdk.proto.TransactionID.Builder, com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder>( getScheduledTransactionID(), getParentForChildren(), isClean()); scheduledTransactionID_ = null; } return scheduledTransactionIDBuilder_; } private com.google.protobuf.ByteString ledgerId_ = com.google.protobuf.ByteString.EMPTY; /** *
     **
     * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
     * 
* * bytes ledger_id = 12; * @return The ledgerId. */ @java.lang.Override public com.google.protobuf.ByteString getLedgerId() { return ledgerId_; } /** *
     **
     * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
     * 
* * bytes ledger_id = 12; * @param value The ledgerId to set. * @return This builder for chaining. */ public Builder setLedgerId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ledgerId_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     **
     * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs. 
     * 
* * bytes ledger_id = 12; * @return This builder for chaining. */ public Builder clearLedgerId() { bitField0_ = (bitField0_ & ~0x00000800); ledgerId_ = getDefaultInstance().getLedgerId(); onChanged(); return this; } private boolean waitForExpiry_ ; /** *
     **
     * When set to true, the transaction will be evaluated for execution at expiration_time instead
     * of when all required signatures are received.
     * When set to false, the transaction will execute immediately after sufficient signatures are received
     * to sign the contained transaction. During the initial ScheduleCreate transaction or via ScheduleSign transactions.
     *
     * Note: this field is unused until Long Term Scheduled Transactions are enabled.
     * 
* * bool wait_for_expiry = 13; * @return The waitForExpiry. */ @java.lang.Override public boolean getWaitForExpiry() { return waitForExpiry_; } /** *
     **
     * When set to true, the transaction will be evaluated for execution at expiration_time instead
     * of when all required signatures are received.
     * When set to false, the transaction will execute immediately after sufficient signatures are received
     * to sign the contained transaction. During the initial ScheduleCreate transaction or via ScheduleSign transactions.
     *
     * Note: this field is unused until Long Term Scheduled Transactions are enabled.
     * 
* * bool wait_for_expiry = 13; * @param value The waitForExpiry to set. * @return This builder for chaining. */ public Builder setWaitForExpiry(boolean value) { waitForExpiry_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     **
     * When set to true, the transaction will be evaluated for execution at expiration_time instead
     * of when all required signatures are received.
     * When set to false, the transaction will execute immediately after sufficient signatures are received
     * to sign the contained transaction. During the initial ScheduleCreate transaction or via ScheduleSign transactions.
     *
     * Note: this field is unused until Long Term Scheduled Transactions are enabled.
     * 
* * bool wait_for_expiry = 13; * @return This builder for chaining. */ public Builder clearWaitForExpiry() { bitField0_ = (bitField0_ & ~0x00001000); waitForExpiry_ = false; 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.ScheduleInfo) } // @@protoc_insertion_point(class_scope:proto.ScheduleInfo) private static final com.hedera.hashgraph.sdk.proto.ScheduleInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hedera.hashgraph.sdk.proto.ScheduleInfo(); } public static com.hedera.hashgraph.sdk.proto.ScheduleInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ScheduleInfo 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.ScheduleInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy