public static final class FileHashes.Builder extends GeneratedMessageV3.Builder<FileHashes.Builder> 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.events.cloud.cloudbuild.v1.FileHashes
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllFileHash(Iterable<? extends Hash> values)
public FileHashes.Builder addAllFileHash(Iterable<? extends Hash> values)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.events.cloud.cloudbuild.v1.Hash>
|
addFileHash(Hash value)
public FileHashes.Builder addFileHash(Hash value)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Parameter |
---|
Name | Description |
value | Hash
|
addFileHash(Hash.Builder builderForValue)
public FileHashes.Builder addFileHash(Hash.Builder builderForValue)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
addFileHash(int index, Hash value)
public FileHashes.Builder addFileHash(int index, Hash value)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Hash
|
addFileHash(int index, Hash.Builder builderForValue)
public FileHashes.Builder addFileHash(int index, Hash.Builder builderForValue)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
addFileHashBuilder()
public Hash.Builder addFileHashBuilder()
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
addFileHashBuilder(int index)
public Hash.Builder addFileHashBuilder(int index)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FileHashes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FileHashes build()
buildPartial()
public FileHashes buildPartial()
clear()
public FileHashes.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FileHashes.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFileHash()
public FileHashes.Builder clearFileHash()
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public FileHashes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FileHashes.Builder clone()
Overrides
getDefaultInstanceForType()
public FileHashes getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFileHash(int index)
public Hash getFileHash(int index)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Hash | |
getFileHashBuilder(int index)
public Hash.Builder getFileHashBuilder(int index)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Parameter |
---|
Name | Description |
index | int
|
getFileHashBuilderList()
public List<Hash.Builder> getFileHashBuilderList()
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
getFileHashCount()
public int getFileHashCount()
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Returns |
---|
Type | Description |
int | |
getFileHashList()
public List<Hash> getFileHashList()
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
getFileHashOrBuilder(int index)
public HashOrBuilder getFileHashOrBuilder(int index)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Parameter |
---|
Name | Description |
index | int
|
getFileHashOrBuilderList()
public List<? extends HashOrBuilder> getFileHashOrBuilderList()
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Returns |
---|
Type | Description |
List<? extends com.google.events.cloud.cloudbuild.v1.HashOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FileHashes other)
public FileHashes.Builder mergeFrom(FileHashes other)
public FileHashes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FileHashes.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FileHashes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeFileHash(int index)
public FileHashes.Builder removeFileHash(int index)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public FileHashes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFileHash(int index, Hash value)
public FileHashes.Builder setFileHash(int index, Hash value)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Hash
|
setFileHash(int index, Hash.Builder builderForValue)
public FileHashes.Builder setFileHash(int index, Hash.Builder builderForValue)
Collection of file hashes.
repeated .google.events.cloud.cloudbuild.v1.Hash file_hash = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FileHashes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FileHashes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides