Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class FileDeleteTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<FileDeleteTransactionBody,FileDeleteTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<FileDeleteTransactionBody,FileDeleteTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.FileDeleteTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,FileDeleteTransactionBodyOrBuilder
@Generated
public final class FileDeleteTransactionBody
extends com.google.protobuf.GeneratedMessageLite<FileDeleteTransactionBody,FileDeleteTransactionBody.Builder>
implements FileDeleteTransactionBodyOrBuilder
* Mark a file as deleted and remove its content from network state. The metadata for a deleted file SHALL be retained at least until the expiration time for the file is exceeded.<br/> On completion, the identified file SHALL be marked `deleted`.<br/> On completion, the identified file SHALL have an empty `contents` array.<br/> This transaction SHALL be final and irreversible.<br/> #### Signature Requirements At least _one_ key from the `KeyList` in the `keys` field of the identified file MUST sign this transaction.<br/> If the keys field for the identified file is an empty `KeyList` (because that file was previously created or updated to have an empty `KeyList`), then the file is considered immutable and this message SHALL fail as UNAUTHORIZED. See the [File Service](#FileService) specification for a detailed explanation of the signature requirements for all file transactions. ### What is a "system" file A "system" file is any file with a file number less than or equal to the current configuration value for `ledger.numReservedSystemEntities`, typically `750`. ### Block Stream Effects NoneProtobuf type
proto.FileDeleteTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Mark a file as deleted and remove its content from network state.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static FileDeleteTransactionBody* A file identifier.<br/> This identifies the file to delete.boolean* A file identifier.<br/> This identifies the file to delete.newBuilder(FileDeleteTransactionBody prototype) static FileDeleteTransactionBodyparseDelimitedFrom(InputStream input) static FileDeleteTransactionBodyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileDeleteTransactionBodyparseFrom(byte[] data) static FileDeleteTransactionBodyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileDeleteTransactionBodyparseFrom(com.google.protobuf.ByteString data) static FileDeleteTransactionBodyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileDeleteTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input) static FileDeleteTransactionBodyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileDeleteTransactionBodyparseFrom(InputStream input) static FileDeleteTransactionBodyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileDeleteTransactionBodyparseFrom(ByteBuffer data) static FileDeleteTransactionBodyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FileDeleteTransactionBody> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
FILEID_FIELD_NUMBER
public static final int FILEID_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasFileID
public boolean hasFileID()* A file identifier.<br/> This identifies the file to delete. <p> The identified file MUST NOT be a "system" file.<br/> This field is REQUIRED.
.proto.FileID fileID = 2;- Specified by:
hasFileIDin interfaceFileDeleteTransactionBodyOrBuilder- Returns:
- Whether the fileID field is set.
-
getFileID
* A file identifier.<br/> This identifies the file to delete. <p> The identified file MUST NOT be a "system" file.<br/> This field is REQUIRED.
.proto.FileID fileID = 2;- Specified by:
getFileIDin interfaceFileDeleteTransactionBodyOrBuilder- Returns:
- The fileID.
-
parseFrom
public static FileDeleteTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileDeleteTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileDeleteTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileDeleteTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileDeleteTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileDeleteTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FileDeleteTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FileDeleteTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FileDeleteTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FileDeleteTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<FileDeleteTransactionBody,FileDeleteTransactionBody.Builder>
-
getDefaultInstance
-
parser
-