Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface FileGetContentsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FileGetContentsResponse,FileGetContentsResponse.Builder
@Generated
public interface FileGetContentsResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* A combination of File identifier and content bytes.* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).boolean* A combination of File identifier and content bytes.boolean* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasHeader
boolean hasHeader()* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Returns:
- Whether the header field is set.
-
getHeader
ResponseHeader getHeader()* The standard response information for queries.<br/> This includes the values requested in the `QueryHeader` (cost, state proof, both, or neither).
.proto.ResponseHeader header = 1;- Returns:
- The header.
-
hasFileContents
boolean hasFileContents()* A combination of File identifier and content bytes. <p> This SHALL NOT be set if the file does not exist.<br/> The network MAY generate a state proof for this field.
.proto.FileGetContentsResponse.FileContents fileContents = 2;- Returns:
- Whether the fileContents field is set.
-
getFileContents
FileGetContentsResponse.FileContents getFileContents()* A combination of File identifier and content bytes. <p> This SHALL NOT be set if the file does not exist.<br/> The network MAY generate a state proof for this field.
.proto.FileGetContentsResponse.FileContents fileContents = 2;- Returns:
- The fileContents.
-