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

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

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: FileCreate.proto

package com.hederahashgraph.api.proto.java;

/**
 * 
 * Create a new file, containing the given contents.
 *After the file is created, the FileID for it can be found in the receipt, or record, or retrieved with a GetByKey query.
 *The file contains the specified contents (possibly empty). The file will automatically disappear at the expirationTime, unless its expiration is extended by another transaction before that time. If the file is deleted, then its contents will become empty and it will be marked as deleted until it expires, and then it will cease to exist.
 *The keys field is a list of keys. All the keys on the list must sign to create or modify a file, but only one of them needs to sign in order to delete the file.  Each of those "keys" may itself be threshold key containing other keys (including other threshold keys). In other words, the behavior is an AND for create/modify, OR for delete. This is useful for acting as a revocation server. If it is desired to have the behavior be AND for all 3 operations (or OR for all 3), then the list should have only a single Key, which is a threshold key, with N=1 for OR, N=M for AND.
 *If a file is created without ANY keys in the keys field, the file is immutable and ONLY the expirationTime of the file can be changed with a FileUpdate transaction. The file contents or its keys cannot be changed.
 *An entity (account, file, or smart contract instance) must be created in a particular realm. If the realmID is left null, then a new realm will be created with the given admin key. If a new realm has a null adminKey, then anyone can create/modify/delete entities in that realm. But if an admin key is given, then any transaction to create/modify/delete an entity in that realm must be signed by that key, though anyone can still call functions on smart contract instances that exist in that realm. A realm ceases to exist when everything within it has expired and no longer exists.
 *The current API ignores shardID, realmID, and newRealmAdminKey, and creates everything in shard 0 and realm 0, with a null key. Future versions of the API will support multiple realms and multiple shards.
 * 
* * Protobuf type {@code proto.FileCreateTransactionBody} */ public final class FileCreateTransactionBody extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.FileCreateTransactionBody) FileCreateTransactionBodyOrBuilder { private static final long serialVersionUID = 0L; // Use FileCreateTransactionBody.newBuilder() to construct. private FileCreateTransactionBody(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FileCreateTransactionBody() { contents_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FileCreateTransactionBody( 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; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 18: { com.hederahashgraph.api.proto.java.Timestamp.Builder subBuilder = null; if (expirationTime_ != null) { subBuilder = expirationTime_.toBuilder(); } expirationTime_ = input.readMessage(com.hederahashgraph.api.proto.java.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(expirationTime_); expirationTime_ = subBuilder.buildPartial(); } break; } case 26: { 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; } case 34: { contents_ = input.readBytes(); break; } case 42: { com.hederahashgraph.api.proto.java.ShardID.Builder subBuilder = null; if (shardID_ != null) { subBuilder = shardID_.toBuilder(); } shardID_ = input.readMessage(com.hederahashgraph.api.proto.java.ShardID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(shardID_); shardID_ = subBuilder.buildPartial(); } break; } case 50: { com.hederahashgraph.api.proto.java.RealmID.Builder subBuilder = null; if (realmID_ != null) { subBuilder = realmID_.toBuilder(); } realmID_ = input.readMessage(com.hederahashgraph.api.proto.java.RealmID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(realmID_); realmID_ = subBuilder.buildPartial(); } break; } case 58: { com.hederahashgraph.api.proto.java.Key.Builder subBuilder = null; if (newRealmAdminKey_ != null) { subBuilder = newRealmAdminKey_.toBuilder(); } newRealmAdminKey_ = input.readMessage(com.hederahashgraph.api.proto.java.Key.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(newRealmAdminKey_); newRealmAdminKey_ = subBuilder.buildPartial(); } 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.FileCreate.internal_static_proto_FileCreateTransactionBody_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.FileCreate.internal_static_proto_FileCreateTransactionBody_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.FileCreateTransactionBody.class, com.hederahashgraph.api.proto.java.FileCreateTransactionBody.Builder.class); } public static final int EXPIRATIONTIME_FIELD_NUMBER = 2; private com.hederahashgraph.api.proto.java.Timestamp expirationTime_; /** *
   * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
   * 
* * .proto.Timestamp expirationTime = 2; */ public boolean hasExpirationTime() { return expirationTime_ != null; } /** *
   * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
   * 
* * .proto.Timestamp expirationTime = 2; */ public com.hederahashgraph.api.proto.java.Timestamp getExpirationTime() { return expirationTime_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : expirationTime_; } /** *
   * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
   * 
* * .proto.Timestamp expirationTime = 2; */ public com.hederahashgraph.api.proto.java.TimestampOrBuilder getExpirationTimeOrBuilder() { return getExpirationTime(); } public static final int KEYS_FIELD_NUMBER = 3; private com.hederahashgraph.api.proto.java.KeyList keys_; /** *
   * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
   * 
* * .proto.KeyList keys = 3; */ public boolean hasKeys() { return keys_ != null; } /** *
   * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
   * 
* * .proto.KeyList keys = 3; */ public com.hederahashgraph.api.proto.java.KeyList getKeys() { return keys_ == null ? com.hederahashgraph.api.proto.java.KeyList.getDefaultInstance() : keys_; } /** *
   * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
   * 
* * .proto.KeyList keys = 3; */ public com.hederahashgraph.api.proto.java.KeyListOrBuilder getKeysOrBuilder() { return getKeys(); } public static final int CONTENTS_FIELD_NUMBER = 4; private com.google.protobuf.ByteString contents_; /** *
   * The bytes that are the contents of the file
   * 
* * bytes contents = 4; */ public com.google.protobuf.ByteString getContents() { return contents_; } public static final int SHARDID_FIELD_NUMBER = 5; private com.hederahashgraph.api.proto.java.ShardID shardID_; /** *
   * Shard in which this file is created
   * 
* * .proto.ShardID shardID = 5; */ public boolean hasShardID() { return shardID_ != null; } /** *
   * Shard in which this file is created
   * 
* * .proto.ShardID shardID = 5; */ public com.hederahashgraph.api.proto.java.ShardID getShardID() { return shardID_ == null ? com.hederahashgraph.api.proto.java.ShardID.getDefaultInstance() : shardID_; } /** *
   * Shard in which this file is created
   * 
* * .proto.ShardID shardID = 5; */ public com.hederahashgraph.api.proto.java.ShardIDOrBuilder getShardIDOrBuilder() { return getShardID(); } public static final int REALMID_FIELD_NUMBER = 6; private com.hederahashgraph.api.proto.java.RealmID realmID_; /** *
   * The Realm in which to the file is created (leave this null to create a new realm)
   * 
* * .proto.RealmID realmID = 6; */ public boolean hasRealmID() { return realmID_ != null; } /** *
   * The Realm in which to the file is created (leave this null to create a new realm)
   * 
* * .proto.RealmID realmID = 6; */ public com.hederahashgraph.api.proto.java.RealmID getRealmID() { return realmID_ == null ? com.hederahashgraph.api.proto.java.RealmID.getDefaultInstance() : realmID_; } /** *
   * The Realm in which to the file is created (leave this null to create a new realm)
   * 
* * .proto.RealmID realmID = 6; */ public com.hederahashgraph.api.proto.java.RealmIDOrBuilder getRealmIDOrBuilder() { return getRealmID(); } public static final int NEWREALMADMINKEY_FIELD_NUMBER = 7; private com.hederahashgraph.api.proto.java.Key newRealmAdminKey_; /** *
   * If realmID is null, then this the admin key for the new realm that will be created
   * 
* * .proto.Key newRealmAdminKey = 7; */ public boolean hasNewRealmAdminKey() { return newRealmAdminKey_ != null; } /** *
   * If realmID is null, then this the admin key for the new realm that will be created
   * 
* * .proto.Key newRealmAdminKey = 7; */ public com.hederahashgraph.api.proto.java.Key getNewRealmAdminKey() { return newRealmAdminKey_ == null ? com.hederahashgraph.api.proto.java.Key.getDefaultInstance() : newRealmAdminKey_; } /** *
   * If realmID is null, then this the admin key for the new realm that will be created
   * 
* * .proto.Key newRealmAdminKey = 7; */ public com.hederahashgraph.api.proto.java.KeyOrBuilder getNewRealmAdminKeyOrBuilder() { return getNewRealmAdminKey(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (expirationTime_ != null) { output.writeMessage(2, getExpirationTime()); } if (keys_ != null) { output.writeMessage(3, getKeys()); } if (!contents_.isEmpty()) { output.writeBytes(4, contents_); } if (shardID_ != null) { output.writeMessage(5, getShardID()); } if (realmID_ != null) { output.writeMessage(6, getRealmID()); } if (newRealmAdminKey_ != null) { output.writeMessage(7, getNewRealmAdminKey()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (expirationTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getExpirationTime()); } if (keys_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getKeys()); } if (!contents_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, contents_); } if (shardID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getShardID()); } if (realmID_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getRealmID()); } if (newRealmAdminKey_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getNewRealmAdminKey()); } 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.FileCreateTransactionBody)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.FileCreateTransactionBody other = (com.hederahashgraph.api.proto.java.FileCreateTransactionBody) obj; boolean result = true; result = result && (hasExpirationTime() == other.hasExpirationTime()); if (hasExpirationTime()) { result = result && getExpirationTime() .equals(other.getExpirationTime()); } result = result && (hasKeys() == other.hasKeys()); if (hasKeys()) { result = result && getKeys() .equals(other.getKeys()); } result = result && getContents() .equals(other.getContents()); result = result && (hasShardID() == other.hasShardID()); if (hasShardID()) { result = result && getShardID() .equals(other.getShardID()); } result = result && (hasRealmID() == other.hasRealmID()); if (hasRealmID()) { result = result && getRealmID() .equals(other.getRealmID()); } result = result && (hasNewRealmAdminKey() == other.hasNewRealmAdminKey()); if (hasNewRealmAdminKey()) { result = result && getNewRealmAdminKey() .equals(other.getNewRealmAdminKey()); } 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(); } if (hasKeys()) { hash = (37 * hash) + KEYS_FIELD_NUMBER; hash = (53 * hash) + getKeys().hashCode(); } hash = (37 * hash) + CONTENTS_FIELD_NUMBER; hash = (53 * hash) + getContents().hashCode(); if (hasShardID()) { hash = (37 * hash) + SHARDID_FIELD_NUMBER; hash = (53 * hash) + getShardID().hashCode(); } if (hasRealmID()) { hash = (37 * hash) + REALMID_FIELD_NUMBER; hash = (53 * hash) + getRealmID().hashCode(); } if (hasNewRealmAdminKey()) { hash = (37 * hash) + NEWREALMADMINKEY_FIELD_NUMBER; hash = (53 * hash) + getNewRealmAdminKey().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.FileCreateTransactionBody parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.FileCreateTransactionBody 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.FileCreateTransactionBody parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.FileCreateTransactionBody 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.FileCreateTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.FileCreateTransactionBody 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.FileCreateTransactionBody parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.FileCreateTransactionBody 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.FileCreateTransactionBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.FileCreateTransactionBody 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.FileCreateTransactionBody 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.FileCreateTransactionBody parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.hederahashgraph.api.proto.java.FileCreateTransactionBody prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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; } /** *
   * Create a new file, containing the given contents.
   *After the file is created, the FileID for it can be found in the receipt, or record, or retrieved with a GetByKey query.
   *The file contains the specified contents (possibly empty). The file will automatically disappear at the expirationTime, unless its expiration is extended by another transaction before that time. If the file is deleted, then its contents will become empty and it will be marked as deleted until it expires, and then it will cease to exist.
   *The keys field is a list of keys. All the keys on the list must sign to create or modify a file, but only one of them needs to sign in order to delete the file.  Each of those "keys" may itself be threshold key containing other keys (including other threshold keys). In other words, the behavior is an AND for create/modify, OR for delete. This is useful for acting as a revocation server. If it is desired to have the behavior be AND for all 3 operations (or OR for all 3), then the list should have only a single Key, which is a threshold key, with N=1 for OR, N=M for AND.
   *If a file is created without ANY keys in the keys field, the file is immutable and ONLY the expirationTime of the file can be changed with a FileUpdate transaction. The file contents or its keys cannot be changed.
   *An entity (account, file, or smart contract instance) must be created in a particular realm. If the realmID is left null, then a new realm will be created with the given admin key. If a new realm has a null adminKey, then anyone can create/modify/delete entities in that realm. But if an admin key is given, then any transaction to create/modify/delete an entity in that realm must be signed by that key, though anyone can still call functions on smart contract instances that exist in that realm. A realm ceases to exist when everything within it has expired and no longer exists.
   *The current API ignores shardID, realmID, and newRealmAdminKey, and creates everything in shard 0 and realm 0, with a null key. Future versions of the API will support multiple realms and multiple shards.
   * 
* * Protobuf type {@code proto.FileCreateTransactionBody} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.FileCreateTransactionBody) com.hederahashgraph.api.proto.java.FileCreateTransactionBodyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.FileCreate.internal_static_proto_FileCreateTransactionBody_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.FileCreate.internal_static_proto_FileCreateTransactionBody_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.FileCreateTransactionBody.class, com.hederahashgraph.api.proto.java.FileCreateTransactionBody.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.FileCreateTransactionBody.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); if (expirationTimeBuilder_ == null) { expirationTime_ = null; } else { expirationTime_ = null; expirationTimeBuilder_ = null; } if (keysBuilder_ == null) { keys_ = null; } else { keys_ = null; keysBuilder_ = null; } contents_ = com.google.protobuf.ByteString.EMPTY; if (shardIDBuilder_ == null) { shardID_ = null; } else { shardID_ = null; shardIDBuilder_ = null; } if (realmIDBuilder_ == null) { realmID_ = null; } else { realmID_ = null; realmIDBuilder_ = null; } if (newRealmAdminKeyBuilder_ == null) { newRealmAdminKey_ = null; } else { newRealmAdminKey_ = null; newRealmAdminKeyBuilder_ = null; } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.FileCreate.internal_static_proto_FileCreateTransactionBody_descriptor; } public com.hederahashgraph.api.proto.java.FileCreateTransactionBody getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.FileCreateTransactionBody.getDefaultInstance(); } public com.hederahashgraph.api.proto.java.FileCreateTransactionBody build() { com.hederahashgraph.api.proto.java.FileCreateTransactionBody result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.hederahashgraph.api.proto.java.FileCreateTransactionBody buildPartial() { com.hederahashgraph.api.proto.java.FileCreateTransactionBody result = new com.hederahashgraph.api.proto.java.FileCreateTransactionBody(this); if (expirationTimeBuilder_ == null) { result.expirationTime_ = expirationTime_; } else { result.expirationTime_ = expirationTimeBuilder_.build(); } if (keysBuilder_ == null) { result.keys_ = keys_; } else { result.keys_ = keysBuilder_.build(); } result.contents_ = contents_; if (shardIDBuilder_ == null) { result.shardID_ = shardID_; } else { result.shardID_ = shardIDBuilder_.build(); } if (realmIDBuilder_ == null) { result.realmID_ = realmID_; } else { result.realmID_ = realmIDBuilder_.build(); } if (newRealmAdminKeyBuilder_ == null) { result.newRealmAdminKey_ = newRealmAdminKey_; } else { result.newRealmAdminKey_ = newRealmAdminKeyBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.hederahashgraph.api.proto.java.FileCreateTransactionBody) { return mergeFrom((com.hederahashgraph.api.proto.java.FileCreateTransactionBody)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.FileCreateTransactionBody other) { if (other == com.hederahashgraph.api.proto.java.FileCreateTransactionBody.getDefaultInstance()) return this; if (other.hasExpirationTime()) { mergeExpirationTime(other.getExpirationTime()); } if (other.hasKeys()) { mergeKeys(other.getKeys()); } if (other.getContents() != com.google.protobuf.ByteString.EMPTY) { setContents(other.getContents()); } if (other.hasShardID()) { mergeShardID(other.getShardID()); } if (other.hasRealmID()) { mergeRealmID(other.getRealmID()); } if (other.hasNewRealmAdminKey()) { mergeNewRealmAdminKey(other.getNewRealmAdminKey()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.hederahashgraph.api.proto.java.FileCreateTransactionBody parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.FileCreateTransactionBody) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.hederahashgraph.api.proto.java.Timestamp expirationTime_ = 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> expirationTimeBuilder_; /** *
     * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
     * 
* * .proto.Timestamp expirationTime = 2; */ public boolean hasExpirationTime() { return expirationTimeBuilder_ != null || expirationTime_ != null; } /** *
     * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
     * 
* * .proto.Timestamp expirationTime = 2; */ public com.hederahashgraph.api.proto.java.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { return expirationTime_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** *
     * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
     * 
* * .proto.Timestamp expirationTime = 2; */ public Builder setExpirationTime(com.hederahashgraph.api.proto.java.Timestamp value) { if (expirationTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expirationTime_ = value; onChanged(); } else { expirationTimeBuilder_.setMessage(value); } return this; } /** *
     * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
     * 
* * .proto.Timestamp expirationTime = 2; */ public Builder setExpirationTime( com.hederahashgraph.api.proto.java.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); onChanged(); } else { expirationTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
     * 
* * .proto.Timestamp expirationTime = 2; */ public Builder mergeExpirationTime(com.hederahashgraph.api.proto.java.Timestamp value) { if (expirationTimeBuilder_ == null) { if (expirationTime_ != null) { expirationTime_ = com.hederahashgraph.api.proto.java.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); } else { expirationTime_ = value; } onChanged(); } else { expirationTimeBuilder_.mergeFrom(value); } return this; } /** *
     * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
     * 
* * .proto.Timestamp expirationTime = 2; */ public Builder clearExpirationTime() { if (expirationTimeBuilder_ == null) { expirationTime_ = null; onChanged(); } else { expirationTime_ = null; expirationTimeBuilder_ = null; } return this; } /** *
     * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
     * 
* * .proto.Timestamp expirationTime = 2; */ public com.hederahashgraph.api.proto.java.Timestamp.Builder getExpirationTimeBuilder() { onChanged(); return getExpirationTimeFieldBuilder().getBuilder(); } /** *
     * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
     * 
* * .proto.Timestamp expirationTime = 2; */ public com.hederahashgraph.api.proto.java.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { return expirationTime_ == null ? com.hederahashgraph.api.proto.java.Timestamp.getDefaultInstance() : expirationTime_; } } /** *
     * The time at which this file should expire (unless FileUpdateTransaction is used before then to extend its life)
     * 
* * .proto.Timestamp expirationTime = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Timestamp, com.hederahashgraph.api.proto.java.Timestamp.Builder, com.hederahashgraph.api.proto.java.TimestampOrBuilder>( getExpirationTime(), getParentForChildren(), isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } private com.hederahashgraph.api.proto.java.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_; /** *
     * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
     * 
* * .proto.KeyList keys = 3; */ public boolean hasKeys() { return keysBuilder_ != null || keys_ != null; } /** *
     * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
     * 
* * .proto.KeyList keys = 3; */ 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(); } } /** *
     * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
     * 
* * .proto.KeyList keys = 3; */ 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; } /** *
     * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
     * 
* * .proto.KeyList keys = 3; */ 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; } /** *
     * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
     * 
* * .proto.KeyList keys = 3; */ 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; } /** *
     * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
     * 
* * .proto.KeyList keys = 3; */ public Builder clearKeys() { if (keysBuilder_ == null) { keys_ = null; onChanged(); } else { keys_ = null; keysBuilder_ = null; } return this; } /** *
     * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
     * 
* * .proto.KeyList keys = 3; */ public com.hederahashgraph.api.proto.java.KeyList.Builder getKeysBuilder() { onChanged(); return getKeysFieldBuilder().getBuilder(); } /** *
     * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
     * 
* * .proto.KeyList keys = 3; */ 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_; } } /** *
     * All these keys must sign to create or modify the file. Any one of them can sign to delete the file.
     * 
* * .proto.KeyList keys = 3; */ 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_; } private com.google.protobuf.ByteString contents_ = com.google.protobuf.ByteString.EMPTY; /** *
     * The bytes that are the contents of the file
     * 
* * bytes contents = 4; */ public com.google.protobuf.ByteString getContents() { return contents_; } /** *
     * The bytes that are the contents of the file
     * 
* * bytes contents = 4; */ public Builder setContents(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } contents_ = value; onChanged(); return this; } /** *
     * The bytes that are the contents of the file
     * 
* * bytes contents = 4; */ public Builder clearContents() { contents_ = getDefaultInstance().getContents(); onChanged(); return this; } private com.hederahashgraph.api.proto.java.ShardID shardID_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ShardID, com.hederahashgraph.api.proto.java.ShardID.Builder, com.hederahashgraph.api.proto.java.ShardIDOrBuilder> shardIDBuilder_; /** *
     * Shard in which this file is created
     * 
* * .proto.ShardID shardID = 5; */ public boolean hasShardID() { return shardIDBuilder_ != null || shardID_ != null; } /** *
     * Shard in which this file is created
     * 
* * .proto.ShardID shardID = 5; */ public com.hederahashgraph.api.proto.java.ShardID getShardID() { if (shardIDBuilder_ == null) { return shardID_ == null ? com.hederahashgraph.api.proto.java.ShardID.getDefaultInstance() : shardID_; } else { return shardIDBuilder_.getMessage(); } } /** *
     * Shard in which this file is created
     * 
* * .proto.ShardID shardID = 5; */ public Builder setShardID(com.hederahashgraph.api.proto.java.ShardID value) { if (shardIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } shardID_ = value; onChanged(); } else { shardIDBuilder_.setMessage(value); } return this; } /** *
     * Shard in which this file is created
     * 
* * .proto.ShardID shardID = 5; */ public Builder setShardID( com.hederahashgraph.api.proto.java.ShardID.Builder builderForValue) { if (shardIDBuilder_ == null) { shardID_ = builderForValue.build(); onChanged(); } else { shardIDBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Shard in which this file is created
     * 
* * .proto.ShardID shardID = 5; */ public Builder mergeShardID(com.hederahashgraph.api.proto.java.ShardID value) { if (shardIDBuilder_ == null) { if (shardID_ != null) { shardID_ = com.hederahashgraph.api.proto.java.ShardID.newBuilder(shardID_).mergeFrom(value).buildPartial(); } else { shardID_ = value; } onChanged(); } else { shardIDBuilder_.mergeFrom(value); } return this; } /** *
     * Shard in which this file is created
     * 
* * .proto.ShardID shardID = 5; */ public Builder clearShardID() { if (shardIDBuilder_ == null) { shardID_ = null; onChanged(); } else { shardID_ = null; shardIDBuilder_ = null; } return this; } /** *
     * Shard in which this file is created
     * 
* * .proto.ShardID shardID = 5; */ public com.hederahashgraph.api.proto.java.ShardID.Builder getShardIDBuilder() { onChanged(); return getShardIDFieldBuilder().getBuilder(); } /** *
     * Shard in which this file is created
     * 
* * .proto.ShardID shardID = 5; */ public com.hederahashgraph.api.proto.java.ShardIDOrBuilder getShardIDOrBuilder() { if (shardIDBuilder_ != null) { return shardIDBuilder_.getMessageOrBuilder(); } else { return shardID_ == null ? com.hederahashgraph.api.proto.java.ShardID.getDefaultInstance() : shardID_; } } /** *
     * Shard in which this file is created
     * 
* * .proto.ShardID shardID = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ShardID, com.hederahashgraph.api.proto.java.ShardID.Builder, com.hederahashgraph.api.proto.java.ShardIDOrBuilder> getShardIDFieldBuilder() { if (shardIDBuilder_ == null) { shardIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ShardID, com.hederahashgraph.api.proto.java.ShardID.Builder, com.hederahashgraph.api.proto.java.ShardIDOrBuilder>( getShardID(), getParentForChildren(), isClean()); shardID_ = null; } return shardIDBuilder_; } private com.hederahashgraph.api.proto.java.RealmID realmID_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.RealmID, com.hederahashgraph.api.proto.java.RealmID.Builder, com.hederahashgraph.api.proto.java.RealmIDOrBuilder> realmIDBuilder_; /** *
     * The Realm in which to the file is created (leave this null to create a new realm)
     * 
* * .proto.RealmID realmID = 6; */ public boolean hasRealmID() { return realmIDBuilder_ != null || realmID_ != null; } /** *
     * The Realm in which to the file is created (leave this null to create a new realm)
     * 
* * .proto.RealmID realmID = 6; */ public com.hederahashgraph.api.proto.java.RealmID getRealmID() { if (realmIDBuilder_ == null) { return realmID_ == null ? com.hederahashgraph.api.proto.java.RealmID.getDefaultInstance() : realmID_; } else { return realmIDBuilder_.getMessage(); } } /** *
     * The Realm in which to the file is created (leave this null to create a new realm)
     * 
* * .proto.RealmID realmID = 6; */ public Builder setRealmID(com.hederahashgraph.api.proto.java.RealmID value) { if (realmIDBuilder_ == null) { if (value == null) { throw new NullPointerException(); } realmID_ = value; onChanged(); } else { realmIDBuilder_.setMessage(value); } return this; } /** *
     * The Realm in which to the file is created (leave this null to create a new realm)
     * 
* * .proto.RealmID realmID = 6; */ public Builder setRealmID( com.hederahashgraph.api.proto.java.RealmID.Builder builderForValue) { if (realmIDBuilder_ == null) { realmID_ = builderForValue.build(); onChanged(); } else { realmIDBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The Realm in which to the file is created (leave this null to create a new realm)
     * 
* * .proto.RealmID realmID = 6; */ public Builder mergeRealmID(com.hederahashgraph.api.proto.java.RealmID value) { if (realmIDBuilder_ == null) { if (realmID_ != null) { realmID_ = com.hederahashgraph.api.proto.java.RealmID.newBuilder(realmID_).mergeFrom(value).buildPartial(); } else { realmID_ = value; } onChanged(); } else { realmIDBuilder_.mergeFrom(value); } return this; } /** *
     * The Realm in which to the file is created (leave this null to create a new realm)
     * 
* * .proto.RealmID realmID = 6; */ public Builder clearRealmID() { if (realmIDBuilder_ == null) { realmID_ = null; onChanged(); } else { realmID_ = null; realmIDBuilder_ = null; } return this; } /** *
     * The Realm in which to the file is created (leave this null to create a new realm)
     * 
* * .proto.RealmID realmID = 6; */ public com.hederahashgraph.api.proto.java.RealmID.Builder getRealmIDBuilder() { onChanged(); return getRealmIDFieldBuilder().getBuilder(); } /** *
     * The Realm in which to the file is created (leave this null to create a new realm)
     * 
* * .proto.RealmID realmID = 6; */ public com.hederahashgraph.api.proto.java.RealmIDOrBuilder getRealmIDOrBuilder() { if (realmIDBuilder_ != null) { return realmIDBuilder_.getMessageOrBuilder(); } else { return realmID_ == null ? com.hederahashgraph.api.proto.java.RealmID.getDefaultInstance() : realmID_; } } /** *
     * The Realm in which to the file is created (leave this null to create a new realm)
     * 
* * .proto.RealmID realmID = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.RealmID, com.hederahashgraph.api.proto.java.RealmID.Builder, com.hederahashgraph.api.proto.java.RealmIDOrBuilder> getRealmIDFieldBuilder() { if (realmIDBuilder_ == null) { realmIDBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.RealmID, com.hederahashgraph.api.proto.java.RealmID.Builder, com.hederahashgraph.api.proto.java.RealmIDOrBuilder>( getRealmID(), getParentForChildren(), isClean()); realmID_ = null; } return realmIDBuilder_; } private com.hederahashgraph.api.proto.java.Key newRealmAdminKey_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Key, com.hederahashgraph.api.proto.java.Key.Builder, com.hederahashgraph.api.proto.java.KeyOrBuilder> newRealmAdminKeyBuilder_; /** *
     * If realmID is null, then this the admin key for the new realm that will be created
     * 
* * .proto.Key newRealmAdminKey = 7; */ public boolean hasNewRealmAdminKey() { return newRealmAdminKeyBuilder_ != null || newRealmAdminKey_ != null; } /** *
     * If realmID is null, then this the admin key for the new realm that will be created
     * 
* * .proto.Key newRealmAdminKey = 7; */ public com.hederahashgraph.api.proto.java.Key getNewRealmAdminKey() { if (newRealmAdminKeyBuilder_ == null) { return newRealmAdminKey_ == null ? com.hederahashgraph.api.proto.java.Key.getDefaultInstance() : newRealmAdminKey_; } else { return newRealmAdminKeyBuilder_.getMessage(); } } /** *
     * If realmID is null, then this the admin key for the new realm that will be created
     * 
* * .proto.Key newRealmAdminKey = 7; */ public Builder setNewRealmAdminKey(com.hederahashgraph.api.proto.java.Key value) { if (newRealmAdminKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } newRealmAdminKey_ = value; onChanged(); } else { newRealmAdminKeyBuilder_.setMessage(value); } return this; } /** *
     * If realmID is null, then this the admin key for the new realm that will be created
     * 
* * .proto.Key newRealmAdminKey = 7; */ public Builder setNewRealmAdminKey( com.hederahashgraph.api.proto.java.Key.Builder builderForValue) { if (newRealmAdminKeyBuilder_ == null) { newRealmAdminKey_ = builderForValue.build(); onChanged(); } else { newRealmAdminKeyBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * If realmID is null, then this the admin key for the new realm that will be created
     * 
* * .proto.Key newRealmAdminKey = 7; */ public Builder mergeNewRealmAdminKey(com.hederahashgraph.api.proto.java.Key value) { if (newRealmAdminKeyBuilder_ == null) { if (newRealmAdminKey_ != null) { newRealmAdminKey_ = com.hederahashgraph.api.proto.java.Key.newBuilder(newRealmAdminKey_).mergeFrom(value).buildPartial(); } else { newRealmAdminKey_ = value; } onChanged(); } else { newRealmAdminKeyBuilder_.mergeFrom(value); } return this; } /** *
     * If realmID is null, then this the admin key for the new realm that will be created
     * 
* * .proto.Key newRealmAdminKey = 7; */ public Builder clearNewRealmAdminKey() { if (newRealmAdminKeyBuilder_ == null) { newRealmAdminKey_ = null; onChanged(); } else { newRealmAdminKey_ = null; newRealmAdminKeyBuilder_ = null; } return this; } /** *
     * If realmID is null, then this the admin key for the new realm that will be created
     * 
* * .proto.Key newRealmAdminKey = 7; */ public com.hederahashgraph.api.proto.java.Key.Builder getNewRealmAdminKeyBuilder() { onChanged(); return getNewRealmAdminKeyFieldBuilder().getBuilder(); } /** *
     * If realmID is null, then this the admin key for the new realm that will be created
     * 
* * .proto.Key newRealmAdminKey = 7; */ public com.hederahashgraph.api.proto.java.KeyOrBuilder getNewRealmAdminKeyOrBuilder() { if (newRealmAdminKeyBuilder_ != null) { return newRealmAdminKeyBuilder_.getMessageOrBuilder(); } else { return newRealmAdminKey_ == null ? com.hederahashgraph.api.proto.java.Key.getDefaultInstance() : newRealmAdminKey_; } } /** *
     * If realmID is null, then this the admin key for the new realm that will be created
     * 
* * .proto.Key newRealmAdminKey = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Key, com.hederahashgraph.api.proto.java.Key.Builder, com.hederahashgraph.api.proto.java.KeyOrBuilder> getNewRealmAdminKeyFieldBuilder() { if (newRealmAdminKeyBuilder_ == null) { newRealmAdminKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.Key, com.hederahashgraph.api.proto.java.Key.Builder, com.hederahashgraph.api.proto.java.KeyOrBuilder>( getNewRealmAdminKey(), getParentForChildren(), isClean()); newRealmAdminKey_ = null; } return newRealmAdminKeyBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:proto.FileCreateTransactionBody) } // @@protoc_insertion_point(class_scope:proto.FileCreateTransactionBody) private static final com.hederahashgraph.api.proto.java.FileCreateTransactionBody DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.FileCreateTransactionBody(); } public static com.hederahashgraph.api.proto.java.FileCreateTransactionBody getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FileCreateTransactionBody parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FileCreateTransactionBody(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.hederahashgraph.api.proto.java.FileCreateTransactionBody getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy