public final class FileHashes extends GeneratedMessageV3 implements FileHashesOrBuilder
Container message for hashes of byte content of files, used in source
messages to verify integrity of source input to the build.
Protobuf type grafeas.v1beta1.provenance.FileHashes
Static Fields
FILE_HASH_FIELD_NUMBER
public static final int FILE_HASH_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static FileHashes getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static FileHashes.Builder newBuilder()
Returns
newBuilder(FileHashes prototype)
public static FileHashes.Builder newBuilder(FileHashes prototype)
Parameter
Returns
public static FileHashes parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FileHashes parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FileHashes parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileHashes parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FileHashes parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileHashes parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FileHashes parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FileHashes parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FileHashes parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FileHashes parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FileHashes parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileHashes parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FileHashes> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public FileHashes getDefaultInstanceForType()
Returns
getFileHash(int index)
public Hash getFileHash(int index)
Required. Collection of file hashes.
repeated .grafeas.v1beta1.provenance.Hash file_hash = 1;
Parameter
Returns
getFileHashCount()
public int getFileHashCount()
Required. Collection of file hashes.
repeated .grafeas.v1beta1.provenance.Hash file_hash = 1;
Returns
getFileHashList()
public List<Hash> getFileHashList()
Required. Collection of file hashes.
repeated .grafeas.v1beta1.provenance.Hash file_hash = 1;
Returns
getFileHashOrBuilder(int index)
public HashOrBuilder getFileHashOrBuilder(int index)
Required. Collection of file hashes.
repeated .grafeas.v1beta1.provenance.Hash file_hash = 1;
Parameter
Returns
getFileHashOrBuilderList()
public List<? extends HashOrBuilder> getFileHashOrBuilderList()
Required. Collection of file hashes.
repeated .grafeas.v1beta1.provenance.Hash file_hash = 1;
Returns
Type | Description |
List<? extends io.grafeas.v1beta1.provenance.HashOrBuilder> | |
getParserForType()
public Parser<FileHashes> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public FileHashes.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FileHashes.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public FileHashes.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions