com.hedera.hashgraph.sdk.proto.FileOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: file.proto
// Protobuf Java Version: 3.25.4
package com.hedera.hashgraph.sdk.proto;
public interface FileOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.File)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* The file's unique file identifier in the Merkle state.
*
*
* .proto.FileID file_id = 1;
* @return Whether the fileId field is set.
*/
boolean hasFileId();
/**
*
**
* The file's unique file identifier in the Merkle state.
*
*
* .proto.FileID file_id = 1;
* @return The fileId.
*/
com.hedera.hashgraph.sdk.proto.FileID getFileId();
/**
*
**
* The file's consensus expiration time in seconds since the epoch.
*
*
* int64 expiration_second = 2;
* @return The expirationSecond.
*/
long getExpirationSecond();
/**
*
**
* All keys at the top level of a key list must sign to create, modify and delete the file.
*
*
* .proto.KeyList keys = 3;
* @return Whether the keys field is set.
*/
boolean hasKeys();
/**
*
**
* All keys at the top level of a key list must sign to create, modify and delete the file.
*
*
* .proto.KeyList keys = 3;
* @return The keys.
*/
com.hedera.hashgraph.sdk.proto.KeyList getKeys();
/**
*
**
* The bytes that are the contents of the file
*
*
* bytes contents = 4;
* @return The contents.
*/
com.google.protobuf.ByteString getContents();
/**
*
**
* The memo associated with the file (UTF-8 encoding max 100 bytes)
*
*
* string memo = 5;
* @return The memo.
*/
java.lang.String getMemo();
/**
*
**
* The memo associated with the file (UTF-8 encoding max 100 bytes)
*
*
* string memo = 5;
* @return The bytes for memo.
*/
com.google.protobuf.ByteString
getMemoBytes();
/**
*
**
* Whether this file is deleted.
*
*
* bool deleted = 6;
* @return The deleted.
*/
boolean getDeleted();
/**
*
**
* The pre system delete expiration time in seconds
*
*
* int64 pre_system_delete_expiration_second = 7;
* @return The preSystemDeleteExpirationSecond.
*/
long getPreSystemDeleteExpirationSecond();
}