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;
}
}