Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface FileUpdateTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FileUpdateTransactionBody,FileUpdateTransactionBody.Builder
@Generated
public interface FileUpdateTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString* An array of bytes.* An expiration timestamp.* A file identifier for the file to update.getKeys()* The new list of keys that "own" this file.com.google.protobuf.StringValuegetMemo()* A short description of this file.boolean* An expiration timestamp.boolean* A file identifier for the file to update.booleanhasKeys()* The new list of keys that "own" this file.booleanhasMemo()* A short description of this file.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasFileID
boolean hasFileID()* A file identifier for the file to update. <p> This field is REQUIRED.
.proto.FileID fileID = 1;- Returns:
- Whether the fileID field is set.
-
getFileID
FileID getFileID()* A file identifier for the file to update. <p> This field is REQUIRED.
.proto.FileID fileID = 1;- Returns:
- The fileID.
-
hasExpirationTime
boolean hasExpirationTime()* An expiration timestamp. <p> If set, this value MUST be strictly later than the existing `expirationTime` value, or else it will be ignored.<br/> If set, this value SHALL replace the existing `expirationTime`.<br/> If this field is the only field set, then this transaction SHALL NOT require any signature other than the `payer` for the transaction.<br/> When the network consensus time exceeds the then-current `expirationTime`, the network SHALL expire the file.
.proto.Timestamp expirationTime = 2;- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
Timestamp getExpirationTime()* An expiration timestamp. <p> If set, this value MUST be strictly later than the existing `expirationTime` value, or else it will be ignored.<br/> If set, this value SHALL replace the existing `expirationTime`.<br/> If this field is the only field set, then this transaction SHALL NOT require any signature other than the `payer` for the transaction.<br/> When the network consensus time exceeds the then-current `expirationTime`, the network SHALL expire the file.
.proto.Timestamp expirationTime = 2;- Returns:
- The expirationTime.
-
hasKeys
boolean hasKeys()* The new list of keys that "own" this file. <p> If set, every key in this `KeyList` MUST sign this transaction.<br/> If set, every key in the _previous_ `KeyList` MUST _also_ sign this transaction.<br/> If this value is an empty `KeyList`, then the file SHALL be immutable after completion of this transaction.
.proto.KeyList keys = 3;- Returns:
- Whether the keys field is set.
-
getKeys
KeyList getKeys()* The new list of keys that "own" this file. <p> If set, every key in this `KeyList` MUST sign this transaction.<br/> If set, every key in the _previous_ `KeyList` MUST _also_ sign this transaction.<br/> If this value is an empty `KeyList`, then the file SHALL be immutable after completion of this transaction.
.proto.KeyList keys = 3;- Returns:
- The keys.
-
getContents
com.google.protobuf.ByteString getContents()* An array of bytes. <p> This value, if set, SHALL _replace_ the existing file content. If this value is set to an empty byte array, the content of the file SHALL be unchanged.
bytes contents = 4;- Returns:
- The contents.
-
hasMemo
boolean hasMemo()* A short description of this file. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
.google.protobuf.StringValue memo = 5;- Returns:
- Whether the memo field is set.
-
getMemo
com.google.protobuf.StringValue getMemo()* A short description of this file. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
.google.protobuf.StringValue memo = 5;- Returns:
- The memo.
-