Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface FileGetContentsResponse.FileContentsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FileGetContentsResponse.FileContents,FileGetContentsResponse.FileContents.Builder
- Enclosing class:
FileGetContentsResponse
public static interface FileGetContentsResponse.FileContentsOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString* A byte array of file content.* A file identifier.boolean* A file identifier.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasFileID
boolean hasFileID()* A file identifier. <p> This SHALL be the identifier of a file that exists in HFS.<br/> This value SHALL identify the file that was queried.
.proto.FileID fileID = 1;- Returns:
- Whether the fileID field is set.
-
getFileID
FileID getFileID()* A file identifier. <p> This SHALL be the identifier of a file that exists in HFS.<br/> This value SHALL identify the file that was queried.
.proto.FileID fileID = 1;- Returns:
- The fileID.
-
getContents
com.google.protobuf.ByteString getContents()* A byte array of file content. <p> This SHALL contain the full content of the requested file.<br/> This SHALL be empty if, and only if, the file content is empty.
bytes contents = 2;- Returns:
- The contents.
-