Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface FileAppendTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FileAppendTransactionBody,FileAppendTransactionBody.Builder
@Generated
public interface FileAppendTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString* An array of bytes to append.<br/> <p> This content SHALL be appended to the identified file if this transaction succeeds.<br/> This field is REQUIRED.<br/> This field MUST NOT be empty.* A file identifier.<br/> This identifies the file to which the `contents` will be appended.boolean* A file identifier.<br/> This identifies the file to which the `contents` will be appended.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasFileID
boolean hasFileID()* A file identifier.<br/> This identifies the file to which the `contents` will be appended. <p> This field is REQUIRED.<br/> The identified file MUST exist.<br/> The identified file MUST NOT be larger than the current maximum file size limit.<br/> The identified file MUST NOT be deleted.<br/> The identified file MUST NOT be immutable.
.proto.FileID fileID = 2;- Returns:
- Whether the fileID field is set.
-
getFileID
FileID getFileID()* A file identifier.<br/> This identifies the file to which the `contents` will be appended. <p> This field is REQUIRED.<br/> The identified file MUST exist.<br/> The identified file MUST NOT be larger than the current maximum file size limit.<br/> The identified file MUST NOT be deleted.<br/> The identified file MUST NOT be immutable.
.proto.FileID fileID = 2;- Returns:
- The fileID.
-
getContents
com.google.protobuf.ByteString getContents()* An array of bytes to append.<br/> <p> This content SHALL be appended to the identified file if this transaction succeeds.<br/> This field is REQUIRED.<br/> This field MUST NOT be empty.
bytes contents = 4;- Returns:
- The contents.
-