public interface FileOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContents()
Prefix of the file contents as a JSON-encoded string.
|
com.google.protobuf.ByteString |
getContentsBytes()
Prefix of the file contents as a JSON-encoded string.
|
long |
getHashedSize()
The length in bytes of the file prefix that was hashed.
|
boolean |
getPartiallyHashed()
True when the hash covers only a prefix of the file.
|
String |
getPath()
Absolute path of the file as a JSON encoded string.
|
com.google.protobuf.ByteString |
getPathBytes()
Absolute path of the file as a JSON encoded string.
|
String |
getSha256()
SHA256 hash of the first hashed_size bytes of the file encoded as a
hex string.
|
com.google.protobuf.ByteString |
getSha256Bytes()
SHA256 hash of the first hashed_size bytes of the file encoded as a
hex string.
|
long |
getSize()
Size of the file in bytes.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getPath()
Absolute path of the file as a JSON encoded string.
string path = 1;com.google.protobuf.ByteString getPathBytes()
Absolute path of the file as a JSON encoded string.
string path = 1;long getSize()
Size of the file in bytes.
int64 size = 2;String getSha256()
SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
string sha256 = 3;com.google.protobuf.ByteString getSha256Bytes()
SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
string sha256 = 3;long getHashedSize()
The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
int64 hashed_size = 4;boolean getPartiallyHashed()
True when the hash covers only a prefix of the file.
bool partially_hashed = 5;String getContents()
Prefix of the file contents as a JSON-encoded string.
string contents = 6;com.google.protobuf.ByteString getContentsBytes()
Prefix of the file contents as a JSON-encoded string.
string contents = 6;Copyright © 2023 Google LLC. All rights reserved.