com.hederahashgraph.api.proto.java.ScheduleInfo Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: schedule_get_info.proto
package com.hederahashgraph.api.proto.java;
/**
*
**
* 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();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ScheduleInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.hederahashgraph.api.proto.java.ScheduleID.Builder subBuilder = null;
if (scheduleID_ != null) {
subBuilder = scheduleID_.toBuilder();
}
scheduleID_ = input.readMessage(com.hederahashgraph.api.proto.java.ScheduleID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scheduleID_);
scheduleID_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.hederahashgraph.api.proto.java.Timestamp.Builder subBuilder = null;
if (dataCase_ == 2) {
subBuilder = ((com.hederahashgraph.api.proto.java.Timestamp) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Timestamp) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 2;
break;
}
case 26: {
com.hederahashgraph.api.proto.java.Timestamp.Builder subBuilder = null;
if (dataCase_ == 3) {
subBuilder = ((com.hederahashgraph.api.proto.java.Timestamp) data_).toBuilder();
}
data_ =
input.readMessage(com.hederahashgraph.api.proto.java.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Timestamp) data_);
data_ = subBuilder.buildPartial();
}
dataCase_ = 3;
break;
}
case 34: {
com.hederahashgraph.api.proto.java.Timestamp.Builder subBuilder = null;
if (expirationTime_ != null) {
subBuilder = expirationTime_.toBuilder();
}
expirationTime_ = input.readMessage(com.hederahashgraph.api.proto.java.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(expirationTime_);
expirationTime_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.hederahashgraph.api.proto.java.SchedulableTransactionBody.Builder subBuilder = null;
if (scheduledTransactionBody_ != null) {
subBuilder = scheduledTransactionBody_.toBuilder();
}
scheduledTransactionBody_ = input.readMessage(com.hederahashgraph.api.proto.java.SchedulableTransactionBody.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scheduledTransactionBody_);
scheduledTransactionBody_ = subBuilder.buildPartial();
}
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
memo_ = s;
break;
}
case 58: {
com.hederahashgraph.api.proto.java.Key.Builder subBuilder = null;
if (adminKey_ != null) {
subBuilder = adminKey_.toBuilder();
}
adminKey_ = input.readMessage(com.hederahashgraph.api.proto.java.Key.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(adminKey_);
adminKey_ = subBuilder.buildPartial();
}
break;
}
case 66: {
com.hederahashgraph.api.proto.java.KeyList.Builder subBuilder = null;
if (signers_ != null) {
subBuilder = signers_.toBuilder();
}
signers_ = input.readMessage(com.hederahashgraph.api.proto.java.KeyList.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(signers_);
signers_ = subBuilder.buildPartial();
}
break;
}
case 74: {
com.hederahashgraph.api.proto.java.AccountID.Builder subBuilder = null;
if (creatorAccountID_ != null) {
subBuilder = creatorAccountID_.toBuilder();
}
creatorAccountID_ = input.readMessage(com.hederahashgraph.api.proto.java.AccountID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(creatorAccountID_);
creatorAccountID_ = subBuilder.buildPartial();
}
break;
}
case 82: {
com.hederahashgraph.api.proto.java.AccountID.Builder subBuilder = null;
if (payerAccountID_ != null) {
subBuilder = payerAccountID_.toBuilder();
}
payerAccountID_ = input.readMessage(com.hederahashgraph.api.proto.java.AccountID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(payerAccountID_);
payerAccountID_ = subBuilder.buildPartial();
}
break;
}
case 90: {
com.hederahashgraph.api.proto.java.TransactionID.Builder subBuilder = null;
if (scheduledTransactionID_ != null) {
subBuilder = scheduledTransactionID_.toBuilder();
}
scheduledTransactionID_ = input.readMessage(com.hederahashgraph.api.proto.java.TransactionID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scheduledTransactionID_);
scheduledTransactionID_ = subBuilder.buildPartial();
}
break;
}
case 98: {
ledgerId_ = input.readBytes();
break;
}
case 104: {
waitForExpiry_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.ScheduleGetInfo.internal_static_proto_ScheduleInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.ScheduleGetInfo.internal_static_proto_ScheduleInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.ScheduleInfo.class, com.hederahashgraph.api.proto.java.ScheduleInfo.Builder.class);
}
private int dataCase_ = 0;
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.hederahashgraph.api.proto.java.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 scheduleID_ != null;
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
* @return The scheduleID.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleID getScheduleID() {
return scheduleID_ == null ? com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance() : scheduleID_;
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder getScheduleIDOrBuilder() {
return getScheduleID();
}
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.hederahashgraph.api.proto.java.Timestamp getDeletionTime() {
if (dataCase_ == 2) {
return (com.hederahashgraph.api.proto.java.Timestamp) data_;
}
return com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance();
}
/**
*
**
* If the schedule has been deleted, the consensus time when this occurred
*
*
* .proto.Timestamp deletion_time = 2;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TimestampOrBuilder getDeletionTimeOrBuilder() {
if (dataCase_ == 2) {
return (com.hederahashgraph.api.proto.java.Timestamp) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Timestamp getExecutionTime() {
if (dataCase_ == 3) {
return (com.hederahashgraph.api.proto.java.Timestamp) data_;
}
return com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance();
}
/**
*
**
* If the schedule has been executed, the consensus time when this occurred
*
*
* .proto.Timestamp execution_time = 3;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TimestampOrBuilder getExecutionTimeOrBuilder() {
if (dataCase_ == 3) {
return (com.hederahashgraph.api.proto.java.Timestamp) data_;
}
return com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance();
}
public static final int EXPIRATIONTIME_FIELD_NUMBER = 4;
private com.hederahashgraph.api.proto.java.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 expirationTime_ != null;
}
/**
*
**
* 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.hederahashgraph.api.proto.java.Timestamp getExpirationTime() {
return expirationTime_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TimestampOrBuilder getExpirationTimeOrBuilder() {
return getExpirationTime();
}
public static final int SCHEDULEDTRANSACTIONBODY_FIELD_NUMBER = 5;
private com.hederahashgraph.api.proto.java.SchedulableTransactionBody scheduledTransactionBody_;
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
* @return Whether the scheduledTransactionBody field is set.
*/
@java.lang.Override
public boolean hasScheduledTransactionBody() {
return scheduledTransactionBody_ != null;
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
* @return The scheduledTransactionBody.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SchedulableTransactionBody getScheduledTransactionBody() {
return scheduledTransactionBody_ == null ? com.hederahashgraph.api.proto.java.SchedulableTransactionBody.getDefaultInstance() : scheduledTransactionBody_;
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SchedulableTransactionBodyOrBuilder getScheduledTransactionBodyOrBuilder() {
return getScheduledTransactionBody();
}
public static final int MEMO_FIELD_NUMBER = 6;
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.hederahashgraph.api.proto.java.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 adminKey_ != null;
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
* @return The adminKey.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Key getAdminKey() {
return adminKey_ == null ? com.hederahashgraph.api.proto.java.Key.getDefaultInstance() : adminKey_;
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.KeyOrBuilder getAdminKeyOrBuilder() {
return getAdminKey();
}
public static final int SIGNERS_FIELD_NUMBER = 8;
private com.hederahashgraph.api.proto.java.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 signers_ != null;
}
/**
*
**
* The Ed25519 keys the network deems to have signed the scheduled transaction
*
*
* .proto.KeyList signers = 8;
* @return The signers.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.KeyList getSigners() {
return signers_ == null ? com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance() : signers_;
}
/**
*
**
* The Ed25519 keys the network deems to have signed the scheduled transaction
*
*
* .proto.KeyList signers = 8;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.KeyListOrBuilder getSignersOrBuilder() {
return getSigners();
}
public static final int CREATORACCOUNTID_FIELD_NUMBER = 9;
private com.hederahashgraph.api.proto.java.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 creatorAccountID_ != null;
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
* @return The creatorAccountID.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountID getCreatorAccountID() {
return creatorAccountID_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : creatorAccountID_;
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getCreatorAccountIDOrBuilder() {
return getCreatorAccountID();
}
public static final int PAYERACCOUNTID_FIELD_NUMBER = 10;
private com.hederahashgraph.api.proto.java.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 payerAccountID_ != null;
}
/**
*
**
* 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.hederahashgraph.api.proto.java.AccountID getPayerAccountID() {
return payerAccountID_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.AccountIDOrBuilder getPayerAccountIDOrBuilder() {
return getPayerAccountID();
}
public static final int SCHEDULEDTRANSACTIONID_FIELD_NUMBER = 11;
private com.hederahashgraph.api.proto.java.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 scheduledTransactionID_ != null;
}
/**
*
**
* 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.hederahashgraph.api.proto.java.TransactionID getScheduledTransactionID() {
return scheduledTransactionID_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TransactionIDOrBuilder getScheduledTransactionIDOrBuilder() {
return getScheduledTransactionID();
}
public static final int LEDGER_ID_FIELD_NUMBER = 12;
private com.google.protobuf.ByteString 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;
* @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_;
/**
*
**
* 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 (scheduleID_ != null) {
output.writeMessage(1, getScheduleID());
}
if (dataCase_ == 2) {
output.writeMessage(2, (com.hederahashgraph.api.proto.java.Timestamp) data_);
}
if (dataCase_ == 3) {
output.writeMessage(3, (com.hederahashgraph.api.proto.java.Timestamp) data_);
}
if (expirationTime_ != null) {
output.writeMessage(4, getExpirationTime());
}
if (scheduledTransactionBody_ != null) {
output.writeMessage(5, getScheduledTransactionBody());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, memo_);
}
if (adminKey_ != null) {
output.writeMessage(7, getAdminKey());
}
if (signers_ != null) {
output.writeMessage(8, getSigners());
}
if (creatorAccountID_ != null) {
output.writeMessage(9, getCreatorAccountID());
}
if (payerAccountID_ != null) {
output.writeMessage(10, getPayerAccountID());
}
if (scheduledTransactionID_ != null) {
output.writeMessage(11, getScheduledTransactionID());
}
if (!ledgerId_.isEmpty()) {
output.writeBytes(12, ledgerId_);
}
if (waitForExpiry_ != false) {
output.writeBool(13, waitForExpiry_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (scheduleID_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getScheduleID());
}
if (dataCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.hederahashgraph.api.proto.java.Timestamp) data_);
}
if (dataCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.hederahashgraph.api.proto.java.Timestamp) data_);
}
if (expirationTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getExpirationTime());
}
if (scheduledTransactionBody_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getScheduledTransactionBody());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(memo_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, memo_);
}
if (adminKey_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getAdminKey());
}
if (signers_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getSigners());
}
if (creatorAccountID_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getCreatorAccountID());
}
if (payerAccountID_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getPayerAccountID());
}
if (scheduledTransactionID_ != null) {
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 += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.hederahashgraph.api.proto.java.ScheduleInfo)) {
return super.equals(obj);
}
com.hederahashgraph.api.proto.java.ScheduleInfo other = (com.hederahashgraph.api.proto.java.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 (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (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) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hederahashgraph.api.proto.java.ScheduleInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.ScheduleInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.ScheduleInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.ScheduleInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.hederahashgraph.api.proto.java.ScheduleInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.ScheduleInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.ScheduleGetInfo.internal_static_proto_ScheduleInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.ScheduleGetInfo.internal_static_proto_ScheduleInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.ScheduleInfo.class, com.hederahashgraph.api.proto.java.ScheduleInfo.Builder.class);
}
// Construct using com.hederahashgraph.api.proto.java.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) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (scheduleIDBuilder_ == null) {
scheduleID_ = null;
} else {
scheduleID_ = null;
scheduleIDBuilder_ = null;
}
if (expirationTimeBuilder_ == null) {
expirationTime_ = null;
} else {
expirationTime_ = null;
expirationTimeBuilder_ = null;
}
if (scheduledTransactionBodyBuilder_ == null) {
scheduledTransactionBody_ = null;
} else {
scheduledTransactionBody_ = null;
scheduledTransactionBodyBuilder_ = null;
}
memo_ = "";
if (adminKeyBuilder_ == null) {
adminKey_ = null;
} else {
adminKey_ = null;
adminKeyBuilder_ = null;
}
if (signersBuilder_ == null) {
signers_ = null;
} else {
signers_ = null;
signersBuilder_ = null;
}
if (creatorAccountIDBuilder_ == null) {
creatorAccountID_ = null;
} else {
creatorAccountID_ = null;
creatorAccountIDBuilder_ = null;
}
if (payerAccountIDBuilder_ == null) {
payerAccountID_ = null;
} else {
payerAccountID_ = null;
payerAccountIDBuilder_ = null;
}
if (scheduledTransactionIDBuilder_ == null) {
scheduledTransactionID_ = null;
} else {
scheduledTransactionID_ = null;
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.hederahashgraph.api.proto.java.ScheduleGetInfo.internal_static_proto_ScheduleInfo_descriptor;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleInfo getDefaultInstanceForType() {
return com.hederahashgraph.api.proto.java.ScheduleInfo.getDefaultInstance();
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleInfo build() {
com.hederahashgraph.api.proto.java.ScheduleInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleInfo buildPartial() {
com.hederahashgraph.api.proto.java.ScheduleInfo result = new com.hederahashgraph.api.proto.java.ScheduleInfo(this);
if (scheduleIDBuilder_ == null) {
result.scheduleID_ = scheduleID_;
} else {
result.scheduleID_ = scheduleIDBuilder_.build();
}
if (dataCase_ == 2) {
if (deletionTimeBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = deletionTimeBuilder_.build();
}
}
if (dataCase_ == 3) {
if (executionTimeBuilder_ == null) {
result.data_ = data_;
} else {
result.data_ = executionTimeBuilder_.build();
}
}
if (expirationTimeBuilder_ == null) {
result.expirationTime_ = expirationTime_;
} else {
result.expirationTime_ = expirationTimeBuilder_.build();
}
if (scheduledTransactionBodyBuilder_ == null) {
result.scheduledTransactionBody_ = scheduledTransactionBody_;
} else {
result.scheduledTransactionBody_ = scheduledTransactionBodyBuilder_.build();
}
result.memo_ = memo_;
if (adminKeyBuilder_ == null) {
result.adminKey_ = adminKey_;
} else {
result.adminKey_ = adminKeyBuilder_.build();
}
if (signersBuilder_ == null) {
result.signers_ = signers_;
} else {
result.signers_ = signersBuilder_.build();
}
if (creatorAccountIDBuilder_ == null) {
result.creatorAccountID_ = creatorAccountID_;
} else {
result.creatorAccountID_ = creatorAccountIDBuilder_.build();
}
if (payerAccountIDBuilder_ == null) {
result.payerAccountID_ = payerAccountID_;
} else {
result.payerAccountID_ = payerAccountIDBuilder_.build();
}
if (scheduledTransactionIDBuilder_ == null) {
result.scheduledTransactionID_ = scheduledTransactionID_;
} else {
result.scheduledTransactionID_ = scheduledTransactionIDBuilder_.build();
}
result.ledgerId_ = ledgerId_;
result.waitForExpiry_ = waitForExpiry_;
result.dataCase_ = dataCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.hederahashgraph.api.proto.java.ScheduleInfo) {
return mergeFrom((com.hederahashgraph.api.proto.java.ScheduleInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hederahashgraph.api.proto.java.ScheduleInfo other) {
if (other == com.hederahashgraph.api.proto.java.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_;
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.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.hederahashgraph.api.proto.java.ScheduleInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.hederahashgraph.api.proto.java.ScheduleInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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 com.hederahashgraph.api.proto.java.ScheduleID scheduleID_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder> scheduleIDBuilder_;
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
* @return Whether the scheduleID field is set.
*/
public boolean hasScheduleID() {
return scheduleIDBuilder_ != null || scheduleID_ != null;
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
* @return The scheduleID.
*/
public com.hederahashgraph.api.proto.java.ScheduleID getScheduleID() {
if (scheduleIDBuilder_ == null) {
return scheduleID_ == null ? com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance() : scheduleID_;
} else {
return scheduleIDBuilder_.getMessage();
}
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
*/
public Builder setScheduleID(com.hederahashgraph.api.proto.java.ScheduleID value) {
if (scheduleIDBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scheduleID_ = value;
onChanged();
} else {
scheduleIDBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
*/
public Builder setScheduleID(
com.hederahashgraph.api.proto.java.ScheduleID.Builder builderForValue) {
if (scheduleIDBuilder_ == null) {
scheduleID_ = builderForValue.build();
onChanged();
} else {
scheduleIDBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
*/
public Builder mergeScheduleID(com.hederahashgraph.api.proto.java.ScheduleID value) {
if (scheduleIDBuilder_ == null) {
if (scheduleID_ != null) {
scheduleID_ =
com.hederahashgraph.api.proto.java.ScheduleID.newBuilder(scheduleID_).mergeFrom(value).buildPartial();
} else {
scheduleID_ = value;
}
onChanged();
} else {
scheduleIDBuilder_.mergeFrom(value);
}
return this;
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
*/
public Builder clearScheduleID() {
if (scheduleIDBuilder_ == null) {
scheduleID_ = null;
onChanged();
} else {
scheduleID_ = null;
scheduleIDBuilder_ = null;
}
return this;
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
*/
public com.hederahashgraph.api.proto.java.ScheduleID.Builder getScheduleIDBuilder() {
onChanged();
return getScheduleIDFieldBuilder().getBuilder();
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
*/
public com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder getScheduleIDOrBuilder() {
if (scheduleIDBuilder_ != null) {
return scheduleIDBuilder_.getMessageOrBuilder();
} else {
return scheduleID_ == null ?
com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance() : scheduleID_;
}
}
/**
*
**
* The id of the schedule
*
*
* .proto.ScheduleID scheduleID = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder>
getScheduleIDFieldBuilder() {
if (scheduleIDBuilder_ == null) {
scheduleIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder>(
getScheduleID(),
getParentForChildren(),
isClean());
scheduleID_ = null;
}
return scheduleIDBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Timestamp getDeletionTime() {
if (deletionTimeBuilder_ == null) {
if (dataCase_ == 2) {
return (com.hederahashgraph.api.proto.java.Timestamp) data_;
}
return com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance();
} else {
if (dataCase_ == 2) {
return deletionTimeBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance();
}
}
/**
*
**
* If the schedule has been deleted, the consensus time when this occurred
*
*
* .proto.Timestamp deletion_time = 2;
*/
public Builder setDeletionTime(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Timestamp value) {
if (deletionTimeBuilder_ == null) {
if (dataCase_ == 2 &&
data_ != com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.Timestamp.newBuilder((com.hederahashgraph.api.proto.java.Timestamp) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 2) {
deletionTimeBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TimestampOrBuilder getDeletionTimeOrBuilder() {
if ((dataCase_ == 2) && (deletionTimeBuilder_ != null)) {
return deletionTimeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 2) {
return (com.hederahashgraph.api.proto.java.Timestamp) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>
getDeletionTimeFieldBuilder() {
if (deletionTimeBuilder_ == null) {
if (!(dataCase_ == 2)) {
data_ = com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance();
}
deletionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>(
(com.hederahashgraph.api.proto.java.Timestamp) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 2;
onChanged();;
return deletionTimeBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Timestamp getExecutionTime() {
if (executionTimeBuilder_ == null) {
if (dataCase_ == 3) {
return (com.hederahashgraph.api.proto.java.Timestamp) data_;
}
return com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance();
} else {
if (dataCase_ == 3) {
return executionTimeBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance();
}
}
/**
*
**
* If the schedule has been executed, the consensus time when this occurred
*
*
* .proto.Timestamp execution_time = 3;
*/
public Builder setExecutionTime(com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Timestamp value) {
if (executionTimeBuilder_ == null) {
if (dataCase_ == 3 &&
data_ != com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance()) {
data_ = com.hederahashgraph.api.proto.java.Timestamp.newBuilder((com.hederahashgraph.api.proto.java.Timestamp) data_)
.mergeFrom(value).buildPartial();
} else {
data_ = value;
}
onChanged();
} else {
if (dataCase_ == 3) {
executionTimeBuilder_.mergeFrom(value);
}
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.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TimestampOrBuilder getExecutionTimeOrBuilder() {
if ((dataCase_ == 3) && (executionTimeBuilder_ != null)) {
return executionTimeBuilder_.getMessageOrBuilder();
} else {
if (dataCase_ == 3) {
return (com.hederahashgraph.api.proto.java.Timestamp) data_;
}
return com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>
getExecutionTimeFieldBuilder() {
if (executionTimeBuilder_ == null) {
if (!(dataCase_ == 3)) {
data_ = com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance();
}
executionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>(
(com.hederahashgraph.api.proto.java.Timestamp) data_,
getParentForChildren(),
isClean());
data_ = null;
}
dataCase_ = 3;
onChanged();;
return executionTimeBuilder_;
}
private com.hederahashgraph.api.proto.java.Timestamp expirationTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.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 expirationTimeBuilder_ != null || expirationTime_ != null;
}
/**
*
**
* 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.hederahashgraph.api.proto.java.Timestamp getExpirationTime() {
if (expirationTimeBuilder_ == null) {
return expirationTime_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Timestamp value) {
if (expirationTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
expirationTime_ = value;
onChanged();
} else {
expirationTimeBuilder_.setMessage(value);
}
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.hederahashgraph.api.proto.java.Timestamp.Builder builderForValue) {
if (expirationTimeBuilder_ == null) {
expirationTime_ = builderForValue.build();
onChanged();
} else {
expirationTimeBuilder_.setMessage(builderForValue.build());
}
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.hederahashgraph.api.proto.java.Timestamp value) {
if (expirationTimeBuilder_ == null) {
if (expirationTime_ != null) {
expirationTime_ =
com.hederahashgraph.api.proto.java.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial();
} else {
expirationTime_ = value;
}
onChanged();
} else {
expirationTimeBuilder_.mergeFrom(value);
}
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() {
if (expirationTimeBuilder_ == null) {
expirationTime_ = null;
onChanged();
} else {
expirationTime_ = null;
expirationTimeBuilder_ = null;
}
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.hederahashgraph.api.proto.java.Timestamp.Builder getExpirationTimeBuilder() {
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.hederahashgraph.api.proto.java.TimestampOrBuilder getExpirationTimeOrBuilder() {
if (expirationTimeBuilder_ != null) {
return expirationTimeBuilder_.getMessageOrBuilder();
} else {
return expirationTime_ == null ?
com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>
getExpirationTimeFieldBuilder() {
if (expirationTimeBuilder_ == null) {
expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>(
getExpirationTime(),
getParentForChildren(),
isClean());
expirationTime_ = null;
}
return expirationTimeBuilder_;
}
private com.hederahashgraph.api.proto.java.SchedulableTransactionBody scheduledTransactionBody_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SchedulableTransactionBody, com.hederahashgraph.api.proto.java.SchedulableTransactionBody.Builder, com.hederahashgraph.api.proto.java.SchedulableTransactionBodyOrBuilder> scheduledTransactionBodyBuilder_;
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
* @return Whether the scheduledTransactionBody field is set.
*/
public boolean hasScheduledTransactionBody() {
return scheduledTransactionBodyBuilder_ != null || scheduledTransactionBody_ != null;
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
* @return The scheduledTransactionBody.
*/
public com.hederahashgraph.api.proto.java.SchedulableTransactionBody getScheduledTransactionBody() {
if (scheduledTransactionBodyBuilder_ == null) {
return scheduledTransactionBody_ == null ? com.hederahashgraph.api.proto.java.SchedulableTransactionBody.getDefaultInstance() : scheduledTransactionBody_;
} else {
return scheduledTransactionBodyBuilder_.getMessage();
}
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
*/
public Builder setScheduledTransactionBody(com.hederahashgraph.api.proto.java.SchedulableTransactionBody value) {
if (scheduledTransactionBodyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scheduledTransactionBody_ = value;
onChanged();
} else {
scheduledTransactionBodyBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
*/
public Builder setScheduledTransactionBody(
com.hederahashgraph.api.proto.java.SchedulableTransactionBody.Builder builderForValue) {
if (scheduledTransactionBodyBuilder_ == null) {
scheduledTransactionBody_ = builderForValue.build();
onChanged();
} else {
scheduledTransactionBodyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
*/
public Builder mergeScheduledTransactionBody(com.hederahashgraph.api.proto.java.SchedulableTransactionBody value) {
if (scheduledTransactionBodyBuilder_ == null) {
if (scheduledTransactionBody_ != null) {
scheduledTransactionBody_ =
com.hederahashgraph.api.proto.java.SchedulableTransactionBody.newBuilder(scheduledTransactionBody_).mergeFrom(value).buildPartial();
} else {
scheduledTransactionBody_ = value;
}
onChanged();
} else {
scheduledTransactionBodyBuilder_.mergeFrom(value);
}
return this;
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
*/
public Builder clearScheduledTransactionBody() {
if (scheduledTransactionBodyBuilder_ == null) {
scheduledTransactionBody_ = null;
onChanged();
} else {
scheduledTransactionBody_ = null;
scheduledTransactionBodyBuilder_ = null;
}
return this;
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
*/
public com.hederahashgraph.api.proto.java.SchedulableTransactionBody.Builder getScheduledTransactionBodyBuilder() {
onChanged();
return getScheduledTransactionBodyFieldBuilder().getBuilder();
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
*/
public com.hederahashgraph.api.proto.java.SchedulableTransactionBodyOrBuilder getScheduledTransactionBodyOrBuilder() {
if (scheduledTransactionBodyBuilder_ != null) {
return scheduledTransactionBodyBuilder_.getMessageOrBuilder();
} else {
return scheduledTransactionBody_ == null ?
com.hederahashgraph.api.proto.java.SchedulableTransactionBody.getDefaultInstance() : scheduledTransactionBody_;
}
}
/**
*
**
* The scheduled transaction
*
*
* .proto.SchedulableTransactionBody scheduledTransactionBody = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SchedulableTransactionBody, com.hederahashgraph.api.proto.java.SchedulableTransactionBody.Builder, com.hederahashgraph.api.proto.java.SchedulableTransactionBodyOrBuilder>
getScheduledTransactionBodyFieldBuilder() {
if (scheduledTransactionBodyBuilder_ == null) {
scheduledTransactionBodyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SchedulableTransactionBody, com.hederahashgraph.api.proto.java.SchedulableTransactionBody.Builder, com.hederahashgraph.api.proto.java.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;
onChanged();
return this;
}
/**
*
**
* The publicly visible memo of the schedule
*
*
* string memo = 6;
* @return This builder for chaining.
*/
public Builder clearMemo() {
memo_ = getDefaultInstance().getMemo();
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;
onChanged();
return this;
}
private com.hederahashgraph.api.proto.java.Key adminKey_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Key, com.hederahashgraph.api.proto.java.Key.Builder, com.hederahashgraph.api.proto.java.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 adminKeyBuilder_ != null || adminKey_ != null;
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
* @return The adminKey.
*/
public com.hederahashgraph.api.proto.java.Key getAdminKey() {
if (adminKeyBuilder_ == null) {
return adminKey_ == null ? com.hederahashgraph.api.proto.java.Key.getDefaultInstance() : adminKey_;
} else {
return adminKeyBuilder_.getMessage();
}
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
*/
public Builder setAdminKey(com.hederahashgraph.api.proto.java.Key value) {
if (adminKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
adminKey_ = value;
onChanged();
} else {
adminKeyBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
*/
public Builder setAdminKey(
com.hederahashgraph.api.proto.java.Key.Builder builderForValue) {
if (adminKeyBuilder_ == null) {
adminKey_ = builderForValue.build();
onChanged();
} else {
adminKeyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
*/
public Builder mergeAdminKey(com.hederahashgraph.api.proto.java.Key value) {
if (adminKeyBuilder_ == null) {
if (adminKey_ != null) {
adminKey_ =
com.hederahashgraph.api.proto.java.Key.newBuilder(adminKey_).mergeFrom(value).buildPartial();
} else {
adminKey_ = value;
}
onChanged();
} else {
adminKeyBuilder_.mergeFrom(value);
}
return this;
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
*/
public Builder clearAdminKey() {
if (adminKeyBuilder_ == null) {
adminKey_ = null;
onChanged();
} else {
adminKey_ = null;
adminKeyBuilder_ = null;
}
return this;
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
*/
public com.hederahashgraph.api.proto.java.Key.Builder getAdminKeyBuilder() {
onChanged();
return getAdminKeyFieldBuilder().getBuilder();
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
*/
public com.hederahashgraph.api.proto.java.KeyOrBuilder getAdminKeyOrBuilder() {
if (adminKeyBuilder_ != null) {
return adminKeyBuilder_.getMessageOrBuilder();
} else {
return adminKey_ == null ?
com.hederahashgraph.api.proto.java.Key.getDefaultInstance() : adminKey_;
}
}
/**
*
**
* The key used to delete the schedule from state
*
*
* .proto.Key adminKey = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Key, com.hederahashgraph.api.proto.java.Key.Builder, com.hederahashgraph.api.proto.java.KeyOrBuilder>
getAdminKeyFieldBuilder() {
if (adminKeyBuilder_ == null) {
adminKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Key, com.hederahashgraph.api.proto.java.Key.Builder, com.hederahashgraph.api.proto.java.KeyOrBuilder>(
getAdminKey(),
getParentForChildren(),
isClean());
adminKey_ = null;
}
return adminKeyBuilder_;
}
private com.hederahashgraph.api.proto.java.KeyList signers_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.KeyList, com.hederahashgraph.api.proto.java.KeyList.Builder, com.hederahashgraph.api.proto.java.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 signersBuilder_ != null || signers_ != null;
}
/**
*
**
* The Ed25519 keys the network deems to have signed the scheduled transaction
*
*
* .proto.KeyList signers = 8;
* @return The signers.
*/
public com.hederahashgraph.api.proto.java.KeyList getSigners() {
if (signersBuilder_ == null) {
return signers_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.KeyList value) {
if (signersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
signers_ = value;
onChanged();
} else {
signersBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* The Ed25519 keys the network deems to have signed the scheduled transaction
*
*
* .proto.KeyList signers = 8;
*/
public Builder setSigners(
com.hederahashgraph.api.proto.java.KeyList.Builder builderForValue) {
if (signersBuilder_ == null) {
signers_ = builderForValue.build();
onChanged();
} else {
signersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
**
* The Ed25519 keys the network deems to have signed the scheduled transaction
*
*
* .proto.KeyList signers = 8;
*/
public Builder mergeSigners(com.hederahashgraph.api.proto.java.KeyList value) {
if (signersBuilder_ == null) {
if (signers_ != null) {
signers_ =
com.hederahashgraph.api.proto.java.KeyList.newBuilder(signers_).mergeFrom(value).buildPartial();
} else {
signers_ = value;
}
onChanged();
} else {
signersBuilder_.mergeFrom(value);
}
return this;
}
/**
*
**
* The Ed25519 keys the network deems to have signed the scheduled transaction
*
*
* .proto.KeyList signers = 8;
*/
public Builder clearSigners() {
if (signersBuilder_ == null) {
signers_ = null;
onChanged();
} else {
signers_ = null;
signersBuilder_ = null;
}
return this;
}
/**
*
**
* The Ed25519 keys the network deems to have signed the scheduled transaction
*
*
* .proto.KeyList signers = 8;
*/
public com.hederahashgraph.api.proto.java.KeyList.Builder getSignersBuilder() {
onChanged();
return getSignersFieldBuilder().getBuilder();
}
/**
*
**
* The Ed25519 keys the network deems to have signed the scheduled transaction
*
*
* .proto.KeyList signers = 8;
*/
public com.hederahashgraph.api.proto.java.KeyListOrBuilder getSignersOrBuilder() {
if (signersBuilder_ != null) {
return signersBuilder_.getMessageOrBuilder();
} else {
return signers_ == null ?
com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.KeyList, com.hederahashgraph.api.proto.java.KeyList.Builder, com.hederahashgraph.api.proto.java.KeyListOrBuilder>
getSignersFieldBuilder() {
if (signersBuilder_ == null) {
signersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.KeyList, com.hederahashgraph.api.proto.java.KeyList.Builder, com.hederahashgraph.api.proto.java.KeyListOrBuilder>(
getSigners(),
getParentForChildren(),
isClean());
signers_ = null;
}
return signersBuilder_;
}
private com.hederahashgraph.api.proto.java.AccountID creatorAccountID_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.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 creatorAccountIDBuilder_ != null || creatorAccountID_ != null;
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
* @return The creatorAccountID.
*/
public com.hederahashgraph.api.proto.java.AccountID getCreatorAccountID() {
if (creatorAccountIDBuilder_ == null) {
return creatorAccountID_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : creatorAccountID_;
} else {
return creatorAccountIDBuilder_.getMessage();
}
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
*/
public Builder setCreatorAccountID(com.hederahashgraph.api.proto.java.AccountID value) {
if (creatorAccountIDBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
creatorAccountID_ = value;
onChanged();
} else {
creatorAccountIDBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
*/
public Builder setCreatorAccountID(
com.hederahashgraph.api.proto.java.AccountID.Builder builderForValue) {
if (creatorAccountIDBuilder_ == null) {
creatorAccountID_ = builderForValue.build();
onChanged();
} else {
creatorAccountIDBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
*/
public Builder mergeCreatorAccountID(com.hederahashgraph.api.proto.java.AccountID value) {
if (creatorAccountIDBuilder_ == null) {
if (creatorAccountID_ != null) {
creatorAccountID_ =
com.hederahashgraph.api.proto.java.AccountID.newBuilder(creatorAccountID_).mergeFrom(value).buildPartial();
} else {
creatorAccountID_ = value;
}
onChanged();
} else {
creatorAccountIDBuilder_.mergeFrom(value);
}
return this;
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
*/
public Builder clearCreatorAccountID() {
if (creatorAccountIDBuilder_ == null) {
creatorAccountID_ = null;
onChanged();
} else {
creatorAccountID_ = null;
creatorAccountIDBuilder_ = null;
}
return this;
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
*/
public com.hederahashgraph.api.proto.java.AccountID.Builder getCreatorAccountIDBuilder() {
onChanged();
return getCreatorAccountIDFieldBuilder().getBuilder();
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
*/
public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getCreatorAccountIDOrBuilder() {
if (creatorAccountIDBuilder_ != null) {
return creatorAccountIDBuilder_.getMessageOrBuilder();
} else {
return creatorAccountID_ == null ?
com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : creatorAccountID_;
}
}
/**
*
**
* The id of the account that created the schedule
*
*
* .proto.AccountID creatorAccountID = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>
getCreatorAccountIDFieldBuilder() {
if (creatorAccountIDBuilder_ == null) {
creatorAccountIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>(
getCreatorAccountID(),
getParentForChildren(),
isClean());
creatorAccountID_ = null;
}
return creatorAccountIDBuilder_;
}
private com.hederahashgraph.api.proto.java.AccountID payerAccountID_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.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 payerAccountIDBuilder_ != null || payerAccountID_ != null;
}
/**
*
**
* The id of the account responsible for the service fee of the scheduled transaction
*
*
* .proto.AccountID payerAccountID = 10;
* @return The payerAccountID.
*/
public com.hederahashgraph.api.proto.java.AccountID getPayerAccountID() {
if (payerAccountIDBuilder_ == null) {
return payerAccountID_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.AccountID value) {
if (payerAccountIDBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
payerAccountID_ = value;
onChanged();
} else {
payerAccountIDBuilder_.setMessage(value);
}
return this;
}
/**
*
**
* The id of the account responsible for the service fee of the scheduled transaction
*
*
* .proto.AccountID payerAccountID = 10;
*/
public Builder setPayerAccountID(
com.hederahashgraph.api.proto.java.AccountID.Builder builderForValue) {
if (payerAccountIDBuilder_ == null) {
payerAccountID_ = builderForValue.build();
onChanged();
} else {
payerAccountIDBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
**
* The id of the account responsible for the service fee of the scheduled transaction
*
*
* .proto.AccountID payerAccountID = 10;
*/
public Builder mergePayerAccountID(com.hederahashgraph.api.proto.java.AccountID value) {
if (payerAccountIDBuilder_ == null) {
if (payerAccountID_ != null) {
payerAccountID_ =
com.hederahashgraph.api.proto.java.AccountID.newBuilder(payerAccountID_).mergeFrom(value).buildPartial();
} else {
payerAccountID_ = value;
}
onChanged();
} else {
payerAccountIDBuilder_.mergeFrom(value);
}
return this;
}
/**
*
**
* The id of the account responsible for the service fee of the scheduled transaction
*
*
* .proto.AccountID payerAccountID = 10;
*/
public Builder clearPayerAccountID() {
if (payerAccountIDBuilder_ == null) {
payerAccountID_ = null;
onChanged();
} else {
payerAccountID_ = null;
payerAccountIDBuilder_ = null;
}
return this;
}
/**
*
**
* The id of the account responsible for the service fee of the scheduled transaction
*
*
* .proto.AccountID payerAccountID = 10;
*/
public com.hederahashgraph.api.proto.java.AccountID.Builder getPayerAccountIDBuilder() {
onChanged();
return getPayerAccountIDFieldBuilder().getBuilder();
}
/**
*
**
* The id of the account responsible for the service fee of the scheduled transaction
*
*
* .proto.AccountID payerAccountID = 10;
*/
public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getPayerAccountIDOrBuilder() {
if (payerAccountIDBuilder_ != null) {
return payerAccountIDBuilder_.getMessageOrBuilder();
} else {
return payerAccountID_ == null ?
com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>
getPayerAccountIDFieldBuilder() {
if (payerAccountIDBuilder_ == null) {
payerAccountIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>(
getPayerAccountID(),
getParentForChildren(),
isClean());
payerAccountID_ = null;
}
return payerAccountIDBuilder_;
}
private com.hederahashgraph.api.proto.java.TransactionID scheduledTransactionID_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionID, com.hederahashgraph.api.proto.java.TransactionID.Builder, com.hederahashgraph.api.proto.java.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 scheduledTransactionIDBuilder_ != null || scheduledTransactionID_ != null;
}
/**
*
**
* 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.hederahashgraph.api.proto.java.TransactionID getScheduledTransactionID() {
if (scheduledTransactionIDBuilder_ == null) {
return scheduledTransactionID_ == null ? com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TransactionID value) {
if (scheduledTransactionIDBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scheduledTransactionID_ = value;
onChanged();
} else {
scheduledTransactionIDBuilder_.setMessage(value);
}
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.hederahashgraph.api.proto.java.TransactionID.Builder builderForValue) {
if (scheduledTransactionIDBuilder_ == null) {
scheduledTransactionID_ = builderForValue.build();
onChanged();
} else {
scheduledTransactionIDBuilder_.setMessage(builderForValue.build());
}
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.hederahashgraph.api.proto.java.TransactionID value) {
if (scheduledTransactionIDBuilder_ == null) {
if (scheduledTransactionID_ != null) {
scheduledTransactionID_ =
com.hederahashgraph.api.proto.java.TransactionID.newBuilder(scheduledTransactionID_).mergeFrom(value).buildPartial();
} else {
scheduledTransactionID_ = value;
}
onChanged();
} else {
scheduledTransactionIDBuilder_.mergeFrom(value);
}
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() {
if (scheduledTransactionIDBuilder_ == null) {
scheduledTransactionID_ = null;
onChanged();
} else {
scheduledTransactionID_ = null;
scheduledTransactionIDBuilder_ = null;
}
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.hederahashgraph.api.proto.java.TransactionID.Builder getScheduledTransactionIDBuilder() {
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.hederahashgraph.api.proto.java.TransactionIDOrBuilder getScheduledTransactionIDOrBuilder() {
if (scheduledTransactionIDBuilder_ != null) {
return scheduledTransactionIDBuilder_.getMessageOrBuilder();
} else {
return scheduledTransactionID_ == null ?
com.hederahashgraph.api.proto.java.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.hederahashgraph.api.proto.java.TransactionID, com.hederahashgraph.api.proto.java.TransactionID.Builder, com.hederahashgraph.api.proto.java.TransactionIDOrBuilder>
getScheduledTransactionIDFieldBuilder() {
if (scheduledTransactionIDBuilder_ == null) {
scheduledTransactionIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TransactionID, com.hederahashgraph.api.proto.java.TransactionID.Builder, com.hederahashgraph.api.proto.java.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;
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() {
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;
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() {
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.hederahashgraph.api.proto.java.ScheduleInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.ScheduleInfo();
}
public static com.hederahashgraph.api.proto.java.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 {
return new ScheduleInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}