
shgraph.hedera-protobuf-java-api.0.13.2.source-code.FileUpdate.proto Maven / Gradle / Ivy
syntax = "proto3";
package proto;
/*-
*
* Hedera Network Services Protobuf
*
* Copyright (C) 2018 - 2021 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
option java_package = "com.hederahashgraph.api.proto.java";
option java_multiple_files = true;
import "BasicTypes.proto";
import "Timestamp.proto";
import "google/protobuf/wrappers.proto";
/*
Modify the metadata and/or contents of a file. If a field is not set in the transaction body, the corresponding file attribute will be unchanged. This transaction must be signed by all the keys in the key list of the file being updated. If the keys themselves are being update, then the transaction must also be signed by all the new keys.
*/
message FileUpdateTransactionBody {
FileID fileID = 1; // The ID of the file to update
Timestamp expirationTime = 2; // The new expiry time (ignored if not later than the current expiry)
KeyList keys = 3; // The new list of keys that can modify or delete the file
bytes contents = 4; // The new contents that should overwrite the file's current contents
google.protobuf.StringValue memo = 5; // If set, the new memo to be associated with the file (UTF-8 encoding max 100 bytes)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy