public
static
final
class
FileHashes
.
Builder
extends
GeneratedMessage
.
Builder<FileHashes
.
Builder
>
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.v1.FileHashes
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FileHashes.BuilderImplements
FileHashesOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
addAllFileHash(Iterable<? extends Hash> values)
public
FileHashes
.
Builder
addAllFileHash
(
Iterable
< ?
extends
Hash
>
values
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
addFileHash(int index, Hash value)
public
FileHashes
.
Builder
addFileHash
(
int
index
,
Hash
value
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
addFileHash(int index, Hash.Builder builderForValue)
public
FileHashes
.
Builder
addFileHash
(
int
index
,
Hash
.
Builder
builderForValue
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
addFileHash(Hash value)
public
FileHashes
.
Builder
addFileHash
(
Hash
value
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
addFileHash(Hash.Builder builderForValue)
public
FileHashes
.
Builder
addFileHash
(
Hash
.
Builder
builderForValue
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
addFileHashBuilder()
public
Hash
.
Builder
addFileHashBuilder
()
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
addFileHashBuilder(int index)
public
Hash
.
Builder
addFileHashBuilder
(
int
index
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
build()
public
FileHashes
build
()
buildPartial()
public
FileHashes
buildPartial
()
clear()
public
FileHashes
.
Builder
clear
()
clearFileHash()
public
FileHashes
.
Builder
clearFileHash
()
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
getDefaultInstanceForType()
public
FileHashes
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getFileHash(int index)
public
Hash
getFileHash
(
int
index
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
getFileHashBuilder(int index)
public
Hash
.
Builder
getFileHashBuilder
(
int
index
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
getFileHashBuilderList()
public
List<Hash
.
Builder
>
getFileHashBuilderList
()
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
getFileHashCount()
public
int
getFileHashCount
()
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
getFileHashList()
public
List<Hash>
getFileHashList
()
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
getFileHashOrBuilder(int index)
public
HashOrBuilder
getFileHashOrBuilder
(
int
index
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
getFileHashOrBuilderList()
public
List
< ?
extends
HashOrBuilder
>
getFileHashOrBuilderList
()
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
FileHashes
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
FileHashes
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(FileHashes other)
public
FileHashes
.
Builder
mergeFrom
(
FileHashes
other
)
removeFileHash(int index)
public
FileHashes
.
Builder
removeFileHash
(
int
index
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
setFileHash(int index, Hash value)
public
FileHashes
.
Builder
setFileHash
(
int
index
,
Hash
value
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;
setFileHash(int index, Hash.Builder builderForValue)
public
FileHashes
.
Builder
setFileHash
(
int
index
,
Hash
.
Builder
builderForValue
)
Required. Collection of file hashes.
repeated .grafeas.v1.Hash file_hash = 1;

