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