- * The ID for an a cryptocurrency account - *- * - * Protobuf type {@code proto.AccountID} - */ -public final class AccountID extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.AccountID) - AccountIDOrBuilder { -private static final long serialVersionUID = 0L; - // Use AccountID.newBuilder() to construct. - private AccountID(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private AccountID() { - shardNum_ = 0L; - realmNum_ = 0L; - accountNum_ = 0L; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AccountID( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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 8: { - - shardNum_ = input.readInt64(); - break; - } - case 16: { - - realmNum_ = input.readInt64(); - break; - } - case 24: { - - accountNum_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_AccountID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_AccountID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.AccountID.class, com.hederahashgraph.api.proto.java.AccountID.Builder.class); - } - - public static final int SHARDNUM_FIELD_NUMBER = 1; - private long shardNum_; - /** - *
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
-
- public static final int REALMNUM_FIELD_NUMBER = 2;
- private long realmNum_;
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public long getRealmNum() {
- return realmNum_;
- }
-
- public static final int ACCOUNTNUM_FIELD_NUMBER = 3;
- private long accountNum_;
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 accountNum = 3;
- */
- public long getAccountNum() {
- return accountNum_;
- }
-
- 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 (shardNum_ != 0L) {
- output.writeInt64(1, shardNum_);
- }
- if (realmNum_ != 0L) {
- output.writeInt64(2, realmNum_);
- }
- if (accountNum_ != 0L) {
- output.writeInt64(3, accountNum_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (shardNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, shardNum_);
- }
- if (realmNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(2, realmNum_);
- }
- if (accountNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(3, accountNum_);
- }
- 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.AccountID)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.AccountID other = (com.hederahashgraph.api.proto.java.AccountID) obj;
-
- boolean result = true;
- result = result && (getShardNum()
- == other.getShardNum());
- result = result && (getRealmNum()
- == other.getRealmNum());
- result = result && (getAccountNum()
- == other.getAccountNum());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + SHARDNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getShardNum());
- hash = (37 * hash) + REALMNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getRealmNum());
- hash = (37 * hash) + ACCOUNTNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getAccountNum());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.AccountID parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.AccountID 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.AccountID parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.AccountID 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.AccountID parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.AccountID 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.AccountID parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.AccountID 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.AccountID parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.AccountID 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.AccountID 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.AccountID 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.AccountID 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;
- }
- /**
- * - * The ID for an a cryptocurrency account - *- * - * Protobuf type {@code proto.AccountID} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder setShardNum(long value) {
-
- shardNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder clearShardNum() {
-
- shardNum_ = 0L;
- onChanged();
- return this;
- }
-
- private long realmNum_ ;
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public long getRealmNum() {
- return realmNum_;
- }
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public Builder setRealmNum(long value) {
-
- realmNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public Builder clearRealmNum() {
-
- realmNum_ = 0L;
- onChanged();
- return this;
- }
-
- private long accountNum_ ;
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 accountNum = 3;
- */
- public long getAccountNum() {
- return accountNum_;
- }
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 accountNum = 3;
- */
- public Builder setAccountNum(long value) {
-
- accountNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 accountNum = 3;
- */
- public Builder clearAccountNum() {
-
- accountNum_ = 0L;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.AccountID)
- }
-
- // @@protoc_insertion_point(class_scope:proto.AccountID)
- private static final com.hederahashgraph.api.proto.java.AccountID DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.AccountID();
- }
-
- public static com.hederahashgraph.api.proto.java.AccountID getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- long getShardNum();
-
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- long getRealmNum();
-
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 accountNum = 3;
- */
- long getAccountNum();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/AdminDelete.java b/target/generated-sources/com/hederahashgraph/api/proto/java/AdminDelete.java
deleted file mode 100644
index c3d275954..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/AdminDelete.java
+++ /dev/null
@@ -1,64 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: AdminDelete.proto
-
-package com.hederahashgraph.api.proto.java;
-
-public final class AdminDelete {
- private AdminDelete() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
-
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_AdminDeleteTransactionBody_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_AdminDeleteTransactionBody_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\021AdminDelete.proto\022\005proto\032\020BasicTypes.p" +
- "roto\032\017Timestamp.proto\"\235\001\n\032AdminDeleteTra" +
- "nsactionBody\022\037\n\006fileID\030\001 \001(\0132\r.proto.Fil" +
- "eIDH\000\022\'\n\ncontractID\030\002 \001(\0132\021.proto.Contra" +
- "ctIDH\000\022/\n\016expirationTime\030\003 \001(\0132\027.proto.T" +
- "imestampSecondsB\004\n\002idB&\n\"com.hederahashg" +
- "raph.api.proto.javaP\001b\006proto3"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.hederahashgraph.api.proto.java.BasicTypes.getDescriptor(),
- com.hederahashgraph.api.proto.java.TimestampOuterClass.getDescriptor(),
- }, assigner);
- internal_static_proto_AdminDeleteTransactionBody_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_proto_AdminDeleteTransactionBody_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_AdminDeleteTransactionBody_descriptor,
- new java.lang.String[] { "FileID", "ContractID", "ExpirationTime", "Id", });
- com.hederahashgraph.api.proto.java.BasicTypes.getDescriptor();
- com.hederahashgraph.api.proto.java.TimestampOuterClass.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/AdminDeleteTransactionBody.java b/target/generated-sources/com/hederahashgraph/api/proto/java/AdminDeleteTransactionBody.java
deleted file mode 100644
index f8a64cce0..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/AdminDeleteTransactionBody.java
+++ /dev/null
@@ -1,1223 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: AdminDelete.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * Delete a file or smart contract - can only be done with a Hedera admin multisig. When it is deleted, it immediately disappears from the system as seen by the user, but is still stored internally until the expiration time, at which time it is truly and permanently deleted. Until that time, it can be undeleted by the Hedera admin multisig. When a smart contract is deleted, the cryptocurrency account within it continues to exist, and is not affected by the expiration time here. - *- * - * Protobuf type {@code proto.AdminDeleteTransactionBody} - */ -public final class AdminDeleteTransactionBody extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.AdminDeleteTransactionBody) - AdminDeleteTransactionBodyOrBuilder { -private static final long serialVersionUID = 0L; - // Use AdminDeleteTransactionBody.newBuilder() to construct. - private AdminDeleteTransactionBody(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private AdminDeleteTransactionBody() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AdminDeleteTransactionBody( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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.FileID.Builder subBuilder = null; - if (idCase_ == 1) { - subBuilder = ((com.hederahashgraph.api.proto.java.FileID) id_).toBuilder(); - } - id_ = - input.readMessage(com.hederahashgraph.api.proto.java.FileID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FileID) id_); - id_ = subBuilder.buildPartial(); - } - idCase_ = 1; - break; - } - case 18: { - com.hederahashgraph.api.proto.java.ContractID.Builder subBuilder = null; - if (idCase_ == 2) { - subBuilder = ((com.hederahashgraph.api.proto.java.ContractID) id_).toBuilder(); - } - id_ = - input.readMessage(com.hederahashgraph.api.proto.java.ContractID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractID) id_); - id_ = subBuilder.buildPartial(); - } - idCase_ = 2; - break; - } - case 26: { - com.hederahashgraph.api.proto.java.TimestampSeconds.Builder subBuilder = null; - if (expirationTime_ != null) { - subBuilder = expirationTime_.toBuilder(); - } - expirationTime_ = input.readMessage(com.hederahashgraph.api.proto.java.TimestampSeconds.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expirationTime_); - expirationTime_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.AdminDelete.internal_static_proto_AdminDeleteTransactionBody_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.AdminDelete.internal_static_proto_AdminDeleteTransactionBody_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody.class, com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody.Builder.class); - } - - private int idCase_ = 0; - private java.lang.Object id_; - public enum IdCase - implements com.google.protobuf.Internal.EnumLite { - FILEID(1), - CONTRACTID(2), - ID_NOT_SET(0); - private final int value; - private IdCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static IdCase valueOf(int value) { - return forNumber(value); - } - - public static IdCase forNumber(int value) { - switch (value) { - case 1: return FILEID; - case 2: return CONTRACTID; - case 0: return ID_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public IdCase - getIdCase() { - return IdCase.forNumber( - idCase_); - } - - public static final int FILEID_FIELD_NUMBER = 1; - /** - *
- * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public boolean hasFileID() {
- return idCase_ == 1;
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileID getFileID() {
- if (idCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.FileID) id_;
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIDOrBuilder() {
- if (idCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.FileID) id_;
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
-
- public static final int CONTRACTID_FIELD_NUMBER = 2;
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public boolean hasContractID() {
- return idCase_ == 2;
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractID getContractID() {
- if (idCase_ == 2) {
- return (com.hederahashgraph.api.proto.java.ContractID) id_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder() {
- if (idCase_ == 2) {
- return (com.hederahashgraph.api.proto.java.ContractID) id_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
-
- public static final int EXPIRATIONTIME_FIELD_NUMBER = 3;
- private com.hederahashgraph.api.proto.java.TimestampSeconds expirationTime_;
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public boolean hasExpirationTime() {
- return expirationTime_ != null;
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public com.hederahashgraph.api.proto.java.TimestampSeconds getExpirationTime() {
- return expirationTime_ == null ? com.hederahashgraph.api.proto.java.TimestampSeconds.getDefaultInstance() : expirationTime_;
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public com.hederahashgraph.api.proto.java.TimestampSecondsOrBuilder getExpirationTimeOrBuilder() {
- return getExpirationTime();
- }
-
- 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 (idCase_ == 1) {
- output.writeMessage(1, (com.hederahashgraph.api.proto.java.FileID) id_);
- }
- if (idCase_ == 2) {
- output.writeMessage(2, (com.hederahashgraph.api.proto.java.ContractID) id_);
- }
- if (expirationTime_ != null) {
- output.writeMessage(3, getExpirationTime());
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (idCase_ == 1) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, (com.hederahashgraph.api.proto.java.FileID) id_);
- }
- if (idCase_ == 2) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, (com.hederahashgraph.api.proto.java.ContractID) id_);
- }
- if (expirationTime_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getExpirationTime());
- }
- 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.AdminDeleteTransactionBody)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody other = (com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody) obj;
-
- boolean result = true;
- result = result && (hasExpirationTime() == other.hasExpirationTime());
- if (hasExpirationTime()) {
- result = result && getExpirationTime()
- .equals(other.getExpirationTime());
- }
- result = result && getIdCase().equals(
- other.getIdCase());
- if (!result) return false;
- switch (idCase_) {
- case 1:
- result = result && getFileID()
- .equals(other.getFileID());
- break;
- case 2:
- result = result && getContractID()
- .equals(other.getContractID());
- break;
- case 0:
- default:
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasExpirationTime()) {
- hash = (37 * hash) + EXPIRATIONTIME_FIELD_NUMBER;
- hash = (53 * hash) + getExpirationTime().hashCode();
- }
- switch (idCase_) {
- case 1:
- hash = (37 * hash) + FILEID_FIELD_NUMBER;
- hash = (53 * hash) + getFileID().hashCode();
- break;
- case 2:
- hash = (37 * hash) + CONTRACTID_FIELD_NUMBER;
- hash = (53 * hash) + getContractID().hashCode();
- break;
- case 0:
- default:
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody 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.AdminDeleteTransactionBody parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody 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.AdminDeleteTransactionBody parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody 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.AdminDeleteTransactionBody parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody 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.AdminDeleteTransactionBody parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody 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.AdminDeleteTransactionBody 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.AdminDeleteTransactionBody 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.AdminDeleteTransactionBody 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;
- }
- /**
- * - * Delete a file or smart contract - can only be done with a Hedera admin multisig. When it is deleted, it immediately disappears from the system as seen by the user, but is still stored internally until the expiration time, at which time it is truly and permanently deleted. Until that time, it can be undeleted by the Hedera admin multisig. When a smart contract is deleted, the cryptocurrency account within it continues to exist, and is not affected by the expiration time here. - *- * - * Protobuf type {@code proto.AdminDeleteTransactionBody} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public boolean hasFileID() {
- return idCase_ == 1;
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileID getFileID() {
- if (fileIDBuilder_ == null) {
- if (idCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.FileID) id_;
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- } else {
- if (idCase_ == 1) {
- return fileIDBuilder_.getMessage();
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public Builder setFileID(com.hederahashgraph.api.proto.java.FileID value) {
- if (fileIDBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- id_ = value;
- onChanged();
- } else {
- fileIDBuilder_.setMessage(value);
- }
- idCase_ = 1;
- return this;
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public Builder setFileID(
- com.hederahashgraph.api.proto.java.FileID.Builder builderForValue) {
- if (fileIDBuilder_ == null) {
- id_ = builderForValue.build();
- onChanged();
- } else {
- fileIDBuilder_.setMessage(builderForValue.build());
- }
- idCase_ = 1;
- return this;
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public Builder mergeFileID(com.hederahashgraph.api.proto.java.FileID value) {
- if (fileIDBuilder_ == null) {
- if (idCase_ == 1 &&
- id_ != com.hederahashgraph.api.proto.java.FileID.getDefaultInstance()) {
- id_ = com.hederahashgraph.api.proto.java.FileID.newBuilder((com.hederahashgraph.api.proto.java.FileID) id_)
- .mergeFrom(value).buildPartial();
- } else {
- id_ = value;
- }
- onChanged();
- } else {
- if (idCase_ == 1) {
- fileIDBuilder_.mergeFrom(value);
- }
- fileIDBuilder_.setMessage(value);
- }
- idCase_ = 1;
- return this;
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public Builder clearFileID() {
- if (fileIDBuilder_ == null) {
- if (idCase_ == 1) {
- idCase_ = 0;
- id_ = null;
- onChanged();
- }
- } else {
- if (idCase_ == 1) {
- idCase_ = 0;
- id_ = null;
- }
- fileIDBuilder_.clear();
- }
- return this;
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileID.Builder getFileIDBuilder() {
- return getFileIDFieldBuilder().getBuilder();
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIDOrBuilder() {
- if ((idCase_ == 1) && (fileIDBuilder_ != null)) {
- return fileIDBuilder_.getMessageOrBuilder();
- } else {
- if (idCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.FileID) id_;
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
- }
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder>
- getFileIDFieldBuilder() {
- if (fileIDBuilder_ == null) {
- if (!(idCase_ == 1)) {
- id_ = com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
- fileIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder>(
- (com.hederahashgraph.api.proto.java.FileID) id_,
- getParentForChildren(),
- isClean());
- id_ = null;
- }
- idCase_ = 1;
- onChanged();;
- return fileIDBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder> contractIDBuilder_;
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public boolean hasContractID() {
- return idCase_ == 2;
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractID getContractID() {
- if (contractIDBuilder_ == null) {
- if (idCase_ == 2) {
- return (com.hederahashgraph.api.proto.java.ContractID) id_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- } else {
- if (idCase_ == 2) {
- return contractIDBuilder_.getMessage();
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public Builder setContractID(com.hederahashgraph.api.proto.java.ContractID value) {
- if (contractIDBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- id_ = value;
- onChanged();
- } else {
- contractIDBuilder_.setMessage(value);
- }
- idCase_ = 2;
- return this;
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public Builder setContractID(
- com.hederahashgraph.api.proto.java.ContractID.Builder builderForValue) {
- if (contractIDBuilder_ == null) {
- id_ = builderForValue.build();
- onChanged();
- } else {
- contractIDBuilder_.setMessage(builderForValue.build());
- }
- idCase_ = 2;
- return this;
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public Builder mergeContractID(com.hederahashgraph.api.proto.java.ContractID value) {
- if (contractIDBuilder_ == null) {
- if (idCase_ == 2 &&
- id_ != com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance()) {
- id_ = com.hederahashgraph.api.proto.java.ContractID.newBuilder((com.hederahashgraph.api.proto.java.ContractID) id_)
- .mergeFrom(value).buildPartial();
- } else {
- id_ = value;
- }
- onChanged();
- } else {
- if (idCase_ == 2) {
- contractIDBuilder_.mergeFrom(value);
- }
- contractIDBuilder_.setMessage(value);
- }
- idCase_ = 2;
- return this;
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public Builder clearContractID() {
- if (contractIDBuilder_ == null) {
- if (idCase_ == 2) {
- idCase_ = 0;
- id_ = null;
- onChanged();
- }
- } else {
- if (idCase_ == 2) {
- idCase_ = 0;
- id_ = null;
- }
- contractIDBuilder_.clear();
- }
- return this;
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractID.Builder getContractIDBuilder() {
- return getContractIDFieldBuilder().getBuilder();
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder() {
- if ((idCase_ == 2) && (contractIDBuilder_ != null)) {
- return contractIDBuilder_.getMessageOrBuilder();
- } else {
- if (idCase_ == 2) {
- return (com.hederahashgraph.api.proto.java.ContractID) id_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- }
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder>
- getContractIDFieldBuilder() {
- if (contractIDBuilder_ == null) {
- if (!(idCase_ == 2)) {
- id_ = com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- contractIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder>(
- (com.hederahashgraph.api.proto.java.ContractID) id_,
- getParentForChildren(),
- isClean());
- id_ = null;
- }
- idCase_ = 2;
- onChanged();;
- return contractIDBuilder_;
- }
-
- private com.hederahashgraph.api.proto.java.TimestampSeconds expirationTime_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.TimestampSeconds, com.hederahashgraph.api.proto.java.TimestampSeconds.Builder, com.hederahashgraph.api.proto.java.TimestampSecondsOrBuilder> expirationTimeBuilder_;
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public boolean hasExpirationTime() {
- return expirationTimeBuilder_ != null || expirationTime_ != null;
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public com.hederahashgraph.api.proto.java.TimestampSeconds getExpirationTime() {
- if (expirationTimeBuilder_ == null) {
- return expirationTime_ == null ? com.hederahashgraph.api.proto.java.TimestampSeconds.getDefaultInstance() : expirationTime_;
- } else {
- return expirationTimeBuilder_.getMessage();
- }
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public Builder setExpirationTime(com.hederahashgraph.api.proto.java.TimestampSeconds value) {
- if (expirationTimeBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- expirationTime_ = value;
- onChanged();
- } else {
- expirationTimeBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public Builder setExpirationTime(
- com.hederahashgraph.api.proto.java.TimestampSeconds.Builder builderForValue) {
- if (expirationTimeBuilder_ == null) {
- expirationTime_ = builderForValue.build();
- onChanged();
- } else {
- expirationTimeBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public Builder mergeExpirationTime(com.hederahashgraph.api.proto.java.TimestampSeconds value) {
- if (expirationTimeBuilder_ == null) {
- if (expirationTime_ != null) {
- expirationTime_ =
- com.hederahashgraph.api.proto.java.TimestampSeconds.newBuilder(expirationTime_).mergeFrom(value).buildPartial();
- } else {
- expirationTime_ = value;
- }
- onChanged();
- } else {
- expirationTimeBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public Builder clearExpirationTime() {
- if (expirationTimeBuilder_ == null) {
- expirationTime_ = null;
- onChanged();
- } else {
- expirationTime_ = null;
- expirationTimeBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public com.hederahashgraph.api.proto.java.TimestampSeconds.Builder getExpirationTimeBuilder() {
-
- onChanged();
- return getExpirationTimeFieldBuilder().getBuilder();
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- public com.hederahashgraph.api.proto.java.TimestampSecondsOrBuilder getExpirationTimeOrBuilder() {
- if (expirationTimeBuilder_ != null) {
- return expirationTimeBuilder_.getMessageOrBuilder();
- } else {
- return expirationTime_ == null ?
- com.hederahashgraph.api.proto.java.TimestampSeconds.getDefaultInstance() : expirationTime_;
- }
- }
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.TimestampSeconds, com.hederahashgraph.api.proto.java.TimestampSeconds.Builder, com.hederahashgraph.api.proto.java.TimestampSecondsOrBuilder>
- getExpirationTimeFieldBuilder() {
- if (expirationTimeBuilder_ == null) {
- expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.TimestampSeconds, com.hederahashgraph.api.proto.java.TimestampSeconds.Builder, com.hederahashgraph.api.proto.java.TimestampSecondsOrBuilder>(
- getExpirationTime(),
- getParentForChildren(),
- isClean());
- expirationTime_ = null;
- }
- return expirationTimeBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.AdminDeleteTransactionBody)
- }
-
- // @@protoc_insertion_point(class_scope:proto.AdminDeleteTransactionBody)
- private static final com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody();
- }
-
- public static com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- boolean hasFileID();
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- com.hederahashgraph.api.proto.java.FileID getFileID();
- /**
- * - * the file to delete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIDOrBuilder();
-
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- boolean hasContractID();
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- com.hederahashgraph.api.proto.java.ContractID getContractID();
- /**
- * - * the contract instance to delete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder();
-
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- boolean hasExpirationTime();
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- com.hederahashgraph.api.proto.java.TimestampSeconds getExpirationTime();
- /**
- * - * the time at which the "deleted" file should truly be permanently deleted - *- * - *
.proto.TimestampSeconds expirationTime = 3;
- */
- com.hederahashgraph.api.proto.java.TimestampSecondsOrBuilder getExpirationTimeOrBuilder();
-
- public com.hederahashgraph.api.proto.java.AdminDeleteTransactionBody.IdCase getIdCase();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/AdminUndelete.java b/target/generated-sources/com/hederahashgraph/api/proto/java/AdminUndelete.java
deleted file mode 100644
index ab201fd18..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/AdminUndelete.java
+++ /dev/null
@@ -1,61 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: AdminUndelete.proto
-
-package com.hederahashgraph.api.proto.java;
-
-public final class AdminUndelete {
- private AdminUndelete() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
-
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_AdminUndeleteTransactionBody_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_AdminUndeleteTransactionBody_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\023AdminUndelete.proto\022\005proto\032\020BasicTypes" +
- ".proto\"n\n\034AdminUndeleteTransactionBody\022\037" +
- "\n\006fileID\030\001 \001(\0132\r.proto.FileIDH\000\022\'\n\ncontr" +
- "actID\030\002 \001(\0132\021.proto.ContractIDH\000B\004\n\002idB&" +
- "\n\"com.hederahashgraph.api.proto.javaP\001b\006" +
- "proto3"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.hederahashgraph.api.proto.java.BasicTypes.getDescriptor(),
- }, assigner);
- internal_static_proto_AdminUndeleteTransactionBody_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_proto_AdminUndeleteTransactionBody_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_AdminUndeleteTransactionBody_descriptor,
- new java.lang.String[] { "FileID", "ContractID", "Id", });
- com.hederahashgraph.api.proto.java.BasicTypes.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/AdminUndeleteTransactionBody.java b/target/generated-sources/com/hederahashgraph/api/proto/java/AdminUndeleteTransactionBody.java
deleted file mode 100644
index d2d50e4b3..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/AdminUndeleteTransactionBody.java
+++ /dev/null
@@ -1,994 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: AdminUndelete.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * Undelete a file or smart contract that was deleted by AdminDelete - can only be done with a Hedera admin multisig. When it is deleted, it immediately disappears from the system as seen by the user, but is still stored internally until the expiration time, at which time it is truly and permanently deleted. Until that time, it can be undeleted by the Hedera admin multisig. When a smart contract is deleted, the cryptocurrency account within it continues to exist, and is not affected by the expiration time here. - *- * - * Protobuf type {@code proto.AdminUndeleteTransactionBody} - */ -public final class AdminUndeleteTransactionBody extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.AdminUndeleteTransactionBody) - AdminUndeleteTransactionBodyOrBuilder { -private static final long serialVersionUID = 0L; - // Use AdminUndeleteTransactionBody.newBuilder() to construct. - private AdminUndeleteTransactionBody(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private AdminUndeleteTransactionBody() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AdminUndeleteTransactionBody( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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.FileID.Builder subBuilder = null; - if (idCase_ == 1) { - subBuilder = ((com.hederahashgraph.api.proto.java.FileID) id_).toBuilder(); - } - id_ = - input.readMessage(com.hederahashgraph.api.proto.java.FileID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FileID) id_); - id_ = subBuilder.buildPartial(); - } - idCase_ = 1; - break; - } - case 18: { - com.hederahashgraph.api.proto.java.ContractID.Builder subBuilder = null; - if (idCase_ == 2) { - subBuilder = ((com.hederahashgraph.api.proto.java.ContractID) id_).toBuilder(); - } - id_ = - input.readMessage(com.hederahashgraph.api.proto.java.ContractID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractID) id_); - id_ = subBuilder.buildPartial(); - } - idCase_ = 2; - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.AdminUndelete.internal_static_proto_AdminUndeleteTransactionBody_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.AdminUndelete.internal_static_proto_AdminUndeleteTransactionBody_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody.class, com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody.Builder.class); - } - - private int idCase_ = 0; - private java.lang.Object id_; - public enum IdCase - implements com.google.protobuf.Internal.EnumLite { - FILEID(1), - CONTRACTID(2), - ID_NOT_SET(0); - private final int value; - private IdCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static IdCase valueOf(int value) { - return forNumber(value); - } - - public static IdCase forNumber(int value) { - switch (value) { - case 1: return FILEID; - case 2: return CONTRACTID; - case 0: return ID_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public IdCase - getIdCase() { - return IdCase.forNumber( - idCase_); - } - - public static final int FILEID_FIELD_NUMBER = 1; - /** - *
- * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public boolean hasFileID() {
- return idCase_ == 1;
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileID getFileID() {
- if (idCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.FileID) id_;
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIDOrBuilder() {
- if (idCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.FileID) id_;
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
-
- public static final int CONTRACTID_FIELD_NUMBER = 2;
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public boolean hasContractID() {
- return idCase_ == 2;
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractID getContractID() {
- if (idCase_ == 2) {
- return (com.hederahashgraph.api.proto.java.ContractID) id_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder() {
- if (idCase_ == 2) {
- return (com.hederahashgraph.api.proto.java.ContractID) id_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
-
- 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 (idCase_ == 1) {
- output.writeMessage(1, (com.hederahashgraph.api.proto.java.FileID) id_);
- }
- if (idCase_ == 2) {
- output.writeMessage(2, (com.hederahashgraph.api.proto.java.ContractID) id_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (idCase_ == 1) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, (com.hederahashgraph.api.proto.java.FileID) id_);
- }
- if (idCase_ == 2) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, (com.hederahashgraph.api.proto.java.ContractID) id_);
- }
- 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.AdminUndeleteTransactionBody)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody other = (com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody) obj;
-
- boolean result = true;
- result = result && getIdCase().equals(
- other.getIdCase());
- if (!result) return false;
- switch (idCase_) {
- case 1:
- result = result && getFileID()
- .equals(other.getFileID());
- break;
- case 2:
- result = result && getContractID()
- .equals(other.getContractID());
- break;
- case 0:
- default:
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- switch (idCase_) {
- case 1:
- hash = (37 * hash) + FILEID_FIELD_NUMBER;
- hash = (53 * hash) + getFileID().hashCode();
- break;
- case 2:
- hash = (37 * hash) + CONTRACTID_FIELD_NUMBER;
- hash = (53 * hash) + getContractID().hashCode();
- break;
- case 0:
- default:
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody 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.AdminUndeleteTransactionBody parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody 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.AdminUndeleteTransactionBody parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody 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.AdminUndeleteTransactionBody parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody 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.AdminUndeleteTransactionBody parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody 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.AdminUndeleteTransactionBody 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.AdminUndeleteTransactionBody 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.AdminUndeleteTransactionBody 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;
- }
- /**
- * - * Undelete a file or smart contract that was deleted by AdminDelete - can only be done with a Hedera admin multisig. When it is deleted, it immediately disappears from the system as seen by the user, but is still stored internally until the expiration time, at which time it is truly and permanently deleted. Until that time, it can be undeleted by the Hedera admin multisig. When a smart contract is deleted, the cryptocurrency account within it continues to exist, and is not affected by the expiration time here. - *- * - * Protobuf type {@code proto.AdminUndeleteTransactionBody} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public boolean hasFileID() {
- return idCase_ == 1;
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileID getFileID() {
- if (fileIDBuilder_ == null) {
- if (idCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.FileID) id_;
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- } else {
- if (idCase_ == 1) {
- return fileIDBuilder_.getMessage();
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public Builder setFileID(com.hederahashgraph.api.proto.java.FileID value) {
- if (fileIDBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- id_ = value;
- onChanged();
- } else {
- fileIDBuilder_.setMessage(value);
- }
- idCase_ = 1;
- return this;
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public Builder setFileID(
- com.hederahashgraph.api.proto.java.FileID.Builder builderForValue) {
- if (fileIDBuilder_ == null) {
- id_ = builderForValue.build();
- onChanged();
- } else {
- fileIDBuilder_.setMessage(builderForValue.build());
- }
- idCase_ = 1;
- return this;
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public Builder mergeFileID(com.hederahashgraph.api.proto.java.FileID value) {
- if (fileIDBuilder_ == null) {
- if (idCase_ == 1 &&
- id_ != com.hederahashgraph.api.proto.java.FileID.getDefaultInstance()) {
- id_ = com.hederahashgraph.api.proto.java.FileID.newBuilder((com.hederahashgraph.api.proto.java.FileID) id_)
- .mergeFrom(value).buildPartial();
- } else {
- id_ = value;
- }
- onChanged();
- } else {
- if (idCase_ == 1) {
- fileIDBuilder_.mergeFrom(value);
- }
- fileIDBuilder_.setMessage(value);
- }
- idCase_ = 1;
- return this;
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public Builder clearFileID() {
- if (fileIDBuilder_ == null) {
- if (idCase_ == 1) {
- idCase_ = 0;
- id_ = null;
- onChanged();
- }
- } else {
- if (idCase_ == 1) {
- idCase_ = 0;
- id_ = null;
- }
- fileIDBuilder_.clear();
- }
- return this;
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileID.Builder getFileIDBuilder() {
- return getFileIDFieldBuilder().getBuilder();
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- public com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIDOrBuilder() {
- if ((idCase_ == 1) && (fileIDBuilder_ != null)) {
- return fileIDBuilder_.getMessageOrBuilder();
- } else {
- if (idCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.FileID) id_;
- }
- return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
- }
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder>
- getFileIDFieldBuilder() {
- if (fileIDBuilder_ == null) {
- if (!(idCase_ == 1)) {
- id_ = com.hederahashgraph.api.proto.java.FileID.getDefaultInstance();
- }
- fileIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder>(
- (com.hederahashgraph.api.proto.java.FileID) id_,
- getParentForChildren(),
- isClean());
- id_ = null;
- }
- idCase_ = 1;
- onChanged();;
- return fileIDBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder> contractIDBuilder_;
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public boolean hasContractID() {
- return idCase_ == 2;
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractID getContractID() {
- if (contractIDBuilder_ == null) {
- if (idCase_ == 2) {
- return (com.hederahashgraph.api.proto.java.ContractID) id_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- } else {
- if (idCase_ == 2) {
- return contractIDBuilder_.getMessage();
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public Builder setContractID(com.hederahashgraph.api.proto.java.ContractID value) {
- if (contractIDBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- id_ = value;
- onChanged();
- } else {
- contractIDBuilder_.setMessage(value);
- }
- idCase_ = 2;
- return this;
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public Builder setContractID(
- com.hederahashgraph.api.proto.java.ContractID.Builder builderForValue) {
- if (contractIDBuilder_ == null) {
- id_ = builderForValue.build();
- onChanged();
- } else {
- contractIDBuilder_.setMessage(builderForValue.build());
- }
- idCase_ = 2;
- return this;
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public Builder mergeContractID(com.hederahashgraph.api.proto.java.ContractID value) {
- if (contractIDBuilder_ == null) {
- if (idCase_ == 2 &&
- id_ != com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance()) {
- id_ = com.hederahashgraph.api.proto.java.ContractID.newBuilder((com.hederahashgraph.api.proto.java.ContractID) id_)
- .mergeFrom(value).buildPartial();
- } else {
- id_ = value;
- }
- onChanged();
- } else {
- if (idCase_ == 2) {
- contractIDBuilder_.mergeFrom(value);
- }
- contractIDBuilder_.setMessage(value);
- }
- idCase_ = 2;
- return this;
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public Builder clearContractID() {
- if (contractIDBuilder_ == null) {
- if (idCase_ == 2) {
- idCase_ = 0;
- id_ = null;
- onChanged();
- }
- } else {
- if (idCase_ == 2) {
- idCase_ = 0;
- id_ = null;
- }
- contractIDBuilder_.clear();
- }
- return this;
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractID.Builder getContractIDBuilder() {
- return getContractIDFieldBuilder().getBuilder();
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder() {
- if ((idCase_ == 2) && (contractIDBuilder_ != null)) {
- return contractIDBuilder_.getMessageOrBuilder();
- } else {
- if (idCase_ == 2) {
- return (com.hederahashgraph.api.proto.java.ContractID) id_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- }
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder>
- getContractIDFieldBuilder() {
- if (contractIDBuilder_ == null) {
- if (!(idCase_ == 2)) {
- id_ = com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- contractIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder>(
- (com.hederahashgraph.api.proto.java.ContractID) id_,
- getParentForChildren(),
- isClean());
- id_ = null;
- }
- idCase_ = 2;
- onChanged();;
- return contractIDBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.AdminUndeleteTransactionBody)
- }
-
- // @@protoc_insertion_point(class_scope:proto.AdminUndeleteTransactionBody)
- private static final com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody();
- }
-
- public static com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- boolean hasFileID();
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- com.hederahashgraph.api.proto.java.FileID getFileID();
- /**
- * - * the file to undelete, in the format used in transactions - *- * - *
.proto.FileID fileID = 1;
- */
- com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIDOrBuilder();
-
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- boolean hasContractID();
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- com.hederahashgraph.api.proto.java.ContractID getContractID();
- /**
- * - * the contract instance to undelete, in the format used in transactions - *- * - *
.proto.ContractID contractID = 2;
- */
- com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder();
-
- public com.hederahashgraph.api.proto.java.AdminUndeleteTransactionBody.IdCase getIdCase();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/BasicTypes.java b/target/generated-sources/com/hederahashgraph/api/proto/java/BasicTypes.java
deleted file mode 100644
index 9d58a0dba..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/BasicTypes.java
+++ /dev/null
@@ -1,304 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-public final class BasicTypes {
- private BasicTypes() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
-
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_ShardID_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_ShardID_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_RealmID_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_RealmID_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_AccountID_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_AccountID_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_FileID_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_FileID_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_ContractID_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_ContractID_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_TransactionID_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_TransactionID_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_Key_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_Key_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_ThresholdKey_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_ThresholdKey_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_KeyList_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_KeyList_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_Signature_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_Signature_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_ThresholdSignature_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_ThresholdSignature_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_SignatureList_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_SignatureList_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_FeeComponents_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_FeeComponents_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_TransactionFeeSchedule_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_TransactionFeeSchedule_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_FeeData_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_FeeData_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_FeeSchedule_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_FeeSchedule_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_NodeAddress_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_NodeAddress_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_proto_NodeAddressBook_descriptor;
- static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_proto_NodeAddressBook_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\020BasicTypes.proto\022\005proto\032\017Timestamp.pro" +
- "to\032\016Duration.proto\"\033\n\007ShardID\022\020\n\010shardNu" +
- "m\030\001 \001(\003\"-\n\007RealmID\022\020\n\010shardNum\030\001 \001(\003\022\020\n\010" +
- "realmNum\030\002 \001(\003\"C\n\tAccountID\022\020\n\010shardNum\030" +
- "\001 \001(\003\022\020\n\010realmNum\030\002 \001(\003\022\022\n\naccountNum\030\003 " +
- "\001(\003\"=\n\006FileID\022\020\n\010shardNum\030\001 \001(\003\022\020\n\010realm" +
- "Num\030\002 \001(\003\022\017\n\007fileNum\030\003 \001(\003\"E\n\nContractID" +
- "\022\020\n\010shardNum\030\001 \001(\003\022\020\n\010realmNum\030\002 \001(\003\022\023\n\013" +
- "contractNum\030\003 \001(\003\"e\n\rTransactionID\022#\n\tac" +
- "countID\030\002 \001(\0132\020.proto.AccountID\022/\n\025trans" +
- "actionValidStart\030\001 \001(\0132\020.proto.Timestamp" +
- "\"\301\001\n\003Key\022\'\n\ncontractID\030\001 \001(\0132\021.proto.Con" +
- "tractIDH\000\022\021\n\007ed25519\030\002 \001(\014H\000\022\022\n\010RSA_3072" +
- "\030\003 \001(\014H\000\022\023\n\tECDSA_384\030\004 \001(\014H\000\022+\n\014thresho" +
- "ldKey\030\005 \001(\0132\023.proto.ThresholdKeyH\000\022!\n\007ke" +
- "yList\030\006 \001(\0132\016.proto.KeyListH\000B\005\n\003key\"?\n\014" +
- "ThresholdKey\022\021\n\tthreshold\030\001 \001(\r\022\034\n\004keys\030" +
- "\002 \001(\0132\016.proto.KeyList\"#\n\007KeyList\022\030\n\004keys" +
- "\030\001 \003(\0132\n.proto.Key\"\320\001\n\tSignature\022\022\n\010cont" +
- "ract\030\001 \001(\014H\000\022\021\n\007ed25519\030\002 \001(\014H\000\022\022\n\010RSA_3" +
- "072\030\003 \001(\014H\000\022\023\n\tECDSA_384\030\004 \001(\014H\000\0227\n\022thre" +
- "sholdSignature\030\005 \001(\0132\031.proto.ThresholdSi" +
- "gnatureH\000\022-\n\rsignatureList\030\006 \001(\0132\024.proto" +
- ".SignatureListH\000B\013\n\tsignature\"8\n\022Thresho" +
- "ldSignature\022\"\n\004sigs\030\002 \001(\0132\024.proto.Signat" +
- "ureList\"/\n\rSignatureList\022\036\n\004sigs\030\002 \003(\0132\020" +
- ".proto.Signature\"\243\001\n\rFeeComponents\022\013\n\003mi" +
- "n\030\001 \001(\003\022\013\n\003max\030\002 \001(\003\022\020\n\010constant\030\003 \001(\003\022\013" +
- "\n\003bpt\030\004 \001(\003\022\013\n\003vpt\030\005 \001(\003\022\013\n\003rbs\030\006 \001(\003\022\013\n" +
- "\003sbs\030\007 \001(\003\022\013\n\003gas\030\010 \001(\003\022\n\n\002tv\030\t \001(\003\022\013\n\003b" +
- "pr\030\n \001(\003\022\014\n\004sbpr\030\013 \001(\003\"r\n\026TransactionFee" +
- "Schedule\0227\n\023hederaFunctionality\030\001 \001(\0162\032." +
- "proto.HederaFunctionality\022\037\n\007feeData\030\002 \001" +
- "(\0132\016.proto.FeeData\"\207\001\n\007FeeData\022&\n\010nodeda" +
- "ta\030\001 \001(\0132\024.proto.FeeComponents\022)\n\013networ" +
- "kdata\030\002 \001(\0132\024.proto.FeeComponents\022)\n\013ser" +
- "vicedata\030\003 \001(\0132\024.proto.FeeComponents\"\202\001\n" +
- "\013FeeSchedule\022=\n\026transactionFeeSchedule\030\001" +
- " \003(\0132\035.proto.TransactionFeeSchedule\0224\n\033f" +
- "eeScheduleValidityDuration\030\002 \001(\0132\017.proto" +
- ".Duration\">\n\013NodeAddress\022\021\n\tipAddress\030\001 " +
- "\001(\014\022\016\n\006portno\030\002 \001(\005\022\014\n\004memo\030\003 \001(\014\":\n\017Nod" +
- "eAddressBook\022\'\n\013nodeAddress\030\001 \003(\0132\022.prot" +
- "o.NodeAddress*\315\004\n\023HederaFunctionality\022\021\n" +
- "\rCryptoCreates\020\000\022\022\n\016CryptoTransfer\020\001\022\020\n\014" +
- "CryptoUpdate\020\002\022\020\n\014CryptoDelete\020\003\022\022\n\016Cryp" +
- "toAddClaim\020\004\022\024\n\020CryptoDeletClaim\020\005\022\020\n\014Co" +
- "ntractCall\020\006\022\022\n\016ContractCreate\020\007\022\022\n\016Cont" +
- "ractUpdate\020\010\022\016\n\nFileCreate\020\t\022\016\n\nFileAppe" +
- "nd\020\n\022\016\n\nFileUpdate\020\013\022\016\n\nFileDelete\020\014\022\033\n\027" +
- "CryptoGetAccountBalance\020\r\022\033\n\027CryptoGetAc" +
- "countRecords\020\016\022\021\n\rCryptoGetInfo\020\017\022\025\n\021Con" +
- "tractCallLocal\020\020\022\023\n\017ContractGetInfo\020\021\022\027\n" +
- "\023ContractGetBytecode\020\022\022\023\n\017GetBySolidityI" +
- "D\020\023\022\014\n\010GetByKey\020\024\022\022\n\016CryptoGetClaim\020\025\022\024\n" +
- "\020CryptoGetStakers\020\026\022\023\n\017FileGetContents\020\027" +
- "\022\017\n\013FileGetInfo\020\030\022\030\n\024TransactionGetRecor" +
- "d\020\031\022\026\n\022ContractGetRecords\020\032\022\020\n\014CryptoCre" +
- "ate\020\033B&\n\"com.hederahashgraph.api.proto.j" +
- "avaP\001b\006proto3"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.hederahashgraph.api.proto.java.TimestampOuterClass.getDescriptor(),
- com.hederahashgraph.api.proto.java.DurationOuterClass.getDescriptor(),
- }, assigner);
- internal_static_proto_ShardID_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_proto_ShardID_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_ShardID_descriptor,
- new java.lang.String[] { "ShardNum", });
- internal_static_proto_RealmID_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_proto_RealmID_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_RealmID_descriptor,
- new java.lang.String[] { "ShardNum", "RealmNum", });
- internal_static_proto_AccountID_descriptor =
- getDescriptor().getMessageTypes().get(2);
- internal_static_proto_AccountID_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_AccountID_descriptor,
- new java.lang.String[] { "ShardNum", "RealmNum", "AccountNum", });
- internal_static_proto_FileID_descriptor =
- getDescriptor().getMessageTypes().get(3);
- internal_static_proto_FileID_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_FileID_descriptor,
- new java.lang.String[] { "ShardNum", "RealmNum", "FileNum", });
- internal_static_proto_ContractID_descriptor =
- getDescriptor().getMessageTypes().get(4);
- internal_static_proto_ContractID_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_ContractID_descriptor,
- new java.lang.String[] { "ShardNum", "RealmNum", "ContractNum", });
- internal_static_proto_TransactionID_descriptor =
- getDescriptor().getMessageTypes().get(5);
- internal_static_proto_TransactionID_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_TransactionID_descriptor,
- new java.lang.String[] { "AccountID", "TransactionValidStart", });
- internal_static_proto_Key_descriptor =
- getDescriptor().getMessageTypes().get(6);
- internal_static_proto_Key_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_Key_descriptor,
- new java.lang.String[] { "ContractID", "Ed25519", "RSA3072", "ECDSA384", "ThresholdKey", "KeyList", "Key", });
- internal_static_proto_ThresholdKey_descriptor =
- getDescriptor().getMessageTypes().get(7);
- internal_static_proto_ThresholdKey_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_ThresholdKey_descriptor,
- new java.lang.String[] { "Threshold", "Keys", });
- internal_static_proto_KeyList_descriptor =
- getDescriptor().getMessageTypes().get(8);
- internal_static_proto_KeyList_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_KeyList_descriptor,
- new java.lang.String[] { "Keys", });
- internal_static_proto_Signature_descriptor =
- getDescriptor().getMessageTypes().get(9);
- internal_static_proto_Signature_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_Signature_descriptor,
- new java.lang.String[] { "Contract", "Ed25519", "RSA3072", "ECDSA384", "ThresholdSignature", "SignatureList", "Signature", });
- internal_static_proto_ThresholdSignature_descriptor =
- getDescriptor().getMessageTypes().get(10);
- internal_static_proto_ThresholdSignature_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_ThresholdSignature_descriptor,
- new java.lang.String[] { "Sigs", });
- internal_static_proto_SignatureList_descriptor =
- getDescriptor().getMessageTypes().get(11);
- internal_static_proto_SignatureList_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_SignatureList_descriptor,
- new java.lang.String[] { "Sigs", });
- internal_static_proto_FeeComponents_descriptor =
- getDescriptor().getMessageTypes().get(12);
- internal_static_proto_FeeComponents_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_FeeComponents_descriptor,
- new java.lang.String[] { "Min", "Max", "Constant", "Bpt", "Vpt", "Rbs", "Sbs", "Gas", "Tv", "Bpr", "Sbpr", });
- internal_static_proto_TransactionFeeSchedule_descriptor =
- getDescriptor().getMessageTypes().get(13);
- internal_static_proto_TransactionFeeSchedule_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_TransactionFeeSchedule_descriptor,
- new java.lang.String[] { "HederaFunctionality", "FeeData", });
- internal_static_proto_FeeData_descriptor =
- getDescriptor().getMessageTypes().get(14);
- internal_static_proto_FeeData_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_FeeData_descriptor,
- new java.lang.String[] { "Nodedata", "Networkdata", "Servicedata", });
- internal_static_proto_FeeSchedule_descriptor =
- getDescriptor().getMessageTypes().get(15);
- internal_static_proto_FeeSchedule_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_FeeSchedule_descriptor,
- new java.lang.String[] { "TransactionFeeSchedule", "FeeScheduleValidityDuration", });
- internal_static_proto_NodeAddress_descriptor =
- getDescriptor().getMessageTypes().get(16);
- internal_static_proto_NodeAddress_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_NodeAddress_descriptor,
- new java.lang.String[] { "IpAddress", "Portno", "Memo", });
- internal_static_proto_NodeAddressBook_descriptor =
- getDescriptor().getMessageTypes().get(17);
- internal_static_proto_NodeAddressBook_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_proto_NodeAddressBook_descriptor,
- new java.lang.String[] { "NodeAddress", });
- com.hederahashgraph.api.proto.java.TimestampOuterClass.getDescriptor();
- com.hederahashgraph.api.proto.java.DurationOuterClass.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/ContractID.java b/target/generated-sources/com/hederahashgraph/api/proto/java/ContractID.java
deleted file mode 100644
index 39134afa1..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/ContractID.java
+++ /dev/null
@@ -1,647 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * The ID for a smart contract instance - *- * - * Protobuf type {@code proto.ContractID} - */ -public final class ContractID extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.ContractID) - ContractIDOrBuilder { -private static final long serialVersionUID = 0L; - // Use ContractID.newBuilder() to construct. - private ContractID(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private ContractID() { - shardNum_ = 0L; - realmNum_ = 0L; - contractNum_ = 0L; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ContractID( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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 8: { - - shardNum_ = input.readInt64(); - break; - } - case 16: { - - realmNum_ = input.readInt64(); - break; - } - case 24: { - - contractNum_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_ContractID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_ContractID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.ContractID.class, com.hederahashgraph.api.proto.java.ContractID.Builder.class); - } - - public static final int SHARDNUM_FIELD_NUMBER = 1; - private long shardNum_; - /** - *
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
-
- public static final int REALMNUM_FIELD_NUMBER = 2;
- private long realmNum_;
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public long getRealmNum() {
- return realmNum_;
- }
-
- public static final int CONTRACTNUM_FIELD_NUMBER = 3;
- private long contractNum_;
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 contractNum = 3;
- */
- public long getContractNum() {
- return contractNum_;
- }
-
- 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 (shardNum_ != 0L) {
- output.writeInt64(1, shardNum_);
- }
- if (realmNum_ != 0L) {
- output.writeInt64(2, realmNum_);
- }
- if (contractNum_ != 0L) {
- output.writeInt64(3, contractNum_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (shardNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, shardNum_);
- }
- if (realmNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(2, realmNum_);
- }
- if (contractNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(3, contractNum_);
- }
- 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.ContractID)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.ContractID other = (com.hederahashgraph.api.proto.java.ContractID) obj;
-
- boolean result = true;
- result = result && (getShardNum()
- == other.getShardNum());
- result = result && (getRealmNum()
- == other.getRealmNum());
- result = result && (getContractNum()
- == other.getContractNum());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + SHARDNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getShardNum());
- hash = (37 * hash) + REALMNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getRealmNum());
- hash = (37 * hash) + CONTRACTNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getContractNum());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.ContractID parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ContractID 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.ContractID parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ContractID 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.ContractID parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ContractID 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.ContractID parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.ContractID 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.ContractID parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.ContractID 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.ContractID 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.ContractID 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.ContractID 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;
- }
- /**
- * - * The ID for a smart contract instance - *- * - * Protobuf type {@code proto.ContractID} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder setShardNum(long value) {
-
- shardNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder clearShardNum() {
-
- shardNum_ = 0L;
- onChanged();
- return this;
- }
-
- private long realmNum_ ;
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public long getRealmNum() {
- return realmNum_;
- }
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public Builder setRealmNum(long value) {
-
- realmNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public Builder clearRealmNum() {
-
- realmNum_ = 0L;
- onChanged();
- return this;
- }
-
- private long contractNum_ ;
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 contractNum = 3;
- */
- public long getContractNum() {
- return contractNum_;
- }
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 contractNum = 3;
- */
- public Builder setContractNum(long value) {
-
- contractNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 contractNum = 3;
- */
- public Builder clearContractNum() {
-
- contractNum_ = 0L;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.ContractID)
- }
-
- // @@protoc_insertion_point(class_scope:proto.ContractID)
- private static final com.hederahashgraph.api.proto.java.ContractID DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.ContractID();
- }
-
- public static com.hederahashgraph.api.proto.java.ContractID getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- long getShardNum();
-
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- long getRealmNum();
-
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 contractNum = 3;
- */
- long getContractNum();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/FeeComponents.java b/target/generated-sources/com/hederahashgraph/api/proto/java/FeeComponents.java
deleted file mode 100644
index ac378f0cb..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/FeeComponents.java
+++ /dev/null
@@ -1,1239 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * Protobuf type {@code proto.FeeComponents}
- */
-public final class FeeComponents extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:proto.FeeComponents)
- FeeComponentsOrBuilder {
-private static final long serialVersionUID = 0L;
- // Use FeeComponents.newBuilder() to construct.
- private FeeComponents(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private FeeComponents() {
- min_ = 0L;
- max_ = 0L;
- constant_ = 0L;
- bpt_ = 0L;
- vpt_ = 0L;
- rbs_ = 0L;
- sbs_ = 0L;
- gas_ = 0L;
- tv_ = 0L;
- bpr_ = 0L;
- sbpr_ = 0L;
- }
-
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private FeeComponents(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- int mutable_bitField0_ = 0;
- 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 8: {
-
- min_ = input.readInt64();
- break;
- }
- case 16: {
-
- max_ = input.readInt64();
- break;
- }
- case 24: {
-
- constant_ = input.readInt64();
- break;
- }
- case 32: {
-
- bpt_ = input.readInt64();
- break;
- }
- case 40: {
-
- vpt_ = input.readInt64();
- break;
- }
- case 48: {
-
- rbs_ = input.readInt64();
- break;
- }
- case 56: {
-
- sbs_ = input.readInt64();
- break;
- }
- case 64: {
-
- gas_ = input.readInt64();
- break;
- }
- case 72: {
-
- tv_ = input.readInt64();
- break;
- }
- case 80: {
-
- bpr_ = input.readInt64();
- break;
- }
- case 88: {
-
- sbpr_ = input.readInt64();
- break;
- }
- default: {
- if (!parseUnknownFieldProto3(
- 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.BasicTypes.internal_static_proto_FeeComponents_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_FeeComponents_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.hederahashgraph.api.proto.java.FeeComponents.class, com.hederahashgraph.api.proto.java.FeeComponents.Builder.class);
- }
-
- public static final int MIN_FIELD_NUMBER = 1;
- private long min_;
- /**
- * - * the minimum fees that needs to be paid - *- * - *
int64 min = 1;
- */
- public long getMin() {
- return min_;
- }
-
- public static final int MAX_FIELD_NUMBER = 2;
- private long max_;
- /**
- * - * the maximum fees that can be submitted - *- * - *
int64 max = 2;
- */
- public long getMax() {
- return max_;
- }
-
- public static final int CONSTANT_FIELD_NUMBER = 3;
- private long constant_;
- /**
- * - * a constant determined by the business to calculate the fees - *- * - *
int64 constant = 3;
- */
- public long getConstant() {
- return constant_;
- }
-
- public static final int BPT_FIELD_NUMBER = 4;
- private long bpt_;
- /**
- * - * bytes per transaction - *- * - *
int64 bpt = 4;
- */
- public long getBpt() {
- return bpt_;
- }
-
- public static final int VPT_FIELD_NUMBER = 5;
- private long vpt_;
- /**
- * - * verifications per transaction - *- * - *
int64 vpt = 5;
- */
- public long getVpt() {
- return vpt_;
- }
-
- public static final int RBS_FIELD_NUMBER = 6;
- private long rbs_;
- /**
- * - * ram byte seconds - *- * - *
int64 rbs = 6;
- */
- public long getRbs() {
- return rbs_;
- }
-
- public static final int SBS_FIELD_NUMBER = 7;
- private long sbs_;
- /**
- * - * storage byte seconds - *- * - *
int64 sbs = 7;
- */
- public long getSbs() {
- return sbs_;
- }
-
- public static final int GAS_FIELD_NUMBER = 8;
- private long gas_;
- /**
- * - * ethereum gas - *- * - *
int64 gas = 8;
- */
- public long getGas() {
- return gas_;
- }
-
- public static final int TV_FIELD_NUMBER = 9;
- private long tv_;
- /**
- * - * transaction value (crypto transfers amount, tv is in tiny bars divided by 1000, rounded down) - *- * - *
int64 tv = 9;
- */
- public long getTv() {
- return tv_;
- }
-
- public static final int BPR_FIELD_NUMBER = 10;
- private long bpr_;
- /**
- * - * bytes per response - *- * - *
int64 bpr = 10;
- */
- public long getBpr() {
- return bpr_;
- }
-
- public static final int SBPR_FIELD_NUMBER = 11;
- private long sbpr_;
- /**
- * - * storage bytes per response - *- * - *
int64 sbpr = 11;
- */
- public long getSbpr() {
- return sbpr_;
- }
-
- 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 (min_ != 0L) {
- output.writeInt64(1, min_);
- }
- if (max_ != 0L) {
- output.writeInt64(2, max_);
- }
- if (constant_ != 0L) {
- output.writeInt64(3, constant_);
- }
- if (bpt_ != 0L) {
- output.writeInt64(4, bpt_);
- }
- if (vpt_ != 0L) {
- output.writeInt64(5, vpt_);
- }
- if (rbs_ != 0L) {
- output.writeInt64(6, rbs_);
- }
- if (sbs_ != 0L) {
- output.writeInt64(7, sbs_);
- }
- if (gas_ != 0L) {
- output.writeInt64(8, gas_);
- }
- if (tv_ != 0L) {
- output.writeInt64(9, tv_);
- }
- if (bpr_ != 0L) {
- output.writeInt64(10, bpr_);
- }
- if (sbpr_ != 0L) {
- output.writeInt64(11, sbpr_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (min_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, min_);
- }
- if (max_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(2, max_);
- }
- if (constant_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(3, constant_);
- }
- if (bpt_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(4, bpt_);
- }
- if (vpt_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(5, vpt_);
- }
- if (rbs_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(6, rbs_);
- }
- if (sbs_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(7, sbs_);
- }
- if (gas_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(8, gas_);
- }
- if (tv_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(9, tv_);
- }
- if (bpr_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(10, bpr_);
- }
- if (sbpr_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(11, sbpr_);
- }
- 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.FeeComponents)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.FeeComponents other = (com.hederahashgraph.api.proto.java.FeeComponents) obj;
-
- boolean result = true;
- result = result && (getMin()
- == other.getMin());
- result = result && (getMax()
- == other.getMax());
- result = result && (getConstant()
- == other.getConstant());
- result = result && (getBpt()
- == other.getBpt());
- result = result && (getVpt()
- == other.getVpt());
- result = result && (getRbs()
- == other.getRbs());
- result = result && (getSbs()
- == other.getSbs());
- result = result && (getGas()
- == other.getGas());
- result = result && (getTv()
- == other.getTv());
- result = result && (getBpr()
- == other.getBpr());
- result = result && (getSbpr()
- == other.getSbpr());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + MIN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getMin());
- hash = (37 * hash) + MAX_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getMax());
- hash = (37 * hash) + CONSTANT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getConstant());
- hash = (37 * hash) + BPT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getBpt());
- hash = (37 * hash) + VPT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getVpt());
- hash = (37 * hash) + RBS_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getRbs());
- hash = (37 * hash) + SBS_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getSbs());
- hash = (37 * hash) + GAS_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getGas());
- hash = (37 * hash) + TV_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getTv());
- hash = (37 * hash) + BPR_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getBpr());
- hash = (37 * hash) + SBPR_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getSbpr());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.FeeComponents parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FeeComponents 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.FeeComponents parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FeeComponents 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.FeeComponents parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FeeComponents 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.FeeComponents parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.FeeComponents 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.FeeComponents parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.FeeComponents 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.FeeComponents 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.FeeComponents 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.FeeComponents prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code proto.FeeComponents}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder- * the minimum fees that needs to be paid - *- * - *
int64 min = 1;
- */
- public long getMin() {
- return min_;
- }
- /**
- * - * the minimum fees that needs to be paid - *- * - *
int64 min = 1;
- */
- public Builder setMin(long value) {
-
- min_ = value;
- onChanged();
- return this;
- }
- /**
- * - * the minimum fees that needs to be paid - *- * - *
int64 min = 1;
- */
- public Builder clearMin() {
-
- min_ = 0L;
- onChanged();
- return this;
- }
-
- private long max_ ;
- /**
- * - * the maximum fees that can be submitted - *- * - *
int64 max = 2;
- */
- public long getMax() {
- return max_;
- }
- /**
- * - * the maximum fees that can be submitted - *- * - *
int64 max = 2;
- */
- public Builder setMax(long value) {
-
- max_ = value;
- onChanged();
- return this;
- }
- /**
- * - * the maximum fees that can be submitted - *- * - *
int64 max = 2;
- */
- public Builder clearMax() {
-
- max_ = 0L;
- onChanged();
- return this;
- }
-
- private long constant_ ;
- /**
- * - * a constant determined by the business to calculate the fees - *- * - *
int64 constant = 3;
- */
- public long getConstant() {
- return constant_;
- }
- /**
- * - * a constant determined by the business to calculate the fees - *- * - *
int64 constant = 3;
- */
- public Builder setConstant(long value) {
-
- constant_ = value;
- onChanged();
- return this;
- }
- /**
- * - * a constant determined by the business to calculate the fees - *- * - *
int64 constant = 3;
- */
- public Builder clearConstant() {
-
- constant_ = 0L;
- onChanged();
- return this;
- }
-
- private long bpt_ ;
- /**
- * - * bytes per transaction - *- * - *
int64 bpt = 4;
- */
- public long getBpt() {
- return bpt_;
- }
- /**
- * - * bytes per transaction - *- * - *
int64 bpt = 4;
- */
- public Builder setBpt(long value) {
-
- bpt_ = value;
- onChanged();
- return this;
- }
- /**
- * - * bytes per transaction - *- * - *
int64 bpt = 4;
- */
- public Builder clearBpt() {
-
- bpt_ = 0L;
- onChanged();
- return this;
- }
-
- private long vpt_ ;
- /**
- * - * verifications per transaction - *- * - *
int64 vpt = 5;
- */
- public long getVpt() {
- return vpt_;
- }
- /**
- * - * verifications per transaction - *- * - *
int64 vpt = 5;
- */
- public Builder setVpt(long value) {
-
- vpt_ = value;
- onChanged();
- return this;
- }
- /**
- * - * verifications per transaction - *- * - *
int64 vpt = 5;
- */
- public Builder clearVpt() {
-
- vpt_ = 0L;
- onChanged();
- return this;
- }
-
- private long rbs_ ;
- /**
- * - * ram byte seconds - *- * - *
int64 rbs = 6;
- */
- public long getRbs() {
- return rbs_;
- }
- /**
- * - * ram byte seconds - *- * - *
int64 rbs = 6;
- */
- public Builder setRbs(long value) {
-
- rbs_ = value;
- onChanged();
- return this;
- }
- /**
- * - * ram byte seconds - *- * - *
int64 rbs = 6;
- */
- public Builder clearRbs() {
-
- rbs_ = 0L;
- onChanged();
- return this;
- }
-
- private long sbs_ ;
- /**
- * - * storage byte seconds - *- * - *
int64 sbs = 7;
- */
- public long getSbs() {
- return sbs_;
- }
- /**
- * - * storage byte seconds - *- * - *
int64 sbs = 7;
- */
- public Builder setSbs(long value) {
-
- sbs_ = value;
- onChanged();
- return this;
- }
- /**
- * - * storage byte seconds - *- * - *
int64 sbs = 7;
- */
- public Builder clearSbs() {
-
- sbs_ = 0L;
- onChanged();
- return this;
- }
-
- private long gas_ ;
- /**
- * - * ethereum gas - *- * - *
int64 gas = 8;
- */
- public long getGas() {
- return gas_;
- }
- /**
- * - * ethereum gas - *- * - *
int64 gas = 8;
- */
- public Builder setGas(long value) {
-
- gas_ = value;
- onChanged();
- return this;
- }
- /**
- * - * ethereum gas - *- * - *
int64 gas = 8;
- */
- public Builder clearGas() {
-
- gas_ = 0L;
- onChanged();
- return this;
- }
-
- private long tv_ ;
- /**
- * - * transaction value (crypto transfers amount, tv is in tiny bars divided by 1000, rounded down) - *- * - *
int64 tv = 9;
- */
- public long getTv() {
- return tv_;
- }
- /**
- * - * transaction value (crypto transfers amount, tv is in tiny bars divided by 1000, rounded down) - *- * - *
int64 tv = 9;
- */
- public Builder setTv(long value) {
-
- tv_ = value;
- onChanged();
- return this;
- }
- /**
- * - * transaction value (crypto transfers amount, tv is in tiny bars divided by 1000, rounded down) - *- * - *
int64 tv = 9;
- */
- public Builder clearTv() {
-
- tv_ = 0L;
- onChanged();
- return this;
- }
-
- private long bpr_ ;
- /**
- * - * bytes per response - *- * - *
int64 bpr = 10;
- */
- public long getBpr() {
- return bpr_;
- }
- /**
- * - * bytes per response - *- * - *
int64 bpr = 10;
- */
- public Builder setBpr(long value) {
-
- bpr_ = value;
- onChanged();
- return this;
- }
- /**
- * - * bytes per response - *- * - *
int64 bpr = 10;
- */
- public Builder clearBpr() {
-
- bpr_ = 0L;
- onChanged();
- return this;
- }
-
- private long sbpr_ ;
- /**
- * - * storage bytes per response - *- * - *
int64 sbpr = 11;
- */
- public long getSbpr() {
- return sbpr_;
- }
- /**
- * - * storage bytes per response - *- * - *
int64 sbpr = 11;
- */
- public Builder setSbpr(long value) {
-
- sbpr_ = value;
- onChanged();
- return this;
- }
- /**
- * - * storage bytes per response - *- * - *
int64 sbpr = 11;
- */
- public Builder clearSbpr() {
-
- sbpr_ = 0L;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.FeeComponents)
- }
-
- // @@protoc_insertion_point(class_scope:proto.FeeComponents)
- private static final com.hederahashgraph.api.proto.java.FeeComponents DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.FeeComponents();
- }
-
- public static com.hederahashgraph.api.proto.java.FeeComponents getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * the minimum fees that needs to be paid - *- * - *
int64 min = 1;
- */
- long getMin();
-
- /**
- * - * the maximum fees that can be submitted - *- * - *
int64 max = 2;
- */
- long getMax();
-
- /**
- * - * a constant determined by the business to calculate the fees - *- * - *
int64 constant = 3;
- */
- long getConstant();
-
- /**
- * - * bytes per transaction - *- * - *
int64 bpt = 4;
- */
- long getBpt();
-
- /**
- * - * verifications per transaction - *- * - *
int64 vpt = 5;
- */
- long getVpt();
-
- /**
- * - * ram byte seconds - *- * - *
int64 rbs = 6;
- */
- long getRbs();
-
- /**
- * - * storage byte seconds - *- * - *
int64 sbs = 7;
- */
- long getSbs();
-
- /**
- * - * ethereum gas - *- * - *
int64 gas = 8;
- */
- long getGas();
-
- /**
- * - * transaction value (crypto transfers amount, tv is in tiny bars divided by 1000, rounded down) - *- * - *
int64 tv = 9;
- */
- long getTv();
-
- /**
- * - * bytes per response - *- * - *
int64 bpr = 10;
- */
- long getBpr();
-
- /**
- * - * storage bytes per response - *- * - *
int64 sbpr = 11;
- */
- long getSbpr();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/FeeData.java b/target/generated-sources/com/hederahashgraph/api/proto/java/FeeData.java
deleted file mode 100644
index ef9d69029..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/FeeData.java
+++ /dev/null
@@ -1,1109 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * The total fees charged for a trasansaction. It contains three parts namely nodedata, networkdata and servicedata - *- * - * Protobuf type {@code proto.FeeData} - */ -public final class FeeData extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.FeeData) - FeeDataOrBuilder { -private static final long serialVersionUID = 0L; - // Use FeeData.newBuilder() to construct. - private FeeData(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private FeeData() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private FeeData( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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.FeeComponents.Builder subBuilder = null; - if (nodedata_ != null) { - subBuilder = nodedata_.toBuilder(); - } - nodedata_ = input.readMessage(com.hederahashgraph.api.proto.java.FeeComponents.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(nodedata_); - nodedata_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.hederahashgraph.api.proto.java.FeeComponents.Builder subBuilder = null; - if (networkdata_ != null) { - subBuilder = networkdata_.toBuilder(); - } - networkdata_ = input.readMessage(com.hederahashgraph.api.proto.java.FeeComponents.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(networkdata_); - networkdata_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - com.hederahashgraph.api.proto.java.FeeComponents.Builder subBuilder = null; - if (servicedata_ != null) { - subBuilder = servicedata_.toBuilder(); - } - servicedata_ = input.readMessage(com.hederahashgraph.api.proto.java.FeeComponents.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(servicedata_); - servicedata_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_FeeData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_FeeData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.FeeData.class, com.hederahashgraph.api.proto.java.FeeData.Builder.class); - } - - public static final int NODEDATA_FIELD_NUMBER = 1; - private com.hederahashgraph.api.proto.java.FeeComponents nodedata_; - /** - *
- * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public boolean hasNodedata() {
- return nodedata_ != null;
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public com.hederahashgraph.api.proto.java.FeeComponents getNodedata() {
- return nodedata_ == null ? com.hederahashgraph.api.proto.java.FeeComponents.getDefaultInstance() : nodedata_;
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder getNodedataOrBuilder() {
- return getNodedata();
- }
-
- public static final int NETWORKDATA_FIELD_NUMBER = 2;
- private com.hederahashgraph.api.proto.java.FeeComponents networkdata_;
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public boolean hasNetworkdata() {
- return networkdata_ != null;
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeComponents getNetworkdata() {
- return networkdata_ == null ? com.hederahashgraph.api.proto.java.FeeComponents.getDefaultInstance() : networkdata_;
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder getNetworkdataOrBuilder() {
- return getNetworkdata();
- }
-
- public static final int SERVICEDATA_FIELD_NUMBER = 3;
- private com.hederahashgraph.api.proto.java.FeeComponents servicedata_;
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public boolean hasServicedata() {
- return servicedata_ != null;
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public com.hederahashgraph.api.proto.java.FeeComponents getServicedata() {
- return servicedata_ == null ? com.hederahashgraph.api.proto.java.FeeComponents.getDefaultInstance() : servicedata_;
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder getServicedataOrBuilder() {
- return getServicedata();
- }
-
- 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 (nodedata_ != null) {
- output.writeMessage(1, getNodedata());
- }
- if (networkdata_ != null) {
- output.writeMessage(2, getNetworkdata());
- }
- if (servicedata_ != null) {
- output.writeMessage(3, getServicedata());
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (nodedata_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getNodedata());
- }
- if (networkdata_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getNetworkdata());
- }
- if (servicedata_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getServicedata());
- }
- 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.FeeData)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.FeeData other = (com.hederahashgraph.api.proto.java.FeeData) obj;
-
- boolean result = true;
- result = result && (hasNodedata() == other.hasNodedata());
- if (hasNodedata()) {
- result = result && getNodedata()
- .equals(other.getNodedata());
- }
- result = result && (hasNetworkdata() == other.hasNetworkdata());
- if (hasNetworkdata()) {
- result = result && getNetworkdata()
- .equals(other.getNetworkdata());
- }
- result = result && (hasServicedata() == other.hasServicedata());
- if (hasServicedata()) {
- result = result && getServicedata()
- .equals(other.getServicedata());
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasNodedata()) {
- hash = (37 * hash) + NODEDATA_FIELD_NUMBER;
- hash = (53 * hash) + getNodedata().hashCode();
- }
- if (hasNetworkdata()) {
- hash = (37 * hash) + NETWORKDATA_FIELD_NUMBER;
- hash = (53 * hash) + getNetworkdata().hashCode();
- }
- if (hasServicedata()) {
- hash = (37 * hash) + SERVICEDATA_FIELD_NUMBER;
- hash = (53 * hash) + getServicedata().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.FeeData parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FeeData 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.FeeData parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FeeData 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.FeeData parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FeeData 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.FeeData parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.FeeData 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.FeeData parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.FeeData 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.FeeData 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.FeeData 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.FeeData 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;
- }
- /**
- * - * The total fees charged for a trasansaction. It contains three parts namely nodedata, networkdata and servicedata - *- * - * Protobuf type {@code proto.FeeData} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public boolean hasNodedata() {
- return nodedataBuilder_ != null || nodedata_ != null;
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public com.hederahashgraph.api.proto.java.FeeComponents getNodedata() {
- if (nodedataBuilder_ == null) {
- return nodedata_ == null ? com.hederahashgraph.api.proto.java.FeeComponents.getDefaultInstance() : nodedata_;
- } else {
- return nodedataBuilder_.getMessage();
- }
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public Builder setNodedata(com.hederahashgraph.api.proto.java.FeeComponents value) {
- if (nodedataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- nodedata_ = value;
- onChanged();
- } else {
- nodedataBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public Builder setNodedata(
- com.hederahashgraph.api.proto.java.FeeComponents.Builder builderForValue) {
- if (nodedataBuilder_ == null) {
- nodedata_ = builderForValue.build();
- onChanged();
- } else {
- nodedataBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public Builder mergeNodedata(com.hederahashgraph.api.proto.java.FeeComponents value) {
- if (nodedataBuilder_ == null) {
- if (nodedata_ != null) {
- nodedata_ =
- com.hederahashgraph.api.proto.java.FeeComponents.newBuilder(nodedata_).mergeFrom(value).buildPartial();
- } else {
- nodedata_ = value;
- }
- onChanged();
- } else {
- nodedataBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public Builder clearNodedata() {
- if (nodedataBuilder_ == null) {
- nodedata_ = null;
- onChanged();
- } else {
- nodedata_ = null;
- nodedataBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public com.hederahashgraph.api.proto.java.FeeComponents.Builder getNodedataBuilder() {
-
- onChanged();
- return getNodedataFieldBuilder().getBuilder();
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- public com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder getNodedataOrBuilder() {
- if (nodedataBuilder_ != null) {
- return nodedataBuilder_.getMessageOrBuilder();
- } else {
- return nodedata_ == null ?
- com.hederahashgraph.api.proto.java.FeeComponents.getDefaultInstance() : nodedata_;
- }
- }
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeComponents, com.hederahashgraph.api.proto.java.FeeComponents.Builder, com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder>
- getNodedataFieldBuilder() {
- if (nodedataBuilder_ == null) {
- nodedataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeComponents, com.hederahashgraph.api.proto.java.FeeComponents.Builder, com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder>(
- getNodedata(),
- getParentForChildren(),
- isClean());
- nodedata_ = null;
- }
- return nodedataBuilder_;
- }
-
- private com.hederahashgraph.api.proto.java.FeeComponents networkdata_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeComponents, com.hederahashgraph.api.proto.java.FeeComponents.Builder, com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder> networkdataBuilder_;
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public boolean hasNetworkdata() {
- return networkdataBuilder_ != null || networkdata_ != null;
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeComponents getNetworkdata() {
- if (networkdataBuilder_ == null) {
- return networkdata_ == null ? com.hederahashgraph.api.proto.java.FeeComponents.getDefaultInstance() : networkdata_;
- } else {
- return networkdataBuilder_.getMessage();
- }
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public Builder setNetworkdata(com.hederahashgraph.api.proto.java.FeeComponents value) {
- if (networkdataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- networkdata_ = value;
- onChanged();
- } else {
- networkdataBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public Builder setNetworkdata(
- com.hederahashgraph.api.proto.java.FeeComponents.Builder builderForValue) {
- if (networkdataBuilder_ == null) {
- networkdata_ = builderForValue.build();
- onChanged();
- } else {
- networkdataBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public Builder mergeNetworkdata(com.hederahashgraph.api.proto.java.FeeComponents value) {
- if (networkdataBuilder_ == null) {
- if (networkdata_ != null) {
- networkdata_ =
- com.hederahashgraph.api.proto.java.FeeComponents.newBuilder(networkdata_).mergeFrom(value).buildPartial();
- } else {
- networkdata_ = value;
- }
- onChanged();
- } else {
- networkdataBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public Builder clearNetworkdata() {
- if (networkdataBuilder_ == null) {
- networkdata_ = null;
- onChanged();
- } else {
- networkdata_ = null;
- networkdataBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeComponents.Builder getNetworkdataBuilder() {
-
- onChanged();
- return getNetworkdataFieldBuilder().getBuilder();
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder getNetworkdataOrBuilder() {
- if (networkdataBuilder_ != null) {
- return networkdataBuilder_.getMessageOrBuilder();
- } else {
- return networkdata_ == null ?
- com.hederahashgraph.api.proto.java.FeeComponents.getDefaultInstance() : networkdata_;
- }
- }
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeComponents, com.hederahashgraph.api.proto.java.FeeComponents.Builder, com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder>
- getNetworkdataFieldBuilder() {
- if (networkdataBuilder_ == null) {
- networkdataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeComponents, com.hederahashgraph.api.proto.java.FeeComponents.Builder, com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder>(
- getNetworkdata(),
- getParentForChildren(),
- isClean());
- networkdata_ = null;
- }
- return networkdataBuilder_;
- }
-
- private com.hederahashgraph.api.proto.java.FeeComponents servicedata_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeComponents, com.hederahashgraph.api.proto.java.FeeComponents.Builder, com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder> servicedataBuilder_;
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public boolean hasServicedata() {
- return servicedataBuilder_ != null || servicedata_ != null;
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public com.hederahashgraph.api.proto.java.FeeComponents getServicedata() {
- if (servicedataBuilder_ == null) {
- return servicedata_ == null ? com.hederahashgraph.api.proto.java.FeeComponents.getDefaultInstance() : servicedata_;
- } else {
- return servicedataBuilder_.getMessage();
- }
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public Builder setServicedata(com.hederahashgraph.api.proto.java.FeeComponents value) {
- if (servicedataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- servicedata_ = value;
- onChanged();
- } else {
- servicedataBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public Builder setServicedata(
- com.hederahashgraph.api.proto.java.FeeComponents.Builder builderForValue) {
- if (servicedataBuilder_ == null) {
- servicedata_ = builderForValue.build();
- onChanged();
- } else {
- servicedataBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public Builder mergeServicedata(com.hederahashgraph.api.proto.java.FeeComponents value) {
- if (servicedataBuilder_ == null) {
- if (servicedata_ != null) {
- servicedata_ =
- com.hederahashgraph.api.proto.java.FeeComponents.newBuilder(servicedata_).mergeFrom(value).buildPartial();
- } else {
- servicedata_ = value;
- }
- onChanged();
- } else {
- servicedataBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public Builder clearServicedata() {
- if (servicedataBuilder_ == null) {
- servicedata_ = null;
- onChanged();
- } else {
- servicedata_ = null;
- servicedataBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public com.hederahashgraph.api.proto.java.FeeComponents.Builder getServicedataBuilder() {
-
- onChanged();
- return getServicedataFieldBuilder().getBuilder();
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- public com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder getServicedataOrBuilder() {
- if (servicedataBuilder_ != null) {
- return servicedataBuilder_.getMessageOrBuilder();
- } else {
- return servicedata_ == null ?
- com.hederahashgraph.api.proto.java.FeeComponents.getDefaultInstance() : servicedata_;
- }
- }
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeComponents, com.hederahashgraph.api.proto.java.FeeComponents.Builder, com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder>
- getServicedataFieldBuilder() {
- if (servicedataBuilder_ == null) {
- servicedataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeComponents, com.hederahashgraph.api.proto.java.FeeComponents.Builder, com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder>(
- getServicedata(),
- getParentForChildren(),
- isClean());
- servicedata_ = null;
- }
- return servicedataBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.FeeData)
- }
-
- // @@protoc_insertion_point(class_scope:proto.FeeData)
- private static final com.hederahashgraph.api.proto.java.FeeData DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.FeeData();
- }
-
- public static com.hederahashgraph.api.proto.java.FeeData getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- boolean hasNodedata();
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- com.hederahashgraph.api.proto.java.FeeComponents getNodedata();
- /**
- * - * Fee charged by Node for this functionality - *- * - *
.proto.FeeComponents nodedata = 1;
- */
- com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder getNodedataOrBuilder();
-
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- boolean hasNetworkdata();
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- com.hederahashgraph.api.proto.java.FeeComponents getNetworkdata();
- /**
- * - * Fee charged for network operations by Hedera - *- * - *
.proto.FeeComponents networkdata = 2;
- */
- com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder getNetworkdataOrBuilder();
-
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- boolean hasServicedata();
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- com.hederahashgraph.api.proto.java.FeeComponents getServicedata();
- /**
- * - * Fee charged for provding service by Hedera - *- * - *
.proto.FeeComponents servicedata = 3;
- */
- com.hederahashgraph.api.proto.java.FeeComponentsOrBuilder getServicedataOrBuilder();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/FeeSchedule.java b/target/generated-sources/com/hederahashgraph/api/proto/java/FeeSchedule.java
deleted file mode 100644
index 17442f7b5..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/FeeSchedule.java
+++ /dev/null
@@ -1,999 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * The fee schedule for a specific hedera functionality and the time period this fee will be valid for the transaction - *- * - * Protobuf type {@code proto.FeeSchedule} - */ -public final class FeeSchedule extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.FeeSchedule) - FeeScheduleOrBuilder { -private static final long serialVersionUID = 0L; - // Use FeeSchedule.newBuilder() to construct. - private FeeSchedule(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private FeeSchedule() { - transactionFeeSchedule_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private FeeSchedule( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - transactionFeeSchedule_ = new java.util.ArrayList
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public java.util.Listrepeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public java.util.List extends com.hederahashgraph.api.proto.java.TransactionFeeScheduleOrBuilder>
- getTransactionFeeScheduleOrBuilderList() {
- return transactionFeeSchedule_;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public int getTransactionFeeScheduleCount() {
- return transactionFeeSchedule_.size();
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public com.hederahashgraph.api.proto.java.TransactionFeeSchedule getTransactionFeeSchedule(int index) {
- return transactionFeeSchedule_.get(index);
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public com.hederahashgraph.api.proto.java.TransactionFeeScheduleOrBuilder getTransactionFeeScheduleOrBuilder(
- int index) {
- return transactionFeeSchedule_.get(index);
- }
-
- public static final int FEESCHEDULEVALIDITYDURATION_FIELD_NUMBER = 2;
- private com.hederahashgraph.api.proto.java.Duration feeScheduleValidityDuration_;
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public boolean hasFeeScheduleValidityDuration() {
- return feeScheduleValidityDuration_ != null;
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public com.hederahashgraph.api.proto.java.Duration getFeeScheduleValidityDuration() {
- return feeScheduleValidityDuration_ == null ? com.hederahashgraph.api.proto.java.Duration.getDefaultInstance() : feeScheduleValidityDuration_;
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public com.hederahashgraph.api.proto.java.DurationOrBuilder getFeeScheduleValidityDurationOrBuilder() {
- return getFeeScheduleValidityDuration();
- }
-
- 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 {
- for (int i = 0; i < transactionFeeSchedule_.size(); i++) {
- output.writeMessage(1, transactionFeeSchedule_.get(i));
- }
- if (feeScheduleValidityDuration_ != null) {
- output.writeMessage(2, getFeeScheduleValidityDuration());
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < transactionFeeSchedule_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, transactionFeeSchedule_.get(i));
- }
- if (feeScheduleValidityDuration_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getFeeScheduleValidityDuration());
- }
- 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.FeeSchedule)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.FeeSchedule other = (com.hederahashgraph.api.proto.java.FeeSchedule) obj;
-
- boolean result = true;
- result = result && getTransactionFeeScheduleList()
- .equals(other.getTransactionFeeScheduleList());
- result = result && (hasFeeScheduleValidityDuration() == other.hasFeeScheduleValidityDuration());
- if (hasFeeScheduleValidityDuration()) {
- result = result && getFeeScheduleValidityDuration()
- .equals(other.getFeeScheduleValidityDuration());
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (getTransactionFeeScheduleCount() > 0) {
- hash = (37 * hash) + TRANSACTIONFEESCHEDULE_FIELD_NUMBER;
- hash = (53 * hash) + getTransactionFeeScheduleList().hashCode();
- }
- if (hasFeeScheduleValidityDuration()) {
- hash = (37 * hash) + FEESCHEDULEVALIDITYDURATION_FIELD_NUMBER;
- hash = (53 * hash) + getFeeScheduleValidityDuration().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.FeeSchedule parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FeeSchedule 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.FeeSchedule parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FeeSchedule 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.FeeSchedule parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FeeSchedule 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.FeeSchedule parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.FeeSchedule 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.FeeSchedule parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.FeeSchedule 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.FeeSchedule 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.FeeSchedule 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.FeeSchedule 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;
- }
- /**
- * - * The fee schedule for a specific hedera functionality and the time period this fee will be valid for the transaction - *- * - * Protobuf type {@code proto.FeeSchedule} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public java.util.Listrepeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public int getTransactionFeeScheduleCount() {
- if (transactionFeeScheduleBuilder_ == null) {
- return transactionFeeSchedule_.size();
- } else {
- return transactionFeeScheduleBuilder_.getCount();
- }
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public com.hederahashgraph.api.proto.java.TransactionFeeSchedule getTransactionFeeSchedule(int index) {
- if (transactionFeeScheduleBuilder_ == null) {
- return transactionFeeSchedule_.get(index);
- } else {
- return transactionFeeScheduleBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public Builder setTransactionFeeSchedule(
- int index, com.hederahashgraph.api.proto.java.TransactionFeeSchedule value) {
- if (transactionFeeScheduleBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTransactionFeeScheduleIsMutable();
- transactionFeeSchedule_.set(index, value);
- onChanged();
- } else {
- transactionFeeScheduleBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public Builder setTransactionFeeSchedule(
- int index, com.hederahashgraph.api.proto.java.TransactionFeeSchedule.Builder builderForValue) {
- if (transactionFeeScheduleBuilder_ == null) {
- ensureTransactionFeeScheduleIsMutable();
- transactionFeeSchedule_.set(index, builderForValue.build());
- onChanged();
- } else {
- transactionFeeScheduleBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public Builder addTransactionFeeSchedule(com.hederahashgraph.api.proto.java.TransactionFeeSchedule value) {
- if (transactionFeeScheduleBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTransactionFeeScheduleIsMutable();
- transactionFeeSchedule_.add(value);
- onChanged();
- } else {
- transactionFeeScheduleBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public Builder addTransactionFeeSchedule(
- int index, com.hederahashgraph.api.proto.java.TransactionFeeSchedule value) {
- if (transactionFeeScheduleBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTransactionFeeScheduleIsMutable();
- transactionFeeSchedule_.add(index, value);
- onChanged();
- } else {
- transactionFeeScheduleBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public Builder addTransactionFeeSchedule(
- com.hederahashgraph.api.proto.java.TransactionFeeSchedule.Builder builderForValue) {
- if (transactionFeeScheduleBuilder_ == null) {
- ensureTransactionFeeScheduleIsMutable();
- transactionFeeSchedule_.add(builderForValue.build());
- onChanged();
- } else {
- transactionFeeScheduleBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public Builder addTransactionFeeSchedule(
- int index, com.hederahashgraph.api.proto.java.TransactionFeeSchedule.Builder builderForValue) {
- if (transactionFeeScheduleBuilder_ == null) {
- ensureTransactionFeeScheduleIsMutable();
- transactionFeeSchedule_.add(index, builderForValue.build());
- onChanged();
- } else {
- transactionFeeScheduleBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public Builder addAllTransactionFeeSchedule(
- java.lang.Iterable extends com.hederahashgraph.api.proto.java.TransactionFeeSchedule> values) {
- if (transactionFeeScheduleBuilder_ == null) {
- ensureTransactionFeeScheduleIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, transactionFeeSchedule_);
- onChanged();
- } else {
- transactionFeeScheduleBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public Builder clearTransactionFeeSchedule() {
- if (transactionFeeScheduleBuilder_ == null) {
- transactionFeeSchedule_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- transactionFeeScheduleBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public Builder removeTransactionFeeSchedule(int index) {
- if (transactionFeeScheduleBuilder_ == null) {
- ensureTransactionFeeScheduleIsMutable();
- transactionFeeSchedule_.remove(index);
- onChanged();
- } else {
- transactionFeeScheduleBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public com.hederahashgraph.api.proto.java.TransactionFeeSchedule.Builder getTransactionFeeScheduleBuilder(
- int index) {
- return getTransactionFeeScheduleFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public com.hederahashgraph.api.proto.java.TransactionFeeScheduleOrBuilder getTransactionFeeScheduleOrBuilder(
- int index) {
- if (transactionFeeScheduleBuilder_ == null) {
- return transactionFeeSchedule_.get(index); } else {
- return transactionFeeScheduleBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public java.util.List extends com.hederahashgraph.api.proto.java.TransactionFeeScheduleOrBuilder>
- getTransactionFeeScheduleOrBuilderList() {
- if (transactionFeeScheduleBuilder_ != null) {
- return transactionFeeScheduleBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(transactionFeeSchedule_);
- }
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public com.hederahashgraph.api.proto.java.TransactionFeeSchedule.Builder addTransactionFeeScheduleBuilder() {
- return getTransactionFeeScheduleFieldBuilder().addBuilder(
- com.hederahashgraph.api.proto.java.TransactionFeeSchedule.getDefaultInstance());
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public com.hederahashgraph.api.proto.java.TransactionFeeSchedule.Builder addTransactionFeeScheduleBuilder(
- int index) {
- return getTransactionFeeScheduleFieldBuilder().addBuilder(
- index, com.hederahashgraph.api.proto.java.TransactionFeeSchedule.getDefaultInstance());
- }
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- public java.util.List- * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public boolean hasFeeScheduleValidityDuration() {
- return feeScheduleValidityDurationBuilder_ != null || feeScheduleValidityDuration_ != null;
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public com.hederahashgraph.api.proto.java.Duration getFeeScheduleValidityDuration() {
- if (feeScheduleValidityDurationBuilder_ == null) {
- return feeScheduleValidityDuration_ == null ? com.hederahashgraph.api.proto.java.Duration.getDefaultInstance() : feeScheduleValidityDuration_;
- } else {
- return feeScheduleValidityDurationBuilder_.getMessage();
- }
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public Builder setFeeScheduleValidityDuration(com.hederahashgraph.api.proto.java.Duration value) {
- if (feeScheduleValidityDurationBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- feeScheduleValidityDuration_ = value;
- onChanged();
- } else {
- feeScheduleValidityDurationBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public Builder setFeeScheduleValidityDuration(
- com.hederahashgraph.api.proto.java.Duration.Builder builderForValue) {
- if (feeScheduleValidityDurationBuilder_ == null) {
- feeScheduleValidityDuration_ = builderForValue.build();
- onChanged();
- } else {
- feeScheduleValidityDurationBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public Builder mergeFeeScheduleValidityDuration(com.hederahashgraph.api.proto.java.Duration value) {
- if (feeScheduleValidityDurationBuilder_ == null) {
- if (feeScheduleValidityDuration_ != null) {
- feeScheduleValidityDuration_ =
- com.hederahashgraph.api.proto.java.Duration.newBuilder(feeScheduleValidityDuration_).mergeFrom(value).buildPartial();
- } else {
- feeScheduleValidityDuration_ = value;
- }
- onChanged();
- } else {
- feeScheduleValidityDurationBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public Builder clearFeeScheduleValidityDuration() {
- if (feeScheduleValidityDurationBuilder_ == null) {
- feeScheduleValidityDuration_ = null;
- onChanged();
- } else {
- feeScheduleValidityDuration_ = null;
- feeScheduleValidityDurationBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public com.hederahashgraph.api.proto.java.Duration.Builder getFeeScheduleValidityDurationBuilder() {
-
- onChanged();
- return getFeeScheduleValidityDurationFieldBuilder().getBuilder();
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- public com.hederahashgraph.api.proto.java.DurationOrBuilder getFeeScheduleValidityDurationOrBuilder() {
- if (feeScheduleValidityDurationBuilder_ != null) {
- return feeScheduleValidityDurationBuilder_.getMessageOrBuilder();
- } else {
- return feeScheduleValidityDuration_ == null ?
- com.hederahashgraph.api.proto.java.Duration.getDefaultInstance() : feeScheduleValidityDuration_;
- }
- }
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.Duration, com.hederahashgraph.api.proto.java.Duration.Builder, com.hederahashgraph.api.proto.java.DurationOrBuilder>
- getFeeScheduleValidityDurationFieldBuilder() {
- if (feeScheduleValidityDurationBuilder_ == null) {
- feeScheduleValidityDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.Duration, com.hederahashgraph.api.proto.java.Duration.Builder, com.hederahashgraph.api.proto.java.DurationOrBuilder>(
- getFeeScheduleValidityDuration(),
- getParentForChildren(),
- isClean());
- feeScheduleValidityDuration_ = null;
- }
- return feeScheduleValidityDurationBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.FeeSchedule)
- }
-
- // @@protoc_insertion_point(class_scope:proto.FeeSchedule)
- private static final com.hederahashgraph.api.proto.java.FeeSchedule DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.FeeSchedule();
- }
-
- public static com.hederahashgraph.api.proto.java.FeeSchedule getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parserrepeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- java.util.Listrepeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- com.hederahashgraph.api.proto.java.TransactionFeeSchedule getTransactionFeeSchedule(int index);
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- int getTransactionFeeScheduleCount();
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- java.util.List extends com.hederahashgraph.api.proto.java.TransactionFeeScheduleOrBuilder>
- getTransactionFeeScheduleOrBuilderList();
- /**
- * repeated .proto.TransactionFeeSchedule transactionFeeSchedule = 1;
- */
- com.hederahashgraph.api.proto.java.TransactionFeeScheduleOrBuilder getTransactionFeeScheduleOrBuilder(
- int index);
-
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- boolean hasFeeScheduleValidityDuration();
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- com.hederahashgraph.api.proto.java.Duration getFeeScheduleValidityDuration();
- /**
- * - * the valid duration for the fee schedule - *- * - *
.proto.Duration feeScheduleValidityDuration = 2;
- */
- com.hederahashgraph.api.proto.java.DurationOrBuilder getFeeScheduleValidityDurationOrBuilder();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/FileID.java b/target/generated-sources/com/hederahashgraph/api/proto/java/FileID.java
deleted file mode 100644
index e98b54e7d..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/FileID.java
+++ /dev/null
@@ -1,647 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * The ID for a file - *- * - * Protobuf type {@code proto.FileID} - */ -public final class FileID extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.FileID) - FileIDOrBuilder { -private static final long serialVersionUID = 0L; - // Use FileID.newBuilder() to construct. - private FileID(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private FileID() { - shardNum_ = 0L; - realmNum_ = 0L; - fileNum_ = 0L; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private FileID( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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 8: { - - shardNum_ = input.readInt64(); - break; - } - case 16: { - - realmNum_ = input.readInt64(); - break; - } - case 24: { - - fileNum_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_FileID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_FileID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.FileID.class, com.hederahashgraph.api.proto.java.FileID.Builder.class); - } - - public static final int SHARDNUM_FIELD_NUMBER = 1; - private long shardNum_; - /** - *
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
-
- public static final int REALMNUM_FIELD_NUMBER = 2;
- private long realmNum_;
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public long getRealmNum() {
- return realmNum_;
- }
-
- public static final int FILENUM_FIELD_NUMBER = 3;
- private long fileNum_;
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 fileNum = 3;
- */
- public long getFileNum() {
- return fileNum_;
- }
-
- 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 (shardNum_ != 0L) {
- output.writeInt64(1, shardNum_);
- }
- if (realmNum_ != 0L) {
- output.writeInt64(2, realmNum_);
- }
- if (fileNum_ != 0L) {
- output.writeInt64(3, fileNum_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (shardNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, shardNum_);
- }
- if (realmNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(2, realmNum_);
- }
- if (fileNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(3, fileNum_);
- }
- 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.FileID)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.FileID other = (com.hederahashgraph.api.proto.java.FileID) obj;
-
- boolean result = true;
- result = result && (getShardNum()
- == other.getShardNum());
- result = result && (getRealmNum()
- == other.getRealmNum());
- result = result && (getFileNum()
- == other.getFileNum());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + SHARDNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getShardNum());
- hash = (37 * hash) + REALMNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getRealmNum());
- hash = (37 * hash) + FILENUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getFileNum());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.FileID parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FileID 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.FileID parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FileID 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.FileID parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.FileID 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.FileID parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.FileID 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.FileID parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.FileID 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.FileID 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.FileID 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.FileID 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;
- }
- /**
- * - * The ID for a file - *- * - * Protobuf type {@code proto.FileID} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder setShardNum(long value) {
-
- shardNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder clearShardNum() {
-
- shardNum_ = 0L;
- onChanged();
- return this;
- }
-
- private long realmNum_ ;
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public long getRealmNum() {
- return realmNum_;
- }
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public Builder setRealmNum(long value) {
-
- realmNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public Builder clearRealmNum() {
-
- realmNum_ = 0L;
- onChanged();
- return this;
- }
-
- private long fileNum_ ;
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 fileNum = 3;
- */
- public long getFileNum() {
- return fileNum_;
- }
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 fileNum = 3;
- */
- public Builder setFileNum(long value) {
-
- fileNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 fileNum = 3;
- */
- public Builder clearFileNum() {
-
- fileNum_ = 0L;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.FileID)
- }
-
- // @@protoc_insertion_point(class_scope:proto.FileID)
- private static final com.hederahashgraph.api.proto.java.FileID DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.FileID();
- }
-
- public static com.hederahashgraph.api.proto.java.FileID getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- long getShardNum();
-
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- long getRealmNum();
-
- /**
- * - *a nonnegative number unique within its realm - *- * - *
int64 fileNum = 3;
- */
- long getFileNum();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/HederaFunctionality.java b/target/generated-sources/com/hederahashgraph/api/proto/java/HederaFunctionality.java
deleted file mode 100644
index f1855c576..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/HederaFunctionality.java
+++ /dev/null
@@ -1,549 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * The functionalities provided by hedera hashgraph - *- * - * Protobuf enum {@code proto.HederaFunctionality} - */ -public enum HederaFunctionality - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
- * crypto create account - *- * - *
CryptoCreates = 0;
- */
- CryptoCreates(0),
- /**
- * - * crypto transfer - *- * - *
CryptoTransfer = 1;
- */
- CryptoTransfer(1),
- /**
- * - * crypto update account - *- * - *
CryptoUpdate = 2;
- */
- CryptoUpdate(2),
- /**
- * - * crypto delete account - *- * - *
CryptoDelete = 3;
- */
- CryptoDelete(3),
- /**
- * - * crypto add claim to the account - *- * - *
CryptoAddClaim = 4;
- */
- CryptoAddClaim(4),
- /**
- * - * crypto delete claim to the account - *- * - *
CryptoDeletClaim = 5;
- */
- CryptoDeletClaim(5),
- /**
- * - * Smart Contract Call - *- * - *
ContractCall = 6;
- */
- ContractCall(6),
- /**
- * - * Smart Contract Create Contract - *- * - *
ContractCreate = 7;
- */
- ContractCreate(7),
- /**
- * - * Smart Contract update contract - *- * - *
ContractUpdate = 8;
- */
- ContractUpdate(8),
- /**
- * - * File Operation create file - *- * - *
FileCreate = 9;
- */
- FileCreate(9),
- /**
- * - * File Operation append file - *- * - *
FileAppend = 10;
- */
- FileAppend(10),
- /**
- * - * File Operation update file - *- * - *
FileUpdate = 11;
- */
- FileUpdate(11),
- /**
- * - * File Operation delete file - *- * - *
FileDelete = 12;
- */
- FileDelete(12),
- /**
- * - * crypto get account balance - *- * - *
CryptoGetAccountBalance = 13;
- */
- CryptoGetAccountBalance(13),
- /**
- * - * crypto get account record - *- * - *
CryptoGetAccountRecords = 14;
- */
- CryptoGetAccountRecords(14),
- /**
- * - * Crypto get info - *- * - *
CryptoGetInfo = 15;
- */
- CryptoGetInfo(15),
- /**
- * - * Smart Contract Call - *- * - *
ContractCallLocal = 16;
- */
- ContractCallLocal(16),
- /**
- * - * Smart Contract get info - *- * - *
ContractGetInfo = 17;
- */
- ContractGetInfo(17),
- /**
- * - * Smart Contract, get the byte code - *- * - *
ContractGetBytecode = 18;
- */
- ContractGetBytecode(18),
- /**
- * - * Smart Contract, get by solidity ID - *- * - *
GetBySolidityID = 19;
- */
- GetBySolidityID(19),
- /**
- * - * Smart Contract, get by key - *- * - *
GetByKey = 20;
- */
- GetByKey(20),
- /**
- * - * Crypto get the claim - *- * - *
CryptoGetClaim = 21;
- */
- CryptoGetClaim(21),
- /**
- * - * Cryto, get the stakers for the node - *- * - *
CryptoGetStakers = 22;
- */
- CryptoGetStakers(22),
- /**
- * - * File Operations get file contents - *- * - *
FileGetContents = 23;
- */
- FileGetContents(23),
- /**
- * - * File Operations get the info of the file - *- * - *
FileGetInfo = 24;
- */
- FileGetInfo(24),
- /**
- * - * Crypto get the transaction records - *- * - *
TransactionGetRecord = 25;
- */
- TransactionGetRecord(25),
- /**
- * ContractGetRecords = 26;
- */
- ContractGetRecords(26),
- /**
- * CryptoCreate = 27;
- */
- CryptoCreate(27),
- UNRECOGNIZED(-1),
- ;
-
- /**
- * - * crypto create account - *- * - *
CryptoCreates = 0;
- */
- public static final int CryptoCreates_VALUE = 0;
- /**
- * - * crypto transfer - *- * - *
CryptoTransfer = 1;
- */
- public static final int CryptoTransfer_VALUE = 1;
- /**
- * - * crypto update account - *- * - *
CryptoUpdate = 2;
- */
- public static final int CryptoUpdate_VALUE = 2;
- /**
- * - * crypto delete account - *- * - *
CryptoDelete = 3;
- */
- public static final int CryptoDelete_VALUE = 3;
- /**
- * - * crypto add claim to the account - *- * - *
CryptoAddClaim = 4;
- */
- public static final int CryptoAddClaim_VALUE = 4;
- /**
- * - * crypto delete claim to the account - *- * - *
CryptoDeletClaim = 5;
- */
- public static final int CryptoDeletClaim_VALUE = 5;
- /**
- * - * Smart Contract Call - *- * - *
ContractCall = 6;
- */
- public static final int ContractCall_VALUE = 6;
- /**
- * - * Smart Contract Create Contract - *- * - *
ContractCreate = 7;
- */
- public static final int ContractCreate_VALUE = 7;
- /**
- * - * Smart Contract update contract - *- * - *
ContractUpdate = 8;
- */
- public static final int ContractUpdate_VALUE = 8;
- /**
- * - * File Operation create file - *- * - *
FileCreate = 9;
- */
- public static final int FileCreate_VALUE = 9;
- /**
- * - * File Operation append file - *- * - *
FileAppend = 10;
- */
- public static final int FileAppend_VALUE = 10;
- /**
- * - * File Operation update file - *- * - *
FileUpdate = 11;
- */
- public static final int FileUpdate_VALUE = 11;
- /**
- * - * File Operation delete file - *- * - *
FileDelete = 12;
- */
- public static final int FileDelete_VALUE = 12;
- /**
- * - * crypto get account balance - *- * - *
CryptoGetAccountBalance = 13;
- */
- public static final int CryptoGetAccountBalance_VALUE = 13;
- /**
- * - * crypto get account record - *- * - *
CryptoGetAccountRecords = 14;
- */
- public static final int CryptoGetAccountRecords_VALUE = 14;
- /**
- * - * Crypto get info - *- * - *
CryptoGetInfo = 15;
- */
- public static final int CryptoGetInfo_VALUE = 15;
- /**
- * - * Smart Contract Call - *- * - *
ContractCallLocal = 16;
- */
- public static final int ContractCallLocal_VALUE = 16;
- /**
- * - * Smart Contract get info - *- * - *
ContractGetInfo = 17;
- */
- public static final int ContractGetInfo_VALUE = 17;
- /**
- * - * Smart Contract, get the byte code - *- * - *
ContractGetBytecode = 18;
- */
- public static final int ContractGetBytecode_VALUE = 18;
- /**
- * - * Smart Contract, get by solidity ID - *- * - *
GetBySolidityID = 19;
- */
- public static final int GetBySolidityID_VALUE = 19;
- /**
- * - * Smart Contract, get by key - *- * - *
GetByKey = 20;
- */
- public static final int GetByKey_VALUE = 20;
- /**
- * - * Crypto get the claim - *- * - *
CryptoGetClaim = 21;
- */
- public static final int CryptoGetClaim_VALUE = 21;
- /**
- * - * Cryto, get the stakers for the node - *- * - *
CryptoGetStakers = 22;
- */
- public static final int CryptoGetStakers_VALUE = 22;
- /**
- * - * File Operations get file contents - *- * - *
FileGetContents = 23;
- */
- public static final int FileGetContents_VALUE = 23;
- /**
- * - * File Operations get the info of the file - *- * - *
FileGetInfo = 24;
- */
- public static final int FileGetInfo_VALUE = 24;
- /**
- * - * Crypto get the transaction records - *- * - *
TransactionGetRecord = 25;
- */
- public static final int TransactionGetRecord_VALUE = 25;
- /**
- * ContractGetRecords = 26;
- */
- public static final int ContractGetRecords_VALUE = 26;
- /**
- * CryptoCreate = 27;
- */
- public static final int CryptoCreate_VALUE = 27;
-
-
- public final int getNumber() {
- if (this == UNRECOGNIZED) {
- throw new java.lang.IllegalArgumentException(
- "Can't get the number of an unknown enum value.");
- }
- return value;
- }
-
- /**
- * @deprecated Use {@link #forNumber(int)} instead.
- */
- @java.lang.Deprecated
- public static HederaFunctionality valueOf(int value) {
- return forNumber(value);
- }
-
- public static HederaFunctionality forNumber(int value) {
- switch (value) {
- case 0: return CryptoCreates;
- case 1: return CryptoTransfer;
- case 2: return CryptoUpdate;
- case 3: return CryptoDelete;
- case 4: return CryptoAddClaim;
- case 5: return CryptoDeletClaim;
- case 6: return ContractCall;
- case 7: return ContractCreate;
- case 8: return ContractUpdate;
- case 9: return FileCreate;
- case 10: return FileAppend;
- case 11: return FileUpdate;
- case 12: return FileDelete;
- case 13: return CryptoGetAccountBalance;
- case 14: return CryptoGetAccountRecords;
- case 15: return CryptoGetInfo;
- case 16: return ContractCallLocal;
- case 17: return ContractGetInfo;
- case 18: return ContractGetBytecode;
- case 19: return GetBySolidityID;
- case 20: return GetByKey;
- case 21: return CryptoGetClaim;
- case 22: return CryptoGetStakers;
- case 23: return FileGetContents;
- case 24: return FileGetInfo;
- case 25: return TransactionGetRecord;
- case 26: return ContractGetRecords;
- case 27: return CryptoCreate;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap- * A Key can be a public key from one of the three supported systems (ed25519, RSA-3072, ECDSA with p384). Or, it can be the ID of a smart contract instance, which is authorized to act as if it had a key. If an account has an ed25519 key associated with it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it. And similarly for RSA and ECDSA. - * A Key can be a smart contract ID, which means that smart contract is to authorize operations as if it had signed with a key that it owned. The smart contract doesn't actually have a key, and doesn't actually sign a transaction. But it's as if a virtual transaction were created, and the smart contract signed it with a private key. - * A key can be a "threshold key", which means a list of M keys, any N of which must sign in order for the threshold signature to be considered valid. The keys within a threshold signature may themselves be threshold signatures, to allow complex signature requirements. - * A Key can be a list of keys. Their use is dependent on context. For example, a Hedera file is created with a list of keys, where all of them must sign a transaction to create or modify the file, but only one of them is needed to sign a transaction to delete the file. So it's a single list that sometimes acts as a 1-of-M threshold key, and sometimes acts as an M-of-M threshold key. - * A Key can contain a ThresholdKey or KeyList, which in turn contain a Key, so this mutual recursion would allow nesting arbitrarily deep. The current API only allows the nesting to a depth of 3 levels, such as the key being a list of threshold keys, each of which contains a list of primitive keys (e.g., ed25519). In the future, this requirement may be relaxed, to allow deeper nesting. - *- * - * Protobuf type {@code proto.Key} - */ -public final class Key extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.Key) - KeyOrBuilder { -private static final long serialVersionUID = 0L; - // Use Key.newBuilder() to construct. - private Key(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private Key() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Key( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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.ContractID.Builder subBuilder = null; - if (keyCase_ == 1) { - subBuilder = ((com.hederahashgraph.api.proto.java.ContractID) key_).toBuilder(); - } - key_ = - input.readMessage(com.hederahashgraph.api.proto.java.ContractID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractID) key_); - key_ = subBuilder.buildPartial(); - } - keyCase_ = 1; - break; - } - case 18: { - keyCase_ = 2; - key_ = input.readBytes(); - break; - } - case 26: { - keyCase_ = 3; - key_ = input.readBytes(); - break; - } - case 34: { - keyCase_ = 4; - key_ = input.readBytes(); - break; - } - case 42: { - com.hederahashgraph.api.proto.java.ThresholdKey.Builder subBuilder = null; - if (keyCase_ == 5) { - subBuilder = ((com.hederahashgraph.api.proto.java.ThresholdKey) key_).toBuilder(); - } - key_ = - input.readMessage(com.hederahashgraph.api.proto.java.ThresholdKey.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ThresholdKey) key_); - key_ = subBuilder.buildPartial(); - } - keyCase_ = 5; - break; - } - case 50: { - com.hederahashgraph.api.proto.java.KeyList.Builder subBuilder = null; - if (keyCase_ == 6) { - subBuilder = ((com.hederahashgraph.api.proto.java.KeyList) key_).toBuilder(); - } - key_ = - input.readMessage(com.hederahashgraph.api.proto.java.KeyList.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.KeyList) key_); - key_ = subBuilder.buildPartial(); - } - keyCase_ = 6; - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_Key_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_Key_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.Key.class, com.hederahashgraph.api.proto.java.Key.Builder.class); - } - - private int keyCase_ = 0; - private java.lang.Object key_; - public enum KeyCase - implements com.google.protobuf.Internal.EnumLite { - CONTRACTID(1), - ED25519(2), - RSA_3072(3), - ECDSA_384(4), - THRESHOLDKEY(5), - KEYLIST(6), - KEY_NOT_SET(0); - private final int value; - private KeyCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static KeyCase valueOf(int value) { - return forNumber(value); - } - - public static KeyCase forNumber(int value) { - switch (value) { - case 1: return CONTRACTID; - case 2: return ED25519; - case 3: return RSA_3072; - case 4: return ECDSA_384; - case 5: return THRESHOLDKEY; - case 6: return KEYLIST; - case 0: return KEY_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public KeyCase - getKeyCase() { - return KeyCase.forNumber( - keyCase_); - } - - public static final int CONTRACTID_FIELD_NUMBER = 1; - /** - *
- * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public boolean hasContractID() {
- return keyCase_ == 1;
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public com.hederahashgraph.api.proto.java.ContractID getContractID() {
- if (keyCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.ContractID) key_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder() {
- if (keyCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.ContractID) key_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
-
- public static final int ED25519_FIELD_NUMBER = 2;
- /**
- * - * ed25519 public key - *- * - *
bytes ed25519 = 2;
- */
- public com.google.protobuf.ByteString getEd25519() {
- if (keyCase_ == 2) {
- return (com.google.protobuf.ByteString) key_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
-
- public static final int RSA_3072_FIELD_NUMBER = 3;
- /**
- * - *RSA-3072 public key - *- * - *
bytes RSA_3072 = 3;
- */
- public com.google.protobuf.ByteString getRSA3072() {
- if (keyCase_ == 3) {
- return (com.google.protobuf.ByteString) key_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
-
- public static final int ECDSA_384_FIELD_NUMBER = 4;
- /**
- * - *ECDSA with the p-384 curve public key - *- * - *
bytes ECDSA_384 = 4;
- */
- public com.google.protobuf.ByteString getECDSA384() {
- if (keyCase_ == 4) {
- return (com.google.protobuf.ByteString) key_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
-
- public static final int THRESHOLDKEY_FIELD_NUMBER = 5;
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public boolean hasThresholdKey() {
- return keyCase_ == 5;
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdKey getThresholdKey() {
- if (keyCase_ == 5) {
- return (com.hederahashgraph.api.proto.java.ThresholdKey) key_;
- }
- return com.hederahashgraph.api.proto.java.ThresholdKey.getDefaultInstance();
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdKeyOrBuilder getThresholdKeyOrBuilder() {
- if (keyCase_ == 5) {
- return (com.hederahashgraph.api.proto.java.ThresholdKey) key_;
- }
- return com.hederahashgraph.api.proto.java.ThresholdKey.getDefaultInstance();
- }
-
- public static final int KEYLIST_FIELD_NUMBER = 6;
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public boolean hasKeyList() {
- return keyCase_ == 6;
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public com.hederahashgraph.api.proto.java.KeyList getKeyList() {
- if (keyCase_ == 6) {
- return (com.hederahashgraph.api.proto.java.KeyList) key_;
- }
- return com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance();
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public com.hederahashgraph.api.proto.java.KeyListOrBuilder getKeyListOrBuilder() {
- if (keyCase_ == 6) {
- return (com.hederahashgraph.api.proto.java.KeyList) key_;
- }
- return com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance();
- }
-
- 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 (keyCase_ == 1) {
- output.writeMessage(1, (com.hederahashgraph.api.proto.java.ContractID) key_);
- }
- if (keyCase_ == 2) {
- output.writeBytes(
- 2, (com.google.protobuf.ByteString) key_);
- }
- if (keyCase_ == 3) {
- output.writeBytes(
- 3, (com.google.protobuf.ByteString) key_);
- }
- if (keyCase_ == 4) {
- output.writeBytes(
- 4, (com.google.protobuf.ByteString) key_);
- }
- if (keyCase_ == 5) {
- output.writeMessage(5, (com.hederahashgraph.api.proto.java.ThresholdKey) key_);
- }
- if (keyCase_ == 6) {
- output.writeMessage(6, (com.hederahashgraph.api.proto.java.KeyList) key_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (keyCase_ == 1) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, (com.hederahashgraph.api.proto.java.ContractID) key_);
- }
- if (keyCase_ == 2) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(
- 2, (com.google.protobuf.ByteString) key_);
- }
- if (keyCase_ == 3) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(
- 3, (com.google.protobuf.ByteString) key_);
- }
- if (keyCase_ == 4) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(
- 4, (com.google.protobuf.ByteString) key_);
- }
- if (keyCase_ == 5) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, (com.hederahashgraph.api.proto.java.ThresholdKey) key_);
- }
- if (keyCase_ == 6) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, (com.hederahashgraph.api.proto.java.KeyList) key_);
- }
- 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.Key)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.Key other = (com.hederahashgraph.api.proto.java.Key) obj;
-
- boolean result = true;
- result = result && getKeyCase().equals(
- other.getKeyCase());
- if (!result) return false;
- switch (keyCase_) {
- case 1:
- result = result && getContractID()
- .equals(other.getContractID());
- break;
- case 2:
- result = result && getEd25519()
- .equals(other.getEd25519());
- break;
- case 3:
- result = result && getRSA3072()
- .equals(other.getRSA3072());
- break;
- case 4:
- result = result && getECDSA384()
- .equals(other.getECDSA384());
- break;
- case 5:
- result = result && getThresholdKey()
- .equals(other.getThresholdKey());
- break;
- case 6:
- result = result && getKeyList()
- .equals(other.getKeyList());
- break;
- case 0:
- default:
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- switch (keyCase_) {
- case 1:
- hash = (37 * hash) + CONTRACTID_FIELD_NUMBER;
- hash = (53 * hash) + getContractID().hashCode();
- break;
- case 2:
- hash = (37 * hash) + ED25519_FIELD_NUMBER;
- hash = (53 * hash) + getEd25519().hashCode();
- break;
- case 3:
- hash = (37 * hash) + RSA_3072_FIELD_NUMBER;
- hash = (53 * hash) + getRSA3072().hashCode();
- break;
- case 4:
- hash = (37 * hash) + ECDSA_384_FIELD_NUMBER;
- hash = (53 * hash) + getECDSA384().hashCode();
- break;
- case 5:
- hash = (37 * hash) + THRESHOLDKEY_FIELD_NUMBER;
- hash = (53 * hash) + getThresholdKey().hashCode();
- break;
- case 6:
- hash = (37 * hash) + KEYLIST_FIELD_NUMBER;
- hash = (53 * hash) + getKeyList().hashCode();
- break;
- case 0:
- default:
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.Key parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.Key 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.Key parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.Key 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.Key parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.Key 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.Key parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.Key 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.Key parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.Key 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.Key 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.Key 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.Key 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;
- }
- /**
- * - * A Key can be a public key from one of the three supported systems (ed25519, RSA-3072, ECDSA with p384). Or, it can be the ID of a smart contract instance, which is authorized to act as if it had a key. If an account has an ed25519 key associated with it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it. And similarly for RSA and ECDSA. - * A Key can be a smart contract ID, which means that smart contract is to authorize operations as if it had signed with a key that it owned. The smart contract doesn't actually have a key, and doesn't actually sign a transaction. But it's as if a virtual transaction were created, and the smart contract signed it with a private key. - * A key can be a "threshold key", which means a list of M keys, any N of which must sign in order for the threshold signature to be considered valid. The keys within a threshold signature may themselves be threshold signatures, to allow complex signature requirements. - * A Key can be a list of keys. Their use is dependent on context. For example, a Hedera file is created with a list of keys, where all of them must sign a transaction to create or modify the file, but only one of them is needed to sign a transaction to delete the file. So it's a single list that sometimes acts as a 1-of-M threshold key, and sometimes acts as an M-of-M threshold key. - * A Key can contain a ThresholdKey or KeyList, which in turn contain a Key, so this mutual recursion would allow nesting arbitrarily deep. The current API only allows the nesting to a depth of 3 levels, such as the key being a list of threshold keys, each of which contains a list of primitive keys (e.g., ed25519). In the future, this requirement may be relaxed, to allow deeper nesting. - *- * - * Protobuf type {@code proto.Key} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public boolean hasContractID() {
- return keyCase_ == 1;
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public com.hederahashgraph.api.proto.java.ContractID getContractID() {
- if (contractIDBuilder_ == null) {
- if (keyCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.ContractID) key_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- } else {
- if (keyCase_ == 1) {
- return contractIDBuilder_.getMessage();
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public Builder setContractID(com.hederahashgraph.api.proto.java.ContractID value) {
- if (contractIDBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- key_ = value;
- onChanged();
- } else {
- contractIDBuilder_.setMessage(value);
- }
- keyCase_ = 1;
- return this;
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public Builder setContractID(
- com.hederahashgraph.api.proto.java.ContractID.Builder builderForValue) {
- if (contractIDBuilder_ == null) {
- key_ = builderForValue.build();
- onChanged();
- } else {
- contractIDBuilder_.setMessage(builderForValue.build());
- }
- keyCase_ = 1;
- return this;
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public Builder mergeContractID(com.hederahashgraph.api.proto.java.ContractID value) {
- if (contractIDBuilder_ == null) {
- if (keyCase_ == 1 &&
- key_ != com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance()) {
- key_ = com.hederahashgraph.api.proto.java.ContractID.newBuilder((com.hederahashgraph.api.proto.java.ContractID) key_)
- .mergeFrom(value).buildPartial();
- } else {
- key_ = value;
- }
- onChanged();
- } else {
- if (keyCase_ == 1) {
- contractIDBuilder_.mergeFrom(value);
- }
- contractIDBuilder_.setMessage(value);
- }
- keyCase_ = 1;
- return this;
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public Builder clearContractID() {
- if (contractIDBuilder_ == null) {
- if (keyCase_ == 1) {
- keyCase_ = 0;
- key_ = null;
- onChanged();
- }
- } else {
- if (keyCase_ == 1) {
- keyCase_ = 0;
- key_ = null;
- }
- contractIDBuilder_.clear();
- }
- return this;
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public com.hederahashgraph.api.proto.java.ContractID.Builder getContractIDBuilder() {
- return getContractIDFieldBuilder().getBuilder();
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder() {
- if ((keyCase_ == 1) && (contractIDBuilder_ != null)) {
- return contractIDBuilder_.getMessageOrBuilder();
- } else {
- if (keyCase_ == 1) {
- return (com.hederahashgraph.api.proto.java.ContractID) key_;
- }
- return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- }
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder>
- getContractIDFieldBuilder() {
- if (contractIDBuilder_ == null) {
- if (!(keyCase_ == 1)) {
- key_ = com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance();
- }
- contractIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder>(
- (com.hederahashgraph.api.proto.java.ContractID) key_,
- getParentForChildren(),
- isClean());
- key_ = null;
- }
- keyCase_ = 1;
- onChanged();;
- return contractIDBuilder_;
- }
-
- /**
- * - * ed25519 public key - *- * - *
bytes ed25519 = 2;
- */
- public com.google.protobuf.ByteString getEd25519() {
- if (keyCase_ == 2) {
- return (com.google.protobuf.ByteString) key_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
- /**
- * - * ed25519 public key - *- * - *
bytes ed25519 = 2;
- */
- public Builder setEd25519(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- keyCase_ = 2;
- key_ = value;
- onChanged();
- return this;
- }
- /**
- * - * ed25519 public key - *- * - *
bytes ed25519 = 2;
- */
- public Builder clearEd25519() {
- if (keyCase_ == 2) {
- keyCase_ = 0;
- key_ = null;
- onChanged();
- }
- return this;
- }
-
- /**
- * - *RSA-3072 public key - *- * - *
bytes RSA_3072 = 3;
- */
- public com.google.protobuf.ByteString getRSA3072() {
- if (keyCase_ == 3) {
- return (com.google.protobuf.ByteString) key_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
- /**
- * - *RSA-3072 public key - *- * - *
bytes RSA_3072 = 3;
- */
- public Builder setRSA3072(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- keyCase_ = 3;
- key_ = value;
- onChanged();
- return this;
- }
- /**
- * - *RSA-3072 public key - *- * - *
bytes RSA_3072 = 3;
- */
- public Builder clearRSA3072() {
- if (keyCase_ == 3) {
- keyCase_ = 0;
- key_ = null;
- onChanged();
- }
- return this;
- }
-
- /**
- * - *ECDSA with the p-384 curve public key - *- * - *
bytes ECDSA_384 = 4;
- */
- public com.google.protobuf.ByteString getECDSA384() {
- if (keyCase_ == 4) {
- return (com.google.protobuf.ByteString) key_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
- /**
- * - *ECDSA with the p-384 curve public key - *- * - *
bytes ECDSA_384 = 4;
- */
- public Builder setECDSA384(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- keyCase_ = 4;
- key_ = value;
- onChanged();
- return this;
- }
- /**
- * - *ECDSA with the p-384 curve public key - *- * - *
bytes ECDSA_384 = 4;
- */
- public Builder clearECDSA384() {
- if (keyCase_ == 4) {
- keyCase_ = 0;
- key_ = null;
- onChanged();
- }
- return this;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ThresholdKey, com.hederahashgraph.api.proto.java.ThresholdKey.Builder, com.hederahashgraph.api.proto.java.ThresholdKeyOrBuilder> thresholdKeyBuilder_;
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public boolean hasThresholdKey() {
- return keyCase_ == 5;
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdKey getThresholdKey() {
- if (thresholdKeyBuilder_ == null) {
- if (keyCase_ == 5) {
- return (com.hederahashgraph.api.proto.java.ThresholdKey) key_;
- }
- return com.hederahashgraph.api.proto.java.ThresholdKey.getDefaultInstance();
- } else {
- if (keyCase_ == 5) {
- return thresholdKeyBuilder_.getMessage();
- }
- return com.hederahashgraph.api.proto.java.ThresholdKey.getDefaultInstance();
- }
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public Builder setThresholdKey(com.hederahashgraph.api.proto.java.ThresholdKey value) {
- if (thresholdKeyBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- key_ = value;
- onChanged();
- } else {
- thresholdKeyBuilder_.setMessage(value);
- }
- keyCase_ = 5;
- return this;
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public Builder setThresholdKey(
- com.hederahashgraph.api.proto.java.ThresholdKey.Builder builderForValue) {
- if (thresholdKeyBuilder_ == null) {
- key_ = builderForValue.build();
- onChanged();
- } else {
- thresholdKeyBuilder_.setMessage(builderForValue.build());
- }
- keyCase_ = 5;
- return this;
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public Builder mergeThresholdKey(com.hederahashgraph.api.proto.java.ThresholdKey value) {
- if (thresholdKeyBuilder_ == null) {
- if (keyCase_ == 5 &&
- key_ != com.hederahashgraph.api.proto.java.ThresholdKey.getDefaultInstance()) {
- key_ = com.hederahashgraph.api.proto.java.ThresholdKey.newBuilder((com.hederahashgraph.api.proto.java.ThresholdKey) key_)
- .mergeFrom(value).buildPartial();
- } else {
- key_ = value;
- }
- onChanged();
- } else {
- if (keyCase_ == 5) {
- thresholdKeyBuilder_.mergeFrom(value);
- }
- thresholdKeyBuilder_.setMessage(value);
- }
- keyCase_ = 5;
- return this;
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public Builder clearThresholdKey() {
- if (thresholdKeyBuilder_ == null) {
- if (keyCase_ == 5) {
- keyCase_ = 0;
- key_ = null;
- onChanged();
- }
- } else {
- if (keyCase_ == 5) {
- keyCase_ = 0;
- key_ = null;
- }
- thresholdKeyBuilder_.clear();
- }
- return this;
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdKey.Builder getThresholdKeyBuilder() {
- return getThresholdKeyFieldBuilder().getBuilder();
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdKeyOrBuilder getThresholdKeyOrBuilder() {
- if ((keyCase_ == 5) && (thresholdKeyBuilder_ != null)) {
- return thresholdKeyBuilder_.getMessageOrBuilder();
- } else {
- if (keyCase_ == 5) {
- return (com.hederahashgraph.api.proto.java.ThresholdKey) key_;
- }
- return com.hederahashgraph.api.proto.java.ThresholdKey.getDefaultInstance();
- }
- }
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ThresholdKey, com.hederahashgraph.api.proto.java.ThresholdKey.Builder, com.hederahashgraph.api.proto.java.ThresholdKeyOrBuilder>
- getThresholdKeyFieldBuilder() {
- if (thresholdKeyBuilder_ == null) {
- if (!(keyCase_ == 5)) {
- key_ = com.hederahashgraph.api.proto.java.ThresholdKey.getDefaultInstance();
- }
- thresholdKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ThresholdKey, com.hederahashgraph.api.proto.java.ThresholdKey.Builder, com.hederahashgraph.api.proto.java.ThresholdKeyOrBuilder>(
- (com.hederahashgraph.api.proto.java.ThresholdKey) key_,
- getParentForChildren(),
- isClean());
- key_ = null;
- }
- keyCase_ = 5;
- onChanged();;
- return thresholdKeyBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.KeyList, com.hederahashgraph.api.proto.java.KeyList.Builder, com.hederahashgraph.api.proto.java.KeyListOrBuilder> keyListBuilder_;
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public boolean hasKeyList() {
- return keyCase_ == 6;
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public com.hederahashgraph.api.proto.java.KeyList getKeyList() {
- if (keyListBuilder_ == null) {
- if (keyCase_ == 6) {
- return (com.hederahashgraph.api.proto.java.KeyList) key_;
- }
- return com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance();
- } else {
- if (keyCase_ == 6) {
- return keyListBuilder_.getMessage();
- }
- return com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance();
- }
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public Builder setKeyList(com.hederahashgraph.api.proto.java.KeyList value) {
- if (keyListBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- key_ = value;
- onChanged();
- } else {
- keyListBuilder_.setMessage(value);
- }
- keyCase_ = 6;
- return this;
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public Builder setKeyList(
- com.hederahashgraph.api.proto.java.KeyList.Builder builderForValue) {
- if (keyListBuilder_ == null) {
- key_ = builderForValue.build();
- onChanged();
- } else {
- keyListBuilder_.setMessage(builderForValue.build());
- }
- keyCase_ = 6;
- return this;
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public Builder mergeKeyList(com.hederahashgraph.api.proto.java.KeyList value) {
- if (keyListBuilder_ == null) {
- if (keyCase_ == 6 &&
- key_ != com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance()) {
- key_ = com.hederahashgraph.api.proto.java.KeyList.newBuilder((com.hederahashgraph.api.proto.java.KeyList) key_)
- .mergeFrom(value).buildPartial();
- } else {
- key_ = value;
- }
- onChanged();
- } else {
- if (keyCase_ == 6) {
- keyListBuilder_.mergeFrom(value);
- }
- keyListBuilder_.setMessage(value);
- }
- keyCase_ = 6;
- return this;
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public Builder clearKeyList() {
- if (keyListBuilder_ == null) {
- if (keyCase_ == 6) {
- keyCase_ = 0;
- key_ = null;
- onChanged();
- }
- } else {
- if (keyCase_ == 6) {
- keyCase_ = 0;
- key_ = null;
- }
- keyListBuilder_.clear();
- }
- return this;
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public com.hederahashgraph.api.proto.java.KeyList.Builder getKeyListBuilder() {
- return getKeyListFieldBuilder().getBuilder();
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- public com.hederahashgraph.api.proto.java.KeyListOrBuilder getKeyListOrBuilder() {
- if ((keyCase_ == 6) && (keyListBuilder_ != null)) {
- return keyListBuilder_.getMessageOrBuilder();
- } else {
- if (keyCase_ == 6) {
- return (com.hederahashgraph.api.proto.java.KeyList) key_;
- }
- return com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance();
- }
- }
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.KeyList, com.hederahashgraph.api.proto.java.KeyList.Builder, com.hederahashgraph.api.proto.java.KeyListOrBuilder>
- getKeyListFieldBuilder() {
- if (keyListBuilder_ == null) {
- if (!(keyCase_ == 6)) {
- key_ = com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance();
- }
- keyListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.KeyList, com.hederahashgraph.api.proto.java.KeyList.Builder, com.hederahashgraph.api.proto.java.KeyListOrBuilder>(
- (com.hederahashgraph.api.proto.java.KeyList) key_,
- getParentForChildren(),
- isClean());
- key_ = null;
- }
- keyCase_ = 6;
- onChanged();;
- return keyListBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.Key)
- }
-
- // @@protoc_insertion_point(class_scope:proto.Key)
- private static final com.hederahashgraph.api.proto.java.Key DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.Key();
- }
-
- public static com.hederahashgraph.api.proto.java.Key getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * A list of keys - *- * - * Protobuf type {@code proto.KeyList} - */ -public final class KeyList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.KeyList) - KeyListOrBuilder { -private static final long serialVersionUID = 0L; - // Use KeyList.newBuilder() to construct. - private KeyList(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private KeyList() { - keys_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private KeyList( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - keys_ = new java.util.ArrayList
- * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public java.util.List- * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public java.util.List extends com.hederahashgraph.api.proto.java.KeyOrBuilder>
- getKeysOrBuilderList() {
- return keys_;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public int getKeysCount() {
- return keys_.size();
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public com.hederahashgraph.api.proto.java.Key getKeys(int index) {
- return keys_.get(index);
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public com.hederahashgraph.api.proto.java.KeyOrBuilder getKeysOrBuilder(
- int index) {
- return keys_.get(index);
- }
-
- 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 {
- for (int i = 0; i < keys_.size(); i++) {
- output.writeMessage(1, keys_.get(i));
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < keys_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, keys_.get(i));
- }
- 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.KeyList)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.KeyList other = (com.hederahashgraph.api.proto.java.KeyList) obj;
-
- boolean result = true;
- result = result && getKeysList()
- .equals(other.getKeysList());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (getKeysCount() > 0) {
- hash = (37 * hash) + KEYS_FIELD_NUMBER;
- hash = (53 * hash) + getKeysList().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.KeyList parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.KeyList 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.KeyList parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.KeyList 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.KeyList parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.KeyList 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.KeyList parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.KeyList 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.KeyList parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.KeyList 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.KeyList 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.KeyList 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.KeyList 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;
- }
- /**
- * - * A list of keys - *- * - * Protobuf type {@code proto.KeyList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public java.util.List- * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public int getKeysCount() {
- if (keysBuilder_ == null) {
- return keys_.size();
- } else {
- return keysBuilder_.getCount();
- }
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public com.hederahashgraph.api.proto.java.Key getKeys(int index) {
- if (keysBuilder_ == null) {
- return keys_.get(index);
- } else {
- return keysBuilder_.getMessage(index);
- }
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public Builder setKeys(
- int index, com.hederahashgraph.api.proto.java.Key value) {
- if (keysBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureKeysIsMutable();
- keys_.set(index, value);
- onChanged();
- } else {
- keysBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public Builder setKeys(
- int index, com.hederahashgraph.api.proto.java.Key.Builder builderForValue) {
- if (keysBuilder_ == null) {
- ensureKeysIsMutable();
- keys_.set(index, builderForValue.build());
- onChanged();
- } else {
- keysBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public Builder addKeys(com.hederahashgraph.api.proto.java.Key value) {
- if (keysBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureKeysIsMutable();
- keys_.add(value);
- onChanged();
- } else {
- keysBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public Builder addKeys(
- int index, com.hederahashgraph.api.proto.java.Key value) {
- if (keysBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureKeysIsMutable();
- keys_.add(index, value);
- onChanged();
- } else {
- keysBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public Builder addKeys(
- com.hederahashgraph.api.proto.java.Key.Builder builderForValue) {
- if (keysBuilder_ == null) {
- ensureKeysIsMutable();
- keys_.add(builderForValue.build());
- onChanged();
- } else {
- keysBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public Builder addKeys(
- int index, com.hederahashgraph.api.proto.java.Key.Builder builderForValue) {
- if (keysBuilder_ == null) {
- ensureKeysIsMutable();
- keys_.add(index, builderForValue.build());
- onChanged();
- } else {
- keysBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public Builder addAllKeys(
- java.lang.Iterable extends com.hederahashgraph.api.proto.java.Key> values) {
- if (keysBuilder_ == null) {
- ensureKeysIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, keys_);
- onChanged();
- } else {
- keysBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public Builder clearKeys() {
- if (keysBuilder_ == null) {
- keys_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- keysBuilder_.clear();
- }
- return this;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public Builder removeKeys(int index) {
- if (keysBuilder_ == null) {
- ensureKeysIsMutable();
- keys_.remove(index);
- onChanged();
- } else {
- keysBuilder_.remove(index);
- }
- return this;
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public com.hederahashgraph.api.proto.java.Key.Builder getKeysBuilder(
- int index) {
- return getKeysFieldBuilder().getBuilder(index);
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public com.hederahashgraph.api.proto.java.KeyOrBuilder getKeysOrBuilder(
- int index) {
- if (keysBuilder_ == null) {
- return keys_.get(index); } else {
- return keysBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public java.util.List extends com.hederahashgraph.api.proto.java.KeyOrBuilder>
- getKeysOrBuilderList() {
- if (keysBuilder_ != null) {
- return keysBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(keys_);
- }
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public com.hederahashgraph.api.proto.java.Key.Builder addKeysBuilder() {
- return getKeysFieldBuilder().addBuilder(
- com.hederahashgraph.api.proto.java.Key.getDefaultInstance());
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public com.hederahashgraph.api.proto.java.Key.Builder addKeysBuilder(
- int index) {
- return getKeysFieldBuilder().addBuilder(
- index, com.hederahashgraph.api.proto.java.Key.getDefaultInstance());
- }
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- public java.util.List- * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- java.util.List- * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- com.hederahashgraph.api.proto.java.Key getKeys(int index);
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- int getKeysCount();
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- java.util.List extends com.hederahashgraph.api.proto.java.KeyOrBuilder>
- getKeysOrBuilderList();
- /**
- * - * list of keys - *- * - *
repeated .proto.Key keys = 1;
- */
- com.hederahashgraph.api.proto.java.KeyOrBuilder getKeysOrBuilder(
- int index);
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/KeyOrBuilder.java b/target/generated-sources/com/hederahashgraph/api/proto/java/KeyOrBuilder.java
deleted file mode 100644
index fbb7203ca..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/KeyOrBuilder.java
+++ /dev/null
@@ -1,113 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-public interface KeyOrBuilder extends
- // @@protoc_insertion_point(interface_extends:proto.Key)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- boolean hasContractID();
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- com.hederahashgraph.api.proto.java.ContractID getContractID();
- /**
- * - * smart contract instance that is authorized as if it had signed with a key - *- * - *
.proto.ContractID contractID = 1;
- */
- com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIDOrBuilder();
-
- /**
- * - * ed25519 public key - *- * - *
bytes ed25519 = 2;
- */
- com.google.protobuf.ByteString getEd25519();
-
- /**
- * - *RSA-3072 public key - *- * - *
bytes RSA_3072 = 3;
- */
- com.google.protobuf.ByteString getRSA3072();
-
- /**
- * - *ECDSA with the p-384 curve public key - *- * - *
bytes ECDSA_384 = 4;
- */
- com.google.protobuf.ByteString getECDSA384();
-
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- boolean hasThresholdKey();
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- com.hederahashgraph.api.proto.java.ThresholdKey getThresholdKey();
- /**
- * - * a threshold N followed by a list of M keys, any N of which are required to form a valid signature - *- * - *
.proto.ThresholdKey thresholdKey = 5;
- */
- com.hederahashgraph.api.proto.java.ThresholdKeyOrBuilder getThresholdKeyOrBuilder();
-
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- boolean hasKeyList();
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- com.hederahashgraph.api.proto.java.KeyList getKeyList();
- /**
- * - * a list of Keys. - *- * - *
.proto.KeyList keyList = 6;
- */
- com.hederahashgraph.api.proto.java.KeyListOrBuilder getKeyListOrBuilder();
-
- public com.hederahashgraph.api.proto.java.Key.KeyCase getKeyCase();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/NodeAddress.java b/target/generated-sources/com/hederahashgraph/api/proto/java/NodeAddress.java
deleted file mode 100644
index 0aee2312b..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/NodeAddress.java
+++ /dev/null
@@ -1,650 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * The information about a node - *- * - * Protobuf type {@code proto.NodeAddress} - */ -public final class NodeAddress extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.NodeAddress) - NodeAddressOrBuilder { -private static final long serialVersionUID = 0L; - // Use NodeAddress.newBuilder() to construct. - private NodeAddress(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private NodeAddress() { - ipAddress_ = com.google.protobuf.ByteString.EMPTY; - portno_ = 0; - memo_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeAddress( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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: { - - ipAddress_ = input.readBytes(); - break; - } - case 16: { - - portno_ = input.readInt32(); - break; - } - case 26: { - - memo_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_NodeAddress_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_NodeAddress_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.NodeAddress.class, com.hederahashgraph.api.proto.java.NodeAddress.Builder.class); - } - - public static final int IPADDRESS_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString ipAddress_; - /** - *
- * the ip address of the Node - *- * - *
bytes ipAddress = 1;
- */
- public com.google.protobuf.ByteString getIpAddress() {
- return ipAddress_;
- }
-
- public static final int PORTNO_FIELD_NUMBER = 2;
- private int portno_;
- /**
- * - * the port number of the grpc server for the node - *- * - *
int32 portno = 2;
- */
- public int getPortno() {
- return portno_;
- }
-
- public static final int MEMO_FIELD_NUMBER = 3;
- private com.google.protobuf.ByteString memo_;
- /**
- * - * the memo field of the node - *- * - *
bytes memo = 3;
- */
- public com.google.protobuf.ByteString getMemo() {
- return memo_;
- }
-
- 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 (!ipAddress_.isEmpty()) {
- output.writeBytes(1, ipAddress_);
- }
- if (portno_ != 0) {
- output.writeInt32(2, portno_);
- }
- if (!memo_.isEmpty()) {
- output.writeBytes(3, memo_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!ipAddress_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, ipAddress_);
- }
- if (portno_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, portno_);
- }
- if (!memo_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, memo_);
- }
- 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.NodeAddress)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.NodeAddress other = (com.hederahashgraph.api.proto.java.NodeAddress) obj;
-
- boolean result = true;
- result = result && getIpAddress()
- .equals(other.getIpAddress());
- result = result && (getPortno()
- == other.getPortno());
- result = result && getMemo()
- .equals(other.getMemo());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + IPADDRESS_FIELD_NUMBER;
- hash = (53 * hash) + getIpAddress().hashCode();
- hash = (37 * hash) + PORTNO_FIELD_NUMBER;
- hash = (53 * hash) + getPortno();
- hash = (37 * hash) + MEMO_FIELD_NUMBER;
- hash = (53 * hash) + getMemo().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.NodeAddress parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddress 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.NodeAddress parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddress 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.NodeAddress parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddress 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.NodeAddress parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddress 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.NodeAddress parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddress 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.NodeAddress 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.NodeAddress 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.NodeAddress 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;
- }
- /**
- * - * The information about a node - *- * - * Protobuf type {@code proto.NodeAddress} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * the ip address of the Node - *- * - *
bytes ipAddress = 1;
- */
- public com.google.protobuf.ByteString getIpAddress() {
- return ipAddress_;
- }
- /**
- * - * the ip address of the Node - *- * - *
bytes ipAddress = 1;
- */
- public Builder setIpAddress(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- ipAddress_ = value;
- onChanged();
- return this;
- }
- /**
- * - * the ip address of the Node - *- * - *
bytes ipAddress = 1;
- */
- public Builder clearIpAddress() {
-
- ipAddress_ = getDefaultInstance().getIpAddress();
- onChanged();
- return this;
- }
-
- private int portno_ ;
- /**
- * - * the port number of the grpc server for the node - *- * - *
int32 portno = 2;
- */
- public int getPortno() {
- return portno_;
- }
- /**
- * - * the port number of the grpc server for the node - *- * - *
int32 portno = 2;
- */
- public Builder setPortno(int value) {
-
- portno_ = value;
- onChanged();
- return this;
- }
- /**
- * - * the port number of the grpc server for the node - *- * - *
int32 portno = 2;
- */
- public Builder clearPortno() {
-
- portno_ = 0;
- onChanged();
- return this;
- }
-
- private com.google.protobuf.ByteString memo_ = com.google.protobuf.ByteString.EMPTY;
- /**
- * - * the memo field of the node - *- * - *
bytes memo = 3;
- */
- public com.google.protobuf.ByteString getMemo() {
- return memo_;
- }
- /**
- * - * the memo field of the node - *- * - *
bytes memo = 3;
- */
- public Builder setMemo(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- memo_ = value;
- onChanged();
- return this;
- }
- /**
- * - * the memo field of the node - *- * - *
bytes memo = 3;
- */
- public Builder clearMemo() {
-
- memo_ = getDefaultInstance().getMemo();
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.NodeAddress)
- }
-
- // @@protoc_insertion_point(class_scope:proto.NodeAddress)
- private static final com.hederahashgraph.api.proto.java.NodeAddress DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.NodeAddress();
- }
-
- public static com.hederahashgraph.api.proto.java.NodeAddress getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * Gives the node addresses in the address book - *- * - * Protobuf type {@code proto.NodeAddressBook} - */ -public final class NodeAddressBook extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.NodeAddressBook) - NodeAddressBookOrBuilder { -private static final long serialVersionUID = 0L; - // Use NodeAddressBook.newBuilder() to construct. - private NodeAddressBook(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private NodeAddressBook() { - nodeAddress_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeAddressBook( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - nodeAddress_ = new java.util.ArrayList
repeated .proto.NodeAddress nodeAddress = 1;
- */
- public java.util.Listrepeated .proto.NodeAddress nodeAddress = 1;
- */
- public java.util.List extends com.hederahashgraph.api.proto.java.NodeAddressOrBuilder>
- getNodeAddressOrBuilderList() {
- return nodeAddress_;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public int getNodeAddressCount() {
- return nodeAddress_.size();
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public com.hederahashgraph.api.proto.java.NodeAddress getNodeAddress(int index) {
- return nodeAddress_.get(index);
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public com.hederahashgraph.api.proto.java.NodeAddressOrBuilder getNodeAddressOrBuilder(
- int index) {
- return nodeAddress_.get(index);
- }
-
- 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 {
- for (int i = 0; i < nodeAddress_.size(); i++) {
- output.writeMessage(1, nodeAddress_.get(i));
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < nodeAddress_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, nodeAddress_.get(i));
- }
- 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.NodeAddressBook)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.NodeAddressBook other = (com.hederahashgraph.api.proto.java.NodeAddressBook) obj;
-
- boolean result = true;
- result = result && getNodeAddressList()
- .equals(other.getNodeAddressList());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (getNodeAddressCount() > 0) {
- hash = (37 * hash) + NODEADDRESS_FIELD_NUMBER;
- hash = (53 * hash) + getNodeAddressList().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.NodeAddressBook parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddressBook 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.NodeAddressBook parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddressBook 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.NodeAddressBook parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddressBook 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.NodeAddressBook parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddressBook 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.NodeAddressBook parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.NodeAddressBook 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.NodeAddressBook 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.NodeAddressBook 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.NodeAddressBook 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;
- }
- /**
- * - * Gives the node addresses in the address book - *- * - * Protobuf type {@code proto.NodeAddressBook} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
repeated .proto.NodeAddress nodeAddress = 1;
- */
- public java.util.Listrepeated .proto.NodeAddress nodeAddress = 1;
- */
- public int getNodeAddressCount() {
- if (nodeAddressBuilder_ == null) {
- return nodeAddress_.size();
- } else {
- return nodeAddressBuilder_.getCount();
- }
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public com.hederahashgraph.api.proto.java.NodeAddress getNodeAddress(int index) {
- if (nodeAddressBuilder_ == null) {
- return nodeAddress_.get(index);
- } else {
- return nodeAddressBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public Builder setNodeAddress(
- int index, com.hederahashgraph.api.proto.java.NodeAddress value) {
- if (nodeAddressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureNodeAddressIsMutable();
- nodeAddress_.set(index, value);
- onChanged();
- } else {
- nodeAddressBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public Builder setNodeAddress(
- int index, com.hederahashgraph.api.proto.java.NodeAddress.Builder builderForValue) {
- if (nodeAddressBuilder_ == null) {
- ensureNodeAddressIsMutable();
- nodeAddress_.set(index, builderForValue.build());
- onChanged();
- } else {
- nodeAddressBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public Builder addNodeAddress(com.hederahashgraph.api.proto.java.NodeAddress value) {
- if (nodeAddressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureNodeAddressIsMutable();
- nodeAddress_.add(value);
- onChanged();
- } else {
- nodeAddressBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public Builder addNodeAddress(
- int index, com.hederahashgraph.api.proto.java.NodeAddress value) {
- if (nodeAddressBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureNodeAddressIsMutable();
- nodeAddress_.add(index, value);
- onChanged();
- } else {
- nodeAddressBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public Builder addNodeAddress(
- com.hederahashgraph.api.proto.java.NodeAddress.Builder builderForValue) {
- if (nodeAddressBuilder_ == null) {
- ensureNodeAddressIsMutable();
- nodeAddress_.add(builderForValue.build());
- onChanged();
- } else {
- nodeAddressBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public Builder addNodeAddress(
- int index, com.hederahashgraph.api.proto.java.NodeAddress.Builder builderForValue) {
- if (nodeAddressBuilder_ == null) {
- ensureNodeAddressIsMutable();
- nodeAddress_.add(index, builderForValue.build());
- onChanged();
- } else {
- nodeAddressBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public Builder addAllNodeAddress(
- java.lang.Iterable extends com.hederahashgraph.api.proto.java.NodeAddress> values) {
- if (nodeAddressBuilder_ == null) {
- ensureNodeAddressIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, nodeAddress_);
- onChanged();
- } else {
- nodeAddressBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public Builder clearNodeAddress() {
- if (nodeAddressBuilder_ == null) {
- nodeAddress_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- nodeAddressBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public Builder removeNodeAddress(int index) {
- if (nodeAddressBuilder_ == null) {
- ensureNodeAddressIsMutable();
- nodeAddress_.remove(index);
- onChanged();
- } else {
- nodeAddressBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public com.hederahashgraph.api.proto.java.NodeAddress.Builder getNodeAddressBuilder(
- int index) {
- return getNodeAddressFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public com.hederahashgraph.api.proto.java.NodeAddressOrBuilder getNodeAddressOrBuilder(
- int index) {
- if (nodeAddressBuilder_ == null) {
- return nodeAddress_.get(index); } else {
- return nodeAddressBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public java.util.List extends com.hederahashgraph.api.proto.java.NodeAddressOrBuilder>
- getNodeAddressOrBuilderList() {
- if (nodeAddressBuilder_ != null) {
- return nodeAddressBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(nodeAddress_);
- }
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public com.hederahashgraph.api.proto.java.NodeAddress.Builder addNodeAddressBuilder() {
- return getNodeAddressFieldBuilder().addBuilder(
- com.hederahashgraph.api.proto.java.NodeAddress.getDefaultInstance());
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public com.hederahashgraph.api.proto.java.NodeAddress.Builder addNodeAddressBuilder(
- int index) {
- return getNodeAddressFieldBuilder().addBuilder(
- index, com.hederahashgraph.api.proto.java.NodeAddress.getDefaultInstance());
- }
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- public java.util.Listrepeated .proto.NodeAddress nodeAddress = 1;
- */
- java.util.Listrepeated .proto.NodeAddress nodeAddress = 1;
- */
- com.hederahashgraph.api.proto.java.NodeAddress getNodeAddress(int index);
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- int getNodeAddressCount();
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- java.util.List extends com.hederahashgraph.api.proto.java.NodeAddressOrBuilder>
- getNodeAddressOrBuilderList();
- /**
- * repeated .proto.NodeAddress nodeAddress = 1;
- */
- com.hederahashgraph.api.proto.java.NodeAddressOrBuilder getNodeAddressOrBuilder(
- int index);
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/NodeAddressOrBuilder.java b/target/generated-sources/com/hederahashgraph/api/proto/java/NodeAddressOrBuilder.java
deleted file mode 100644
index aa9412a2a..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/NodeAddressOrBuilder.java
+++ /dev/null
@@ -1,36 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-public interface NodeAddressOrBuilder extends
- // @@protoc_insertion_point(interface_extends:proto.NodeAddress)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * - * the ip address of the Node - *- * - *
bytes ipAddress = 1;
- */
- com.google.protobuf.ByteString getIpAddress();
-
- /**
- * - * the port number of the grpc server for the node - *- * - *
int32 portno = 2;
- */
- int getPortno();
-
- /**
- * - * the memo field of the node - *- * - *
bytes memo = 3;
- */
- com.google.protobuf.ByteString getMemo();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/RealmID.java b/target/generated-sources/com/hederahashgraph/api/proto/java/RealmID.java
deleted file mode 100644
index 76c792e97..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/RealmID.java
+++ /dev/null
@@ -1,572 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * The ID for a realm. Within a given shard, every realm has a unique ID. Each account, file, and contract instance belongs to exactly one realm. - *- * - * Protobuf type {@code proto.RealmID} - */ -public final class RealmID extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.RealmID) - RealmIDOrBuilder { -private static final long serialVersionUID = 0L; - // Use RealmID.newBuilder() to construct. - private RealmID(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private RealmID() { - shardNum_ = 0L; - realmNum_ = 0L; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private RealmID( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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 8: { - - shardNum_ = input.readInt64(); - break; - } - case 16: { - - realmNum_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_RealmID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_RealmID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.RealmID.class, com.hederahashgraph.api.proto.java.RealmID.Builder.class); - } - - public static final int SHARDNUM_FIELD_NUMBER = 1; - private long shardNum_; - /** - *
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
-
- public static final int REALMNUM_FIELD_NUMBER = 2;
- private long realmNum_;
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public long getRealmNum() {
- return realmNum_;
- }
-
- 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 (shardNum_ != 0L) {
- output.writeInt64(1, shardNum_);
- }
- if (realmNum_ != 0L) {
- output.writeInt64(2, realmNum_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (shardNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, shardNum_);
- }
- if (realmNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(2, realmNum_);
- }
- 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.RealmID)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.RealmID other = (com.hederahashgraph.api.proto.java.RealmID) obj;
-
- boolean result = true;
- result = result && (getShardNum()
- == other.getShardNum());
- result = result && (getRealmNum()
- == other.getRealmNum());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + SHARDNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getShardNum());
- hash = (37 * hash) + REALMNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getRealmNum());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.RealmID parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.RealmID 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.RealmID parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.RealmID 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.RealmID parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.RealmID 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.RealmID parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.RealmID 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.RealmID parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.RealmID 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.RealmID 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.RealmID 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.RealmID 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;
- }
- /**
- * - * The ID for a realm. Within a given shard, every realm has a unique ID. Each account, file, and contract instance belongs to exactly one realm. - *- * - * Protobuf type {@code proto.RealmID} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder setShardNum(long value) {
-
- shardNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder clearShardNum() {
-
- shardNum_ = 0L;
- onChanged();
- return this;
- }
-
- private long realmNum_ ;
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public long getRealmNum() {
- return realmNum_;
- }
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public Builder setRealmNum(long value) {
-
- realmNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- public Builder clearRealmNum() {
-
- realmNum_ = 0L;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.RealmID)
- }
-
- // @@protoc_insertion_point(class_scope:proto.RealmID)
- private static final com.hederahashgraph.api.proto.java.RealmID DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.RealmID();
- }
-
- public static com.hederahashgraph.api.proto.java.RealmID getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- long getShardNum();
-
- /**
- * - *the realm number (nonnegative) - *- * - *
int64 realmNum = 2;
- */
- long getRealmNum();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/ShardID.java b/target/generated-sources/com/hederahashgraph/api/proto/java/ShardID.java
deleted file mode 100644
index 2bde8720e..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/ShardID.java
+++ /dev/null
@@ -1,499 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * Each shard has a nonnegative shard number. Each realm within a given shard has a nonnegative realm number (that number might be reused in other shards). And each account, file, and smart contract instance within a given realm has a nonnegative number (which might be reused in other realms). Every account, file, and smart contract instance is within exactly one realm. So a FileID is a triplet of numbers, like 0.1.2 for entity number 2 within realm 1 within shard 0. Each realm maintains a single counter for assigning numbers, so if there is a file with ID 0.1.2, then there won't be an account or smart contract instance with ID 0.1.2. - *Everything is partitioned into realms so that each Solidity smart contract can access everything in just a single realm, locking all those entities while it's running, but other smart contracts could potentially run in other realms in parallel. So realms allow Solidity to be parallelized somewhat, even though the language itself assumes everything is serial. - *- * - * Protobuf type {@code proto.ShardID} - */ -public final class ShardID extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.ShardID) - ShardIDOrBuilder { -private static final long serialVersionUID = 0L; - // Use ShardID.newBuilder() to construct. - private ShardID(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private ShardID() { - shardNum_ = 0L; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ShardID( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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 8: { - - shardNum_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_ShardID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_ShardID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.ShardID.class, com.hederahashgraph.api.proto.java.ShardID.Builder.class); - } - - public static final int SHARDNUM_FIELD_NUMBER = 1; - private long shardNum_; - /** - *
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
-
- 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 (shardNum_ != 0L) {
- output.writeInt64(1, shardNum_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (shardNum_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(1, shardNum_);
- }
- 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.ShardID)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.ShardID other = (com.hederahashgraph.api.proto.java.ShardID) obj;
-
- boolean result = true;
- result = result && (getShardNum()
- == other.getShardNum());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + SHARDNUM_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getShardNum());
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.ShardID parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ShardID 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.ShardID parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ShardID 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.ShardID parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ShardID 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.ShardID parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.ShardID 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.ShardID parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.ShardID 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.ShardID 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.ShardID 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.ShardID 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;
- }
- /**
- * - * Each shard has a nonnegative shard number. Each realm within a given shard has a nonnegative realm number (that number might be reused in other shards). And each account, file, and smart contract instance within a given realm has a nonnegative number (which might be reused in other realms). Every account, file, and smart contract instance is within exactly one realm. So a FileID is a triplet of numbers, like 0.1.2 for entity number 2 within realm 1 within shard 0. Each realm maintains a single counter for assigning numbers, so if there is a file with ID 0.1.2, then there won't be an account or smart contract instance with ID 0.1.2. - *Everything is partitioned into realms so that each Solidity smart contract can access everything in just a single realm, locking all those entities while it's running, but other smart contracts could potentially run in other realms in parallel. So realms allow Solidity to be parallelized somewhat, even though the language itself assumes everything is serial. - *- * - * Protobuf type {@code proto.ShardID} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public long getShardNum() {
- return shardNum_;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder setShardNum(long value) {
-
- shardNum_ = value;
- onChanged();
- return this;
- }
- /**
- * - *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- public Builder clearShardNum() {
-
- shardNum_ = 0L;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.ShardID)
- }
-
- // @@protoc_insertion_point(class_scope:proto.ShardID)
- private static final com.hederahashgraph.api.proto.java.ShardID DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.ShardID();
- }
-
- public static com.hederahashgraph.api.proto.java.ShardID getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- *the shard number (nonnegative) - *- * - *
int64 shardNum = 1;
- */
- long getShardNum();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/Signature.java b/target/generated-sources/com/hederahashgraph/api/proto/java/Signature.java
deleted file mode 100644
index e0df0b62b..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/Signature.java
+++ /dev/null
@@ -1,1360 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * A Signature corresponding to a Key. It is a sequence of bytes holding a public key signature from one of the three supported systems (ed25519, RSA-3072, ECDSA with p384). Or, it can be a list of signatures corresponding to a single threshold key. Or, it can be the ID of a smart contract instance, which is authorized to act as if it had a key. If an account has an ed25519 key associated with it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it. If it has a smart contract ID associated with it, then that smart contract is allowed to transfer cryptocurrency out of it. The smart contract doesn't actually have a key, and doesn't actually sign a transaction. But it's as if a virtual transaction were created, and the smart contract signed it with a private key. A key can also be a "threshold key", which means a list of M keys, any N of which must sign in order for the threshold signature to be considered valid. The keys within a threshold signature may themselves be threshold signatures, to allow complex signature requirements (this nesting is not supported in the currently, but will be supported in a future version of API). If a Signature message is missing the "signature" field, then this is considered to be a null signature. That is useful in cases such as threshold signatures, where some of the signatures can be null. - * The definition of Key uses mutual recursion, so it allows nesting that is arbitrarily deep. But the current API only accepts Key messages up to 3 levels deep, such as a list of threshold keys, each of which is a list of primitive keys. Therefore, the matching Signature will have the same limitation. This restriction may be relaxed in future versions of the API, to allow deeper nesting. - *- * - * Protobuf type {@code proto.Signature} - */ -public final class Signature extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.Signature) - SignatureOrBuilder { -private static final long serialVersionUID = 0L; - // Use Signature.newBuilder() to construct. - private Signature(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private Signature() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Signature( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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: { - signatureCase_ = 1; - signature_ = input.readBytes(); - break; - } - case 18: { - signatureCase_ = 2; - signature_ = input.readBytes(); - break; - } - case 26: { - signatureCase_ = 3; - signature_ = input.readBytes(); - break; - } - case 34: { - signatureCase_ = 4; - signature_ = input.readBytes(); - break; - } - case 42: { - com.hederahashgraph.api.proto.java.ThresholdSignature.Builder subBuilder = null; - if (signatureCase_ == 5) { - subBuilder = ((com.hederahashgraph.api.proto.java.ThresholdSignature) signature_).toBuilder(); - } - signature_ = - input.readMessage(com.hederahashgraph.api.proto.java.ThresholdSignature.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ThresholdSignature) signature_); - signature_ = subBuilder.buildPartial(); - } - signatureCase_ = 5; - break; - } - case 50: { - com.hederahashgraph.api.proto.java.SignatureList.Builder subBuilder = null; - if (signatureCase_ == 6) { - subBuilder = ((com.hederahashgraph.api.proto.java.SignatureList) signature_).toBuilder(); - } - signature_ = - input.readMessage(com.hederahashgraph.api.proto.java.SignatureList.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.SignatureList) signature_); - signature_ = subBuilder.buildPartial(); - } - signatureCase_ = 6; - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_Signature_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_Signature_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.Signature.class, com.hederahashgraph.api.proto.java.Signature.Builder.class); - } - - private int signatureCase_ = 0; - private java.lang.Object signature_; - public enum SignatureCase - implements com.google.protobuf.Internal.EnumLite { - CONTRACT(1), - ED25519(2), - RSA_3072(3), - ECDSA_384(4), - THRESHOLDSIGNATURE(5), - SIGNATURELIST(6), - SIGNATURE_NOT_SET(0); - private final int value; - private SignatureCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static SignatureCase valueOf(int value) { - return forNumber(value); - } - - public static SignatureCase forNumber(int value) { - switch (value) { - case 1: return CONTRACT; - case 2: return ED25519; - case 3: return RSA_3072; - case 4: return ECDSA_384; - case 5: return THRESHOLDSIGNATURE; - case 6: return SIGNATURELIST; - case 0: return SIGNATURE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - public SignatureCase - getSignatureCase() { - return SignatureCase.forNumber( - signatureCase_); - } - - public static final int CONTRACT_FIELD_NUMBER = 1; - /** - *
- * smart contract virtual signature (always length zero) - *- * - *
bytes contract = 1;
- */
- public com.google.protobuf.ByteString getContract() {
- if (signatureCase_ == 1) {
- return (com.google.protobuf.ByteString) signature_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
-
- public static final int ED25519_FIELD_NUMBER = 2;
- /**
- * - * ed25519 signature - *- * - *
bytes ed25519 = 2;
- */
- public com.google.protobuf.ByteString getEd25519() {
- if (signatureCase_ == 2) {
- return (com.google.protobuf.ByteString) signature_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
-
- public static final int RSA_3072_FIELD_NUMBER = 3;
- /**
- * - *RSA-3072 signature - *- * - *
bytes RSA_3072 = 3;
- */
- public com.google.protobuf.ByteString getRSA3072() {
- if (signatureCase_ == 3) {
- return (com.google.protobuf.ByteString) signature_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
-
- public static final int ECDSA_384_FIELD_NUMBER = 4;
- /**
- * - *ECDSA p-384 signature - *- * - *
bytes ECDSA_384 = 4;
- */
- public com.google.protobuf.ByteString getECDSA384() {
- if (signatureCase_ == 4) {
- return (com.google.protobuf.ByteString) signature_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
-
- public static final int THRESHOLDSIGNATURE_FIELD_NUMBER = 5;
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public boolean hasThresholdSignature() {
- return signatureCase_ == 5;
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdSignature getThresholdSignature() {
- if (signatureCase_ == 5) {
- return (com.hederahashgraph.api.proto.java.ThresholdSignature) signature_;
- }
- return com.hederahashgraph.api.proto.java.ThresholdSignature.getDefaultInstance();
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdSignatureOrBuilder getThresholdSignatureOrBuilder() {
- if (signatureCase_ == 5) {
- return (com.hederahashgraph.api.proto.java.ThresholdSignature) signature_;
- }
- return com.hederahashgraph.api.proto.java.ThresholdSignature.getDefaultInstance();
- }
-
- public static final int SIGNATURELIST_FIELD_NUMBER = 6;
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public boolean hasSignatureList() {
- return signatureCase_ == 6;
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public com.hederahashgraph.api.proto.java.SignatureList getSignatureList() {
- if (signatureCase_ == 6) {
- return (com.hederahashgraph.api.proto.java.SignatureList) signature_;
- }
- return com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance();
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public com.hederahashgraph.api.proto.java.SignatureListOrBuilder getSignatureListOrBuilder() {
- if (signatureCase_ == 6) {
- return (com.hederahashgraph.api.proto.java.SignatureList) signature_;
- }
- return com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance();
- }
-
- 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 (signatureCase_ == 1) {
- output.writeBytes(
- 1, (com.google.protobuf.ByteString) signature_);
- }
- if (signatureCase_ == 2) {
- output.writeBytes(
- 2, (com.google.protobuf.ByteString) signature_);
- }
- if (signatureCase_ == 3) {
- output.writeBytes(
- 3, (com.google.protobuf.ByteString) signature_);
- }
- if (signatureCase_ == 4) {
- output.writeBytes(
- 4, (com.google.protobuf.ByteString) signature_);
- }
- if (signatureCase_ == 5) {
- output.writeMessage(5, (com.hederahashgraph.api.proto.java.ThresholdSignature) signature_);
- }
- if (signatureCase_ == 6) {
- output.writeMessage(6, (com.hederahashgraph.api.proto.java.SignatureList) signature_);
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (signatureCase_ == 1) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(
- 1, (com.google.protobuf.ByteString) signature_);
- }
- if (signatureCase_ == 2) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(
- 2, (com.google.protobuf.ByteString) signature_);
- }
- if (signatureCase_ == 3) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(
- 3, (com.google.protobuf.ByteString) signature_);
- }
- if (signatureCase_ == 4) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(
- 4, (com.google.protobuf.ByteString) signature_);
- }
- if (signatureCase_ == 5) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, (com.hederahashgraph.api.proto.java.ThresholdSignature) signature_);
- }
- if (signatureCase_ == 6) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, (com.hederahashgraph.api.proto.java.SignatureList) signature_);
- }
- 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.Signature)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.Signature other = (com.hederahashgraph.api.proto.java.Signature) obj;
-
- boolean result = true;
- result = result && getSignatureCase().equals(
- other.getSignatureCase());
- if (!result) return false;
- switch (signatureCase_) {
- case 1:
- result = result && getContract()
- .equals(other.getContract());
- break;
- case 2:
- result = result && getEd25519()
- .equals(other.getEd25519());
- break;
- case 3:
- result = result && getRSA3072()
- .equals(other.getRSA3072());
- break;
- case 4:
- result = result && getECDSA384()
- .equals(other.getECDSA384());
- break;
- case 5:
- result = result && getThresholdSignature()
- .equals(other.getThresholdSignature());
- break;
- case 6:
- result = result && getSignatureList()
- .equals(other.getSignatureList());
- break;
- case 0:
- default:
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- switch (signatureCase_) {
- case 1:
- hash = (37 * hash) + CONTRACT_FIELD_NUMBER;
- hash = (53 * hash) + getContract().hashCode();
- break;
- case 2:
- hash = (37 * hash) + ED25519_FIELD_NUMBER;
- hash = (53 * hash) + getEd25519().hashCode();
- break;
- case 3:
- hash = (37 * hash) + RSA_3072_FIELD_NUMBER;
- hash = (53 * hash) + getRSA3072().hashCode();
- break;
- case 4:
- hash = (37 * hash) + ECDSA_384_FIELD_NUMBER;
- hash = (53 * hash) + getECDSA384().hashCode();
- break;
- case 5:
- hash = (37 * hash) + THRESHOLDSIGNATURE_FIELD_NUMBER;
- hash = (53 * hash) + getThresholdSignature().hashCode();
- break;
- case 6:
- hash = (37 * hash) + SIGNATURELIST_FIELD_NUMBER;
- hash = (53 * hash) + getSignatureList().hashCode();
- break;
- case 0:
- default:
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.Signature parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.Signature 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.Signature parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.Signature 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.Signature parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.Signature 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.Signature parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.Signature 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.Signature parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.Signature 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.Signature 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.Signature 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.Signature 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;
- }
- /**
- * - * A Signature corresponding to a Key. It is a sequence of bytes holding a public key signature from one of the three supported systems (ed25519, RSA-3072, ECDSA with p384). Or, it can be a list of signatures corresponding to a single threshold key. Or, it can be the ID of a smart contract instance, which is authorized to act as if it had a key. If an account has an ed25519 key associated with it, then the corresponding private key must sign any transaction to transfer cryptocurrency out of it. If it has a smart contract ID associated with it, then that smart contract is allowed to transfer cryptocurrency out of it. The smart contract doesn't actually have a key, and doesn't actually sign a transaction. But it's as if a virtual transaction were created, and the smart contract signed it with a private key. A key can also be a "threshold key", which means a list of M keys, any N of which must sign in order for the threshold signature to be considered valid. The keys within a threshold signature may themselves be threshold signatures, to allow complex signature requirements (this nesting is not supported in the currently, but will be supported in a future version of API). If a Signature message is missing the "signature" field, then this is considered to be a null signature. That is useful in cases such as threshold signatures, where some of the signatures can be null. - * The definition of Key uses mutual recursion, so it allows nesting that is arbitrarily deep. But the current API only accepts Key messages up to 3 levels deep, such as a list of threshold keys, each of which is a list of primitive keys. Therefore, the matching Signature will have the same limitation. This restriction may be relaxed in future versions of the API, to allow deeper nesting. - *- * - * Protobuf type {@code proto.Signature} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * smart contract virtual signature (always length zero) - *- * - *
bytes contract = 1;
- */
- public com.google.protobuf.ByteString getContract() {
- if (signatureCase_ == 1) {
- return (com.google.protobuf.ByteString) signature_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
- /**
- * - * smart contract virtual signature (always length zero) - *- * - *
bytes contract = 1;
- */
- public Builder setContract(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- signatureCase_ = 1;
- signature_ = value;
- onChanged();
- return this;
- }
- /**
- * - * smart contract virtual signature (always length zero) - *- * - *
bytes contract = 1;
- */
- public Builder clearContract() {
- if (signatureCase_ == 1) {
- signatureCase_ = 0;
- signature_ = null;
- onChanged();
- }
- return this;
- }
-
- /**
- * - * ed25519 signature - *- * - *
bytes ed25519 = 2;
- */
- public com.google.protobuf.ByteString getEd25519() {
- if (signatureCase_ == 2) {
- return (com.google.protobuf.ByteString) signature_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
- /**
- * - * ed25519 signature - *- * - *
bytes ed25519 = 2;
- */
- public Builder setEd25519(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- signatureCase_ = 2;
- signature_ = value;
- onChanged();
- return this;
- }
- /**
- * - * ed25519 signature - *- * - *
bytes ed25519 = 2;
- */
- public Builder clearEd25519() {
- if (signatureCase_ == 2) {
- signatureCase_ = 0;
- signature_ = null;
- onChanged();
- }
- return this;
- }
-
- /**
- * - *RSA-3072 signature - *- * - *
bytes RSA_3072 = 3;
- */
- public com.google.protobuf.ByteString getRSA3072() {
- if (signatureCase_ == 3) {
- return (com.google.protobuf.ByteString) signature_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
- /**
- * - *RSA-3072 signature - *- * - *
bytes RSA_3072 = 3;
- */
- public Builder setRSA3072(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- signatureCase_ = 3;
- signature_ = value;
- onChanged();
- return this;
- }
- /**
- * - *RSA-3072 signature - *- * - *
bytes RSA_3072 = 3;
- */
- public Builder clearRSA3072() {
- if (signatureCase_ == 3) {
- signatureCase_ = 0;
- signature_ = null;
- onChanged();
- }
- return this;
- }
-
- /**
- * - *ECDSA p-384 signature - *- * - *
bytes ECDSA_384 = 4;
- */
- public com.google.protobuf.ByteString getECDSA384() {
- if (signatureCase_ == 4) {
- return (com.google.protobuf.ByteString) signature_;
- }
- return com.google.protobuf.ByteString.EMPTY;
- }
- /**
- * - *ECDSA p-384 signature - *- * - *
bytes ECDSA_384 = 4;
- */
- public Builder setECDSA384(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- signatureCase_ = 4;
- signature_ = value;
- onChanged();
- return this;
- }
- /**
- * - *ECDSA p-384 signature - *- * - *
bytes ECDSA_384 = 4;
- */
- public Builder clearECDSA384() {
- if (signatureCase_ == 4) {
- signatureCase_ = 0;
- signature_ = null;
- onChanged();
- }
- return this;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ThresholdSignature, com.hederahashgraph.api.proto.java.ThresholdSignature.Builder, com.hederahashgraph.api.proto.java.ThresholdSignatureOrBuilder> thresholdSignatureBuilder_;
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public boolean hasThresholdSignature() {
- return signatureCase_ == 5;
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdSignature getThresholdSignature() {
- if (thresholdSignatureBuilder_ == null) {
- if (signatureCase_ == 5) {
- return (com.hederahashgraph.api.proto.java.ThresholdSignature) signature_;
- }
- return com.hederahashgraph.api.proto.java.ThresholdSignature.getDefaultInstance();
- } else {
- if (signatureCase_ == 5) {
- return thresholdSignatureBuilder_.getMessage();
- }
- return com.hederahashgraph.api.proto.java.ThresholdSignature.getDefaultInstance();
- }
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public Builder setThresholdSignature(com.hederahashgraph.api.proto.java.ThresholdSignature value) {
- if (thresholdSignatureBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- signature_ = value;
- onChanged();
- } else {
- thresholdSignatureBuilder_.setMessage(value);
- }
- signatureCase_ = 5;
- return this;
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public Builder setThresholdSignature(
- com.hederahashgraph.api.proto.java.ThresholdSignature.Builder builderForValue) {
- if (thresholdSignatureBuilder_ == null) {
- signature_ = builderForValue.build();
- onChanged();
- } else {
- thresholdSignatureBuilder_.setMessage(builderForValue.build());
- }
- signatureCase_ = 5;
- return this;
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public Builder mergeThresholdSignature(com.hederahashgraph.api.proto.java.ThresholdSignature value) {
- if (thresholdSignatureBuilder_ == null) {
- if (signatureCase_ == 5 &&
- signature_ != com.hederahashgraph.api.proto.java.ThresholdSignature.getDefaultInstance()) {
- signature_ = com.hederahashgraph.api.proto.java.ThresholdSignature.newBuilder((com.hederahashgraph.api.proto.java.ThresholdSignature) signature_)
- .mergeFrom(value).buildPartial();
- } else {
- signature_ = value;
- }
- onChanged();
- } else {
- if (signatureCase_ == 5) {
- thresholdSignatureBuilder_.mergeFrom(value);
- }
- thresholdSignatureBuilder_.setMessage(value);
- }
- signatureCase_ = 5;
- return this;
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public Builder clearThresholdSignature() {
- if (thresholdSignatureBuilder_ == null) {
- if (signatureCase_ == 5) {
- signatureCase_ = 0;
- signature_ = null;
- onChanged();
- }
- } else {
- if (signatureCase_ == 5) {
- signatureCase_ = 0;
- signature_ = null;
- }
- thresholdSignatureBuilder_.clear();
- }
- return this;
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdSignature.Builder getThresholdSignatureBuilder() {
- return getThresholdSignatureFieldBuilder().getBuilder();
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- public com.hederahashgraph.api.proto.java.ThresholdSignatureOrBuilder getThresholdSignatureOrBuilder() {
- if ((signatureCase_ == 5) && (thresholdSignatureBuilder_ != null)) {
- return thresholdSignatureBuilder_.getMessageOrBuilder();
- } else {
- if (signatureCase_ == 5) {
- return (com.hederahashgraph.api.proto.java.ThresholdSignature) signature_;
- }
- return com.hederahashgraph.api.proto.java.ThresholdSignature.getDefaultInstance();
- }
- }
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ThresholdSignature, com.hederahashgraph.api.proto.java.ThresholdSignature.Builder, com.hederahashgraph.api.proto.java.ThresholdSignatureOrBuilder>
- getThresholdSignatureFieldBuilder() {
- if (thresholdSignatureBuilder_ == null) {
- if (!(signatureCase_ == 5)) {
- signature_ = com.hederahashgraph.api.proto.java.ThresholdSignature.getDefaultInstance();
- }
- thresholdSignatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.ThresholdSignature, com.hederahashgraph.api.proto.java.ThresholdSignature.Builder, com.hederahashgraph.api.proto.java.ThresholdSignatureOrBuilder>(
- (com.hederahashgraph.api.proto.java.ThresholdSignature) signature_,
- getParentForChildren(),
- isClean());
- signature_ = null;
- }
- signatureCase_ = 5;
- onChanged();;
- return thresholdSignatureBuilder_;
- }
-
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.SignatureList, com.hederahashgraph.api.proto.java.SignatureList.Builder, com.hederahashgraph.api.proto.java.SignatureListOrBuilder> signatureListBuilder_;
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public boolean hasSignatureList() {
- return signatureCase_ == 6;
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public com.hederahashgraph.api.proto.java.SignatureList getSignatureList() {
- if (signatureListBuilder_ == null) {
- if (signatureCase_ == 6) {
- return (com.hederahashgraph.api.proto.java.SignatureList) signature_;
- }
- return com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance();
- } else {
- if (signatureCase_ == 6) {
- return signatureListBuilder_.getMessage();
- }
- return com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance();
- }
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public Builder setSignatureList(com.hederahashgraph.api.proto.java.SignatureList value) {
- if (signatureListBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- signature_ = value;
- onChanged();
- } else {
- signatureListBuilder_.setMessage(value);
- }
- signatureCase_ = 6;
- return this;
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public Builder setSignatureList(
- com.hederahashgraph.api.proto.java.SignatureList.Builder builderForValue) {
- if (signatureListBuilder_ == null) {
- signature_ = builderForValue.build();
- onChanged();
- } else {
- signatureListBuilder_.setMessage(builderForValue.build());
- }
- signatureCase_ = 6;
- return this;
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public Builder mergeSignatureList(com.hederahashgraph.api.proto.java.SignatureList value) {
- if (signatureListBuilder_ == null) {
- if (signatureCase_ == 6 &&
- signature_ != com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance()) {
- signature_ = com.hederahashgraph.api.proto.java.SignatureList.newBuilder((com.hederahashgraph.api.proto.java.SignatureList) signature_)
- .mergeFrom(value).buildPartial();
- } else {
- signature_ = value;
- }
- onChanged();
- } else {
- if (signatureCase_ == 6) {
- signatureListBuilder_.mergeFrom(value);
- }
- signatureListBuilder_.setMessage(value);
- }
- signatureCase_ = 6;
- return this;
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public Builder clearSignatureList() {
- if (signatureListBuilder_ == null) {
- if (signatureCase_ == 6) {
- signatureCase_ = 0;
- signature_ = null;
- onChanged();
- }
- } else {
- if (signatureCase_ == 6) {
- signatureCase_ = 0;
- signature_ = null;
- }
- signatureListBuilder_.clear();
- }
- return this;
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public com.hederahashgraph.api.proto.java.SignatureList.Builder getSignatureListBuilder() {
- return getSignatureListFieldBuilder().getBuilder();
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- public com.hederahashgraph.api.proto.java.SignatureListOrBuilder getSignatureListOrBuilder() {
- if ((signatureCase_ == 6) && (signatureListBuilder_ != null)) {
- return signatureListBuilder_.getMessageOrBuilder();
- } else {
- if (signatureCase_ == 6) {
- return (com.hederahashgraph.api.proto.java.SignatureList) signature_;
- }
- return com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance();
- }
- }
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.SignatureList, com.hederahashgraph.api.proto.java.SignatureList.Builder, com.hederahashgraph.api.proto.java.SignatureListOrBuilder>
- getSignatureListFieldBuilder() {
- if (signatureListBuilder_ == null) {
- if (!(signatureCase_ == 6)) {
- signature_ = com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance();
- }
- signatureListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.SignatureList, com.hederahashgraph.api.proto.java.SignatureList.Builder, com.hederahashgraph.api.proto.java.SignatureListOrBuilder>(
- (com.hederahashgraph.api.proto.java.SignatureList) signature_,
- getParentForChildren(),
- isClean());
- signature_ = null;
- }
- signatureCase_ = 6;
- onChanged();;
- return signatureListBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.Signature)
- }
-
- // @@protoc_insertion_point(class_scope:proto.Signature)
- private static final com.hederahashgraph.api.proto.java.Signature DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.Signature();
- }
-
- public static com.hederahashgraph.api.proto.java.Signature getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * The signatures corresponding to a KeyList of the same length - *- * - * Protobuf type {@code proto.SignatureList} - */ -public final class SignatureList extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.SignatureList) - SignatureListOrBuilder { -private static final long serialVersionUID = 0L; - // Use SignatureList.newBuilder() to construct. - private SignatureList(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private SignatureList() { - sigs_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SignatureList( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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 18: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - sigs_ = new java.util.ArrayList
- * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public java.util.List- * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public java.util.List extends com.hederahashgraph.api.proto.java.SignatureOrBuilder>
- getSigsOrBuilderList() {
- return sigs_;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public int getSigsCount() {
- return sigs_.size();
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.Signature getSigs(int index) {
- return sigs_.get(index);
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.SignatureOrBuilder getSigsOrBuilder(
- int index) {
- return sigs_.get(index);
- }
-
- 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 {
- for (int i = 0; i < sigs_.size(); i++) {
- output.writeMessage(2, sigs_.get(i));
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < sigs_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, sigs_.get(i));
- }
- 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.SignatureList)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.SignatureList other = (com.hederahashgraph.api.proto.java.SignatureList) obj;
-
- boolean result = true;
- result = result && getSigsList()
- .equals(other.getSigsList());
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (getSigsCount() > 0) {
- hash = (37 * hash) + SIGS_FIELD_NUMBER;
- hash = (53 * hash) + getSigsList().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.SignatureList parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.SignatureList 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.SignatureList parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.SignatureList 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.SignatureList parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.SignatureList 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.SignatureList parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.SignatureList 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.SignatureList parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.SignatureList 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.SignatureList 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.SignatureList 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.SignatureList 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;
- }
- /**
- * - * The signatures corresponding to a KeyList of the same length - *- * - * Protobuf type {@code proto.SignatureList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public java.util.List- * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public int getSigsCount() {
- if (sigsBuilder_ == null) {
- return sigs_.size();
- } else {
- return sigsBuilder_.getCount();
- }
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.Signature getSigs(int index) {
- if (sigsBuilder_ == null) {
- return sigs_.get(index);
- } else {
- return sigsBuilder_.getMessage(index);
- }
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public Builder setSigs(
- int index, com.hederahashgraph.api.proto.java.Signature value) {
- if (sigsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSigsIsMutable();
- sigs_.set(index, value);
- onChanged();
- } else {
- sigsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public Builder setSigs(
- int index, com.hederahashgraph.api.proto.java.Signature.Builder builderForValue) {
- if (sigsBuilder_ == null) {
- ensureSigsIsMutable();
- sigs_.set(index, builderForValue.build());
- onChanged();
- } else {
- sigsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public Builder addSigs(com.hederahashgraph.api.proto.java.Signature value) {
- if (sigsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSigsIsMutable();
- sigs_.add(value);
- onChanged();
- } else {
- sigsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public Builder addSigs(
- int index, com.hederahashgraph.api.proto.java.Signature value) {
- if (sigsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSigsIsMutable();
- sigs_.add(index, value);
- onChanged();
- } else {
- sigsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public Builder addSigs(
- com.hederahashgraph.api.proto.java.Signature.Builder builderForValue) {
- if (sigsBuilder_ == null) {
- ensureSigsIsMutable();
- sigs_.add(builderForValue.build());
- onChanged();
- } else {
- sigsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public Builder addSigs(
- int index, com.hederahashgraph.api.proto.java.Signature.Builder builderForValue) {
- if (sigsBuilder_ == null) {
- ensureSigsIsMutable();
- sigs_.add(index, builderForValue.build());
- onChanged();
- } else {
- sigsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public Builder addAllSigs(
- java.lang.Iterable extends com.hederahashgraph.api.proto.java.Signature> values) {
- if (sigsBuilder_ == null) {
- ensureSigsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, sigs_);
- onChanged();
- } else {
- sigsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public Builder clearSigs() {
- if (sigsBuilder_ == null) {
- sigs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- sigsBuilder_.clear();
- }
- return this;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public Builder removeSigs(int index) {
- if (sigsBuilder_ == null) {
- ensureSigsIsMutable();
- sigs_.remove(index);
- onChanged();
- } else {
- sigsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.Signature.Builder getSigsBuilder(
- int index) {
- return getSigsFieldBuilder().getBuilder(index);
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.SignatureOrBuilder getSigsOrBuilder(
- int index) {
- if (sigsBuilder_ == null) {
- return sigs_.get(index); } else {
- return sigsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public java.util.List extends com.hederahashgraph.api.proto.java.SignatureOrBuilder>
- getSigsOrBuilderList() {
- if (sigsBuilder_ != null) {
- return sigsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(sigs_);
- }
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.Signature.Builder addSigsBuilder() {
- return getSigsFieldBuilder().addBuilder(
- com.hederahashgraph.api.proto.java.Signature.getDefaultInstance());
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.Signature.Builder addSigsBuilder(
- int index) {
- return getSigsFieldBuilder().addBuilder(
- index, com.hederahashgraph.api.proto.java.Signature.getDefaultInstance());
- }
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- public java.util.List- * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- java.util.List- * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- com.hederahashgraph.api.proto.java.Signature getSigs(int index);
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- int getSigsCount();
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- java.util.List extends com.hederahashgraph.api.proto.java.SignatureOrBuilder>
- getSigsOrBuilderList();
- /**
- * - * each signature corresponds to a Key in the KeyList - *- * - *
repeated .proto.Signature sigs = 2;
- */
- com.hederahashgraph.api.proto.java.SignatureOrBuilder getSigsOrBuilder(
- int index);
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/SignatureOrBuilder.java b/target/generated-sources/com/hederahashgraph/api/proto/java/SignatureOrBuilder.java
deleted file mode 100644
index a08b5c067..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/SignatureOrBuilder.java
+++ /dev/null
@@ -1,97 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-public interface SignatureOrBuilder extends
- // @@protoc_insertion_point(interface_extends:proto.Signature)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * - * smart contract virtual signature (always length zero) - *- * - *
bytes contract = 1;
- */
- com.google.protobuf.ByteString getContract();
-
- /**
- * - * ed25519 signature - *- * - *
bytes ed25519 = 2;
- */
- com.google.protobuf.ByteString getEd25519();
-
- /**
- * - *RSA-3072 signature - *- * - *
bytes RSA_3072 = 3;
- */
- com.google.protobuf.ByteString getRSA3072();
-
- /**
- * - *ECDSA p-384 signature - *- * - *
bytes ECDSA_384 = 4;
- */
- com.google.protobuf.ByteString getECDSA384();
-
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- boolean hasThresholdSignature();
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- com.hederahashgraph.api.proto.java.ThresholdSignature getThresholdSignature();
- /**
- * - * a list of signatures for a single N-of-M threshold Key. This must be a list of exactly M signatures, at least N of which are non-null. - *- * - *
.proto.ThresholdSignature thresholdSignature = 5;
- */
- com.hederahashgraph.api.proto.java.ThresholdSignatureOrBuilder getThresholdSignatureOrBuilder();
-
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- boolean hasSignatureList();
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- com.hederahashgraph.api.proto.java.SignatureList getSignatureList();
- /**
- * - * a list of M signatures, each corresponding to a Key in a KeyList of the same length. - *- * - *
.proto.SignatureList signatureList = 6;
- */
- com.hederahashgraph.api.proto.java.SignatureListOrBuilder getSignatureListOrBuilder();
-
- public com.hederahashgraph.api.proto.java.Signature.SignatureCase getSignatureCase();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/ThresholdKey.java b/target/generated-sources/com/hederahashgraph/api/proto/java/ThresholdKey.java
deleted file mode 100644
index ddd1b4744..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/ThresholdKey.java
+++ /dev/null
@@ -1,725 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * A set of public keys that are used together to form a threshold signature. If the threshold is N and there are M keys, then this is an N of M threshold signature. If an account is associated with ThresholdKeys, then a transaction to move cryptocurrency out of it must be signed by a list of M signatures, where at most M-N of them are blank, and the other at least N of them are valid signatures corresponding to at least N of the public keys listed here. - *- * - * Protobuf type {@code proto.ThresholdKey} - */ -public final class ThresholdKey extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.ThresholdKey) - ThresholdKeyOrBuilder { -private static final long serialVersionUID = 0L; - // Use ThresholdKey.newBuilder() to construct. - private ThresholdKey(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private ThresholdKey() { - threshold_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ThresholdKey( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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 8: { - - threshold_ = input.readUInt32(); - break; - } - case 18: { - com.hederahashgraph.api.proto.java.KeyList.Builder subBuilder = null; - if (keys_ != null) { - subBuilder = keys_.toBuilder(); - } - keys_ = input.readMessage(com.hederahashgraph.api.proto.java.KeyList.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(keys_); - keys_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_ThresholdKey_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_ThresholdKey_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.ThresholdKey.class, com.hederahashgraph.api.proto.java.ThresholdKey.Builder.class); - } - - public static final int THRESHOLD_FIELD_NUMBER = 1; - private int threshold_; - /** - *
- * a valid signature set must have at least this many signatures - *- * - *
uint32 threshold = 1;
- */
- public int getThreshold() {
- return threshold_;
- }
-
- public static final int KEYS_FIELD_NUMBER = 2;
- private com.hederahashgraph.api.proto.java.KeyList keys_;
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public boolean hasKeys() {
- return keys_ != null;
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public com.hederahashgraph.api.proto.java.KeyList getKeys() {
- return keys_ == null ? com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance() : keys_;
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public com.hederahashgraph.api.proto.java.KeyListOrBuilder getKeysOrBuilder() {
- return getKeys();
- }
-
- 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 (threshold_ != 0) {
- output.writeUInt32(1, threshold_);
- }
- if (keys_ != null) {
- output.writeMessage(2, getKeys());
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (threshold_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, threshold_);
- }
- if (keys_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getKeys());
- }
- 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.ThresholdKey)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.ThresholdKey other = (com.hederahashgraph.api.proto.java.ThresholdKey) obj;
-
- boolean result = true;
- result = result && (getThreshold()
- == other.getThreshold());
- result = result && (hasKeys() == other.hasKeys());
- if (hasKeys()) {
- result = result && getKeys()
- .equals(other.getKeys());
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + THRESHOLD_FIELD_NUMBER;
- hash = (53 * hash) + getThreshold();
- if (hasKeys()) {
- hash = (37 * hash) + KEYS_FIELD_NUMBER;
- hash = (53 * hash) + getKeys().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.ThresholdKey parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdKey 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.ThresholdKey parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdKey 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.ThresholdKey parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdKey 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.ThresholdKey parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdKey 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.ThresholdKey parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdKey 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.ThresholdKey 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.ThresholdKey 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.ThresholdKey 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;
- }
- /**
- * - * A set of public keys that are used together to form a threshold signature. If the threshold is N and there are M keys, then this is an N of M threshold signature. If an account is associated with ThresholdKeys, then a transaction to move cryptocurrency out of it must be signed by a list of M signatures, where at most M-N of them are blank, and the other at least N of them are valid signatures corresponding to at least N of the public keys listed here. - *- * - * Protobuf type {@code proto.ThresholdKey} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * a valid signature set must have at least this many signatures - *- * - *
uint32 threshold = 1;
- */
- public int getThreshold() {
- return threshold_;
- }
- /**
- * - * a valid signature set must have at least this many signatures - *- * - *
uint32 threshold = 1;
- */
- public Builder setThreshold(int value) {
-
- threshold_ = value;
- onChanged();
- return this;
- }
- /**
- * - * a valid signature set must have at least this many signatures - *- * - *
uint32 threshold = 1;
- */
- public Builder clearThreshold() {
-
- threshold_ = 0;
- onChanged();
- return this;
- }
-
- private com.hederahashgraph.api.proto.java.KeyList keys_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.KeyList, com.hederahashgraph.api.proto.java.KeyList.Builder, com.hederahashgraph.api.proto.java.KeyListOrBuilder> keysBuilder_;
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public boolean hasKeys() {
- return keysBuilder_ != null || keys_ != null;
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public com.hederahashgraph.api.proto.java.KeyList getKeys() {
- if (keysBuilder_ == null) {
- return keys_ == null ? com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance() : keys_;
- } else {
- return keysBuilder_.getMessage();
- }
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public Builder setKeys(com.hederahashgraph.api.proto.java.KeyList value) {
- if (keysBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- keys_ = value;
- onChanged();
- } else {
- keysBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public Builder setKeys(
- com.hederahashgraph.api.proto.java.KeyList.Builder builderForValue) {
- if (keysBuilder_ == null) {
- keys_ = builderForValue.build();
- onChanged();
- } else {
- keysBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public Builder mergeKeys(com.hederahashgraph.api.proto.java.KeyList value) {
- if (keysBuilder_ == null) {
- if (keys_ != null) {
- keys_ =
- com.hederahashgraph.api.proto.java.KeyList.newBuilder(keys_).mergeFrom(value).buildPartial();
- } else {
- keys_ = value;
- }
- onChanged();
- } else {
- keysBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public Builder clearKeys() {
- if (keysBuilder_ == null) {
- keys_ = null;
- onChanged();
- } else {
- keys_ = null;
- keysBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public com.hederahashgraph.api.proto.java.KeyList.Builder getKeysBuilder() {
-
- onChanged();
- return getKeysFieldBuilder().getBuilder();
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- public com.hederahashgraph.api.proto.java.KeyListOrBuilder getKeysOrBuilder() {
- if (keysBuilder_ != null) {
- return keysBuilder_.getMessageOrBuilder();
- } else {
- return keys_ == null ?
- com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance() : keys_;
- }
- }
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.KeyList, com.hederahashgraph.api.proto.java.KeyList.Builder, com.hederahashgraph.api.proto.java.KeyListOrBuilder>
- getKeysFieldBuilder() {
- if (keysBuilder_ == null) {
- keysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.KeyList, com.hederahashgraph.api.proto.java.KeyList.Builder, com.hederahashgraph.api.proto.java.KeyListOrBuilder>(
- getKeys(),
- getParentForChildren(),
- isClean());
- keys_ = null;
- }
- return keysBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.ThresholdKey)
- }
-
- // @@protoc_insertion_point(class_scope:proto.ThresholdKey)
- private static final com.hederahashgraph.api.proto.java.ThresholdKey DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.ThresholdKey();
- }
-
- public static com.hederahashgraph.api.proto.java.ThresholdKey getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * a valid signature set must have at least this many signatures - *- * - *
uint32 threshold = 1;
- */
- int getThreshold();
-
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- boolean hasKeys();
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- com.hederahashgraph.api.proto.java.KeyList getKeys();
- /**
- * - * list of all the keys that can sign - *- * - *
.proto.KeyList keys = 2;
- */
- com.hederahashgraph.api.proto.java.KeyListOrBuilder getKeysOrBuilder();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/ThresholdSignature.java b/target/generated-sources/com/hederahashgraph/api/proto/java/ThresholdSignature.java
deleted file mode 100644
index a9db05ae3..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/ThresholdSignature.java
+++ /dev/null
@@ -1,651 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * A signature corresponding to a ThresholdKey. For an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null. - *- * - * Protobuf type {@code proto.ThresholdSignature} - */ -public final class ThresholdSignature extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.ThresholdSignature) - ThresholdSignatureOrBuilder { -private static final long serialVersionUID = 0L; - // Use ThresholdSignature.newBuilder() to construct. - private ThresholdSignature(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private ThresholdSignature() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ThresholdSignature( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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 18: { - com.hederahashgraph.api.proto.java.SignatureList.Builder subBuilder = null; - if (sigs_ != null) { - subBuilder = sigs_.toBuilder(); - } - sigs_ = input.readMessage(com.hederahashgraph.api.proto.java.SignatureList.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sigs_); - sigs_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_ThresholdSignature_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_ThresholdSignature_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.ThresholdSignature.class, com.hederahashgraph.api.proto.java.ThresholdSignature.Builder.class); - } - - public static final int SIGS_FIELD_NUMBER = 2; - private com.hederahashgraph.api.proto.java.SignatureList sigs_; - /** - *
- * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public boolean hasSigs() {
- return sigs_ != null;
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.SignatureList getSigs() {
- return sigs_ == null ? com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance() : sigs_;
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.SignatureListOrBuilder getSigsOrBuilder() {
- return getSigs();
- }
-
- 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 (sigs_ != null) {
- output.writeMessage(2, getSigs());
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (sigs_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getSigs());
- }
- 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.ThresholdSignature)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.ThresholdSignature other = (com.hederahashgraph.api.proto.java.ThresholdSignature) obj;
-
- boolean result = true;
- result = result && (hasSigs() == other.hasSigs());
- if (hasSigs()) {
- result = result && getSigs()
- .equals(other.getSigs());
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasSigs()) {
- hash = (37 * hash) + SIGS_FIELD_NUMBER;
- hash = (53 * hash) + getSigs().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.ThresholdSignature parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdSignature 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.ThresholdSignature parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdSignature 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.ThresholdSignature parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdSignature 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.ThresholdSignature parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdSignature 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.ThresholdSignature parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.ThresholdSignature 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.ThresholdSignature 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.ThresholdSignature 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.ThresholdSignature 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;
- }
- /**
- * - * A signature corresponding to a ThresholdKey. For an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null. - *- * - * Protobuf type {@code proto.ThresholdSignature} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public boolean hasSigs() {
- return sigsBuilder_ != null || sigs_ != null;
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.SignatureList getSigs() {
- if (sigsBuilder_ == null) {
- return sigs_ == null ? com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance() : sigs_;
- } else {
- return sigsBuilder_.getMessage();
- }
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public Builder setSigs(com.hederahashgraph.api.proto.java.SignatureList value) {
- if (sigsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- sigs_ = value;
- onChanged();
- } else {
- sigsBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public Builder setSigs(
- com.hederahashgraph.api.proto.java.SignatureList.Builder builderForValue) {
- if (sigsBuilder_ == null) {
- sigs_ = builderForValue.build();
- onChanged();
- } else {
- sigsBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public Builder mergeSigs(com.hederahashgraph.api.proto.java.SignatureList value) {
- if (sigsBuilder_ == null) {
- if (sigs_ != null) {
- sigs_ =
- com.hederahashgraph.api.proto.java.SignatureList.newBuilder(sigs_).mergeFrom(value).buildPartial();
- } else {
- sigs_ = value;
- }
- onChanged();
- } else {
- sigsBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public Builder clearSigs() {
- if (sigsBuilder_ == null) {
- sigs_ = null;
- onChanged();
- } else {
- sigs_ = null;
- sigsBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.SignatureList.Builder getSigsBuilder() {
-
- onChanged();
- return getSigsFieldBuilder().getBuilder();
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- public com.hederahashgraph.api.proto.java.SignatureListOrBuilder getSigsOrBuilder() {
- if (sigsBuilder_ != null) {
- return sigsBuilder_.getMessageOrBuilder();
- } else {
- return sigs_ == null ?
- com.hederahashgraph.api.proto.java.SignatureList.getDefaultInstance() : sigs_;
- }
- }
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.SignatureList, com.hederahashgraph.api.proto.java.SignatureList.Builder, com.hederahashgraph.api.proto.java.SignatureListOrBuilder>
- getSigsFieldBuilder() {
- if (sigsBuilder_ == null) {
- sigsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.SignatureList, com.hederahashgraph.api.proto.java.SignatureList.Builder, com.hederahashgraph.api.proto.java.SignatureListOrBuilder>(
- getSigs(),
- getParentForChildren(),
- isClean());
- sigs_ = null;
- }
- return sigsBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.ThresholdSignature)
- }
-
- // @@protoc_insertion_point(class_scope:proto.ThresholdSignature)
- private static final com.hederahashgraph.api.proto.java.ThresholdSignature DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.ThresholdSignature();
- }
-
- public static com.hederahashgraph.api.proto.java.ThresholdSignature getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- boolean hasSigs();
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- com.hederahashgraph.api.proto.java.SignatureList getSigs();
- /**
- * - * for an N-of-M threshold key, this is a list of M signatures, at least N of which must be non-null - *- * - *
.proto.SignatureList sigs = 2;
- */
- com.hederahashgraph.api.proto.java.SignatureListOrBuilder getSigsOrBuilder();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/TransactionFeeSchedule.java b/target/generated-sources/com/hederahashgraph/api/proto/java/TransactionFeeSchedule.java
deleted file mode 100644
index bf87731ce..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/TransactionFeeSchedule.java
+++ /dev/null
@@ -1,764 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * The fees for a specific transaction or query based on the fee data. - *- * - * Protobuf type {@code proto.TransactionFeeSchedule} - */ -public final class TransactionFeeSchedule extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.TransactionFeeSchedule) - TransactionFeeScheduleOrBuilder { -private static final long serialVersionUID = 0L; - // Use TransactionFeeSchedule.newBuilder() to construct. - private TransactionFeeSchedule(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private TransactionFeeSchedule() { - hederaFunctionality_ = 0; - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TransactionFeeSchedule( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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 8: { - int rawValue = input.readEnum(); - - hederaFunctionality_ = rawValue; - break; - } - case 18: { - com.hederahashgraph.api.proto.java.FeeData.Builder subBuilder = null; - if (feeData_ != null) { - subBuilder = feeData_.toBuilder(); - } - feeData_ = input.readMessage(com.hederahashgraph.api.proto.java.FeeData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(feeData_); - feeData_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_TransactionFeeSchedule_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_TransactionFeeSchedule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.TransactionFeeSchedule.class, com.hederahashgraph.api.proto.java.TransactionFeeSchedule.Builder.class); - } - - public static final int HEDERAFUNCTIONALITY_FIELD_NUMBER = 1; - private int hederaFunctionality_; - /** - *
- * Specific Transaction or Query - *- * - *
.proto.HederaFunctionality hederaFunctionality = 1;
- */
- public int getHederaFunctionalityValue() {
- return hederaFunctionality_;
- }
- /**
- * - * Specific Transaction or Query - *- * - *
.proto.HederaFunctionality hederaFunctionality = 1;
- */
- public com.hederahashgraph.api.proto.java.HederaFunctionality getHederaFunctionality() {
- @SuppressWarnings("deprecation")
- com.hederahashgraph.api.proto.java.HederaFunctionality result = com.hederahashgraph.api.proto.java.HederaFunctionality.valueOf(hederaFunctionality_);
- return result == null ? com.hederahashgraph.api.proto.java.HederaFunctionality.UNRECOGNIZED : result;
- }
-
- public static final int FEEDATA_FIELD_NUMBER = 2;
- private com.hederahashgraph.api.proto.java.FeeData feeData_;
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public boolean hasFeeData() {
- return feeData_ != null;
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeData getFeeData() {
- return feeData_ == null ? com.hederahashgraph.api.proto.java.FeeData.getDefaultInstance() : feeData_;
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeDataOrBuilder getFeeDataOrBuilder() {
- return getFeeData();
- }
-
- 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 (hederaFunctionality_ != com.hederahashgraph.api.proto.java.HederaFunctionality.CryptoCreates.getNumber()) {
- output.writeEnum(1, hederaFunctionality_);
- }
- if (feeData_ != null) {
- output.writeMessage(2, getFeeData());
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (hederaFunctionality_ != com.hederahashgraph.api.proto.java.HederaFunctionality.CryptoCreates.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, hederaFunctionality_);
- }
- if (feeData_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getFeeData());
- }
- 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.TransactionFeeSchedule)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.TransactionFeeSchedule other = (com.hederahashgraph.api.proto.java.TransactionFeeSchedule) obj;
-
- boolean result = true;
- result = result && hederaFunctionality_ == other.hederaFunctionality_;
- result = result && (hasFeeData() == other.hasFeeData());
- if (hasFeeData()) {
- result = result && getFeeData()
- .equals(other.getFeeData());
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + HEDERAFUNCTIONALITY_FIELD_NUMBER;
- hash = (53 * hash) + hederaFunctionality_;
- if (hasFeeData()) {
- hash = (37 * hash) + FEEDATA_FIELD_NUMBER;
- hash = (53 * hash) + getFeeData().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.TransactionFeeSchedule parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.TransactionFeeSchedule 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.TransactionFeeSchedule parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.TransactionFeeSchedule 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.TransactionFeeSchedule parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.TransactionFeeSchedule 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.TransactionFeeSchedule parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.TransactionFeeSchedule 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.TransactionFeeSchedule parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.TransactionFeeSchedule 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.TransactionFeeSchedule 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.TransactionFeeSchedule 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.TransactionFeeSchedule 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;
- }
- /**
- * - * The fees for a specific transaction or query based on the fee data. - *- * - * Protobuf type {@code proto.TransactionFeeSchedule} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- * Specific Transaction or Query - *- * - *
.proto.HederaFunctionality hederaFunctionality = 1;
- */
- public int getHederaFunctionalityValue() {
- return hederaFunctionality_;
- }
- /**
- * - * Specific Transaction or Query - *- * - *
.proto.HederaFunctionality hederaFunctionality = 1;
- */
- public Builder setHederaFunctionalityValue(int value) {
- hederaFunctionality_ = value;
- onChanged();
- return this;
- }
- /**
- * - * Specific Transaction or Query - *- * - *
.proto.HederaFunctionality hederaFunctionality = 1;
- */
- public com.hederahashgraph.api.proto.java.HederaFunctionality getHederaFunctionality() {
- @SuppressWarnings("deprecation")
- com.hederahashgraph.api.proto.java.HederaFunctionality result = com.hederahashgraph.api.proto.java.HederaFunctionality.valueOf(hederaFunctionality_);
- return result == null ? com.hederahashgraph.api.proto.java.HederaFunctionality.UNRECOGNIZED : result;
- }
- /**
- * - * Specific Transaction or Query - *- * - *
.proto.HederaFunctionality hederaFunctionality = 1;
- */
- public Builder setHederaFunctionality(com.hederahashgraph.api.proto.java.HederaFunctionality value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- hederaFunctionality_ = value.getNumber();
- onChanged();
- return this;
- }
- /**
- * - * Specific Transaction or Query - *- * - *
.proto.HederaFunctionality hederaFunctionality = 1;
- */
- public Builder clearHederaFunctionality() {
-
- hederaFunctionality_ = 0;
- onChanged();
- return this;
- }
-
- private com.hederahashgraph.api.proto.java.FeeData feeData_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeData, com.hederahashgraph.api.proto.java.FeeData.Builder, com.hederahashgraph.api.proto.java.FeeDataOrBuilder> feeDataBuilder_;
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public boolean hasFeeData() {
- return feeDataBuilder_ != null || feeData_ != null;
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeData getFeeData() {
- if (feeDataBuilder_ == null) {
- return feeData_ == null ? com.hederahashgraph.api.proto.java.FeeData.getDefaultInstance() : feeData_;
- } else {
- return feeDataBuilder_.getMessage();
- }
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public Builder setFeeData(com.hederahashgraph.api.proto.java.FeeData value) {
- if (feeDataBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- feeData_ = value;
- onChanged();
- } else {
- feeDataBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public Builder setFeeData(
- com.hederahashgraph.api.proto.java.FeeData.Builder builderForValue) {
- if (feeDataBuilder_ == null) {
- feeData_ = builderForValue.build();
- onChanged();
- } else {
- feeDataBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public Builder mergeFeeData(com.hederahashgraph.api.proto.java.FeeData value) {
- if (feeDataBuilder_ == null) {
- if (feeData_ != null) {
- feeData_ =
- com.hederahashgraph.api.proto.java.FeeData.newBuilder(feeData_).mergeFrom(value).buildPartial();
- } else {
- feeData_ = value;
- }
- onChanged();
- } else {
- feeDataBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public Builder clearFeeData() {
- if (feeDataBuilder_ == null) {
- feeData_ = null;
- onChanged();
- } else {
- feeData_ = null;
- feeDataBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeData.Builder getFeeDataBuilder() {
-
- onChanged();
- return getFeeDataFieldBuilder().getBuilder();
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- public com.hederahashgraph.api.proto.java.FeeDataOrBuilder getFeeDataOrBuilder() {
- if (feeDataBuilder_ != null) {
- return feeDataBuilder_.getMessageOrBuilder();
- } else {
- return feeData_ == null ?
- com.hederahashgraph.api.proto.java.FeeData.getDefaultInstance() : feeData_;
- }
- }
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeData, com.hederahashgraph.api.proto.java.FeeData.Builder, com.hederahashgraph.api.proto.java.FeeDataOrBuilder>
- getFeeDataFieldBuilder() {
- if (feeDataBuilder_ == null) {
- feeDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.FeeData, com.hederahashgraph.api.proto.java.FeeData.Builder, com.hederahashgraph.api.proto.java.FeeDataOrBuilder>(
- getFeeData(),
- getParentForChildren(),
- isClean());
- feeData_ = null;
- }
- return feeDataBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.TransactionFeeSchedule)
- }
-
- // @@protoc_insertion_point(class_scope:proto.TransactionFeeSchedule)
- private static final com.hederahashgraph.api.proto.java.TransactionFeeSchedule DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.TransactionFeeSchedule();
- }
-
- public static com.hederahashgraph.api.proto.java.TransactionFeeSchedule getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- * Specific Transaction or Query - *- * - *
.proto.HederaFunctionality hederaFunctionality = 1;
- */
- int getHederaFunctionalityValue();
- /**
- * - * Specific Transaction or Query - *- * - *
.proto.HederaFunctionality hederaFunctionality = 1;
- */
- com.hederahashgraph.api.proto.java.HederaFunctionality getHederaFunctionality();
-
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- boolean hasFeeData();
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- com.hederahashgraph.api.proto.java.FeeData getFeeData();
- /**
- * - * the fee information about the query/data - *- * - *
.proto.FeeData feeData = 2;
- */
- com.hederahashgraph.api.proto.java.FeeDataOrBuilder getFeeDataOrBuilder();
-}
diff --git a/target/generated-sources/com/hederahashgraph/api/proto/java/TransactionID.java b/target/generated-sources/com/hederahashgraph/api/proto/java/TransactionID.java
deleted file mode 100644
index 63bb6f19d..000000000
--- a/target/generated-sources/com/hederahashgraph/api/proto/java/TransactionID.java
+++ /dev/null
@@ -1,880 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: BasicTypes.proto
-
-package com.hederahashgraph.api.proto.java;
-
-/**
- * - * The ID for a transaction. This is used for retrieving receipts and records for a transaction, for appending to a file right after creating it, for instantiating a smart contract with bytecode in a file just created, and internally by the network for detecting when duplicate transactions are submitted. A user might get a transaction processed faster by submitting it to N nodes, each with a different node account, but all with the same TransactionID. Then, the transaction will take effect when the first of all those nodes submits the transaction and it reaches consensus. The other transactions will not take effect. So this could make the transaction take effect faster, if any given node might be slow. However, the full transaction fee is charged for each transaction, so the total fee is N times as much if the transaction is sent to N nodes. - *- * - * Protobuf type {@code proto.TransactionID} - */ -public final class TransactionID extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:proto.TransactionID) - TransactionIDOrBuilder { -private static final long serialVersionUID = 0L; - // Use TransactionID.newBuilder() to construct. - private TransactionID(com.google.protobuf.GeneratedMessageV3.Builder> builder) { - super(builder); - } - private TransactionID() { - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TransactionID( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - 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.Timestamp.Builder subBuilder = null; - if (transactionValidStart_ != null) { - subBuilder = transactionValidStart_.toBuilder(); - } - transactionValidStart_ = input.readMessage(com.hederahashgraph.api.proto.java.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transactionValidStart_); - transactionValidStart_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.hederahashgraph.api.proto.java.AccountID.Builder subBuilder = null; - if (accountID_ != null) { - subBuilder = accountID_.toBuilder(); - } - accountID_ = input.readMessage(com.hederahashgraph.api.proto.java.AccountID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(accountID_); - accountID_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownFieldProto3( - 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.BasicTypes.internal_static_proto_TransactionID_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_TransactionID_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.hederahashgraph.api.proto.java.TransactionID.class, com.hederahashgraph.api.proto.java.TransactionID.Builder.class); - } - - public static final int ACCOUNTID_FIELD_NUMBER = 2; - private com.hederahashgraph.api.proto.java.AccountID accountID_; - /** - *
- *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public boolean hasAccountID() {
- return accountID_ != null;
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public com.hederahashgraph.api.proto.java.AccountID getAccountID() {
- return accountID_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : accountID_;
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIDOrBuilder() {
- return getAccountID();
- }
-
- public static final int TRANSACTIONVALIDSTART_FIELD_NUMBER = 1;
- private com.hederahashgraph.api.proto.java.Timestamp transactionValidStart_;
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public boolean hasTransactionValidStart() {
- return transactionValidStart_ != null;
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public com.hederahashgraph.api.proto.java.Timestamp getTransactionValidStart() {
- return transactionValidStart_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : transactionValidStart_;
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public com.hederahashgraph.api.proto.java.TimestampOrBuilder getTransactionValidStartOrBuilder() {
- return getTransactionValidStart();
- }
-
- 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 (transactionValidStart_ != null) {
- output.writeMessage(1, getTransactionValidStart());
- }
- if (accountID_ != null) {
- output.writeMessage(2, getAccountID());
- }
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (transactionValidStart_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getTransactionValidStart());
- }
- if (accountID_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getAccountID());
- }
- 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.TransactionID)) {
- return super.equals(obj);
- }
- com.hederahashgraph.api.proto.java.TransactionID other = (com.hederahashgraph.api.proto.java.TransactionID) obj;
-
- boolean result = true;
- result = result && (hasAccountID() == other.hasAccountID());
- if (hasAccountID()) {
- result = result && getAccountID()
- .equals(other.getAccountID());
- }
- result = result && (hasTransactionValidStart() == other.hasTransactionValidStart());
- if (hasTransactionValidStart()) {
- result = result && getTransactionValidStart()
- .equals(other.getTransactionValidStart());
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasAccountID()) {
- hash = (37 * hash) + ACCOUNTID_FIELD_NUMBER;
- hash = (53 * hash) + getAccountID().hashCode();
- }
- if (hasTransactionValidStart()) {
- hash = (37 * hash) + TRANSACTIONVALIDSTART_FIELD_NUMBER;
- hash = (53 * hash) + getTransactionValidStart().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.hederahashgraph.api.proto.java.TransactionID parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.TransactionID 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.TransactionID parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.TransactionID 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.TransactionID parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.hederahashgraph.api.proto.java.TransactionID 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.TransactionID parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.TransactionID 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.TransactionID parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.hederahashgraph.api.proto.java.TransactionID 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.TransactionID 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.TransactionID 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.TransactionID 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;
- }
- /**
- * - * The ID for a transaction. This is used for retrieving receipts and records for a transaction, for appending to a file right after creating it, for instantiating a smart contract with bytecode in a file just created, and internally by the network for detecting when duplicate transactions are submitted. A user might get a transaction processed faster by submitting it to N nodes, each with a different node account, but all with the same TransactionID. Then, the transaction will take effect when the first of all those nodes submits the transaction and it reaches consensus. The other transactions will not take effect. So this could make the transaction take effect faster, if any given node might be slow. However, the full transaction fee is charged for each transaction, so the total fee is N times as much if the transaction is sent to N nodes. - *- * - * Protobuf type {@code proto.TransactionID} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder
- *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public boolean hasAccountID() {
- return accountIDBuilder_ != null || accountID_ != null;
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public com.hederahashgraph.api.proto.java.AccountID getAccountID() {
- if (accountIDBuilder_ == null) {
- return accountID_ == null ? com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : accountID_;
- } else {
- return accountIDBuilder_.getMessage();
- }
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public Builder setAccountID(com.hederahashgraph.api.proto.java.AccountID value) {
- if (accountIDBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- accountID_ = value;
- onChanged();
- } else {
- accountIDBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public Builder setAccountID(
- com.hederahashgraph.api.proto.java.AccountID.Builder builderForValue) {
- if (accountIDBuilder_ == null) {
- accountID_ = builderForValue.build();
- onChanged();
- } else {
- accountIDBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public Builder mergeAccountID(com.hederahashgraph.api.proto.java.AccountID value) {
- if (accountIDBuilder_ == null) {
- if (accountID_ != null) {
- accountID_ =
- com.hederahashgraph.api.proto.java.AccountID.newBuilder(accountID_).mergeFrom(value).buildPartial();
- } else {
- accountID_ = value;
- }
- onChanged();
- } else {
- accountIDBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public Builder clearAccountID() {
- if (accountIDBuilder_ == null) {
- accountID_ = null;
- onChanged();
- } else {
- accountID_ = null;
- accountIDBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public com.hederahashgraph.api.proto.java.AccountID.Builder getAccountIDBuilder() {
-
- onChanged();
- return getAccountIDFieldBuilder().getBuilder();
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIDOrBuilder() {
- if (accountIDBuilder_ != null) {
- return accountIDBuilder_.getMessageOrBuilder();
- } else {
- return accountID_ == null ?
- com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance() : accountID_;
- }
- }
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>
- getAccountIDFieldBuilder() {
- if (accountIDBuilder_ == null) {
- accountIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>(
- getAccountID(),
- getParentForChildren(),
- isClean());
- accountID_ = null;
- }
- return accountIDBuilder_;
- }
-
- private com.hederahashgraph.api.proto.java.Timestamp transactionValidStart_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder> transactionValidStartBuilder_;
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public boolean hasTransactionValidStart() {
- return transactionValidStartBuilder_ != null || transactionValidStart_ != null;
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public com.hederahashgraph.api.proto.java.Timestamp getTransactionValidStart() {
- if (transactionValidStartBuilder_ == null) {
- return transactionValidStart_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : transactionValidStart_;
- } else {
- return transactionValidStartBuilder_.getMessage();
- }
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public Builder setTransactionValidStart(com.hederahashgraph.api.proto.java.Timestamp value) {
- if (transactionValidStartBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- transactionValidStart_ = value;
- onChanged();
- } else {
- transactionValidStartBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public Builder setTransactionValidStart(
- com.hederahashgraph.api.proto.java.Timestamp.Builder builderForValue) {
- if (transactionValidStartBuilder_ == null) {
- transactionValidStart_ = builderForValue.build();
- onChanged();
- } else {
- transactionValidStartBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public Builder mergeTransactionValidStart(com.hederahashgraph.api.proto.java.Timestamp value) {
- if (transactionValidStartBuilder_ == null) {
- if (transactionValidStart_ != null) {
- transactionValidStart_ =
- com.hederahashgraph.api.proto.java.Timestamp.newBuilder(transactionValidStart_).mergeFrom(value).buildPartial();
- } else {
- transactionValidStart_ = value;
- }
- onChanged();
- } else {
- transactionValidStartBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public Builder clearTransactionValidStart() {
- if (transactionValidStartBuilder_ == null) {
- transactionValidStart_ = null;
- onChanged();
- } else {
- transactionValidStart_ = null;
- transactionValidStartBuilder_ = null;
- }
-
- return this;
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public com.hederahashgraph.api.proto.java.Timestamp.Builder getTransactionValidStartBuilder() {
-
- onChanged();
- return getTransactionValidStartFieldBuilder().getBuilder();
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- public com.hederahashgraph.api.proto.java.TimestampOrBuilder getTransactionValidStartOrBuilder() {
- if (transactionValidStartBuilder_ != null) {
- return transactionValidStartBuilder_.getMessageOrBuilder();
- } else {
- return transactionValidStart_ == null ?
- com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : transactionValidStart_;
- }
- }
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>
- getTransactionValidStartFieldBuilder() {
- if (transactionValidStartBuilder_ == null) {
- transactionValidStartBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>(
- getTransactionValidStart(),
- getParentForChildren(),
- isClean());
- transactionValidStart_ = null;
- }
- return transactionValidStartBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:proto.TransactionID)
- }
-
- // @@protoc_insertion_point(class_scope:proto.TransactionID)
- private static final com.hederahashgraph.api.proto.java.TransactionID DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.TransactionID();
- }
-
- public static com.hederahashgraph.api.proto.java.TransactionID getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static final com.google.protobuf.Parser- *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- boolean hasAccountID();
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- com.hederahashgraph.api.proto.java.AccountID getAccountID();
- /**
- * - *the account that paid for this transaction - *- * - *
.proto.AccountID accountID = 2;
- */
- com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIDOrBuilder();
-
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- boolean hasTransactionValidStart();
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- com.hederahashgraph.api.proto.java.Timestamp getTransactionValidStart();
- /**
- * - * the transaction is invalid if consensusTimestamp < transactionID.transactionStartValid - *- * - *
.proto.Timestamp transactionValidStart = 1;
- */
- com.hederahashgraph.api.proto.java.TimestampOrBuilder getTransactionValidStartOrBuilder();
-}
diff --git a/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml b/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml
deleted file mode 100644
index 361cf5cd4..000000000
--- a/target/javadoc-bundle-options/javadoc-options-javadoc-resources.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-