public
static
final
class
Artifact
.
Builder
extends
GeneratedMessage
.
Builder<Artifact
.
Builder
>
implements
ArtifactOrBuilder
Artifact describes a build product.
Protobuf type grafeas.v1.Artifact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Artifact.BuilderImplements
ArtifactOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
addAllNames(Iterable<String> values)
public
Artifact
.
Builder
addAllNames
(
Iterable<String>
values
)
Related artifact names. This may be the path to a binary or jar file, or in
the case of a container build, the name used to push the container image to
Google Container Registry, as presented to docker push
. Note that a
single Artifact ID can have multiple names, for example if two tags are
applied to one image.
repeated string names = 3;
addNames(String value)
public
Artifact
.
Builder
addNames
(
String
value
)
Related artifact names. This may be the path to a binary or jar file, or in
the case of a container build, the name used to push the container image to
Google Container Registry, as presented to docker push
. Note that a
single Artifact ID can have multiple names, for example if two tags are
applied to one image.
repeated string names = 3;
addNamesBytes(ByteString value)
public
Artifact
.
Builder
addNamesBytes
(
ByteString
value
)
Related artifact names. This may be the path to a binary or jar file, or in
the case of a container build, the name used to push the container image to
Google Container Registry, as presented to docker push
. Note that a
single Artifact ID can have multiple names, for example if two tags are
applied to one image.
repeated string names = 3;
build()
public
Artifact
build
()
buildPartial()
public
Artifact
buildPartial
()
clear()
public
Artifact
.
Builder
clear
()
clearChecksum()
public
Artifact
.
Builder
clearChecksum
()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;
clearId()
public
Artifact
.
Builder
clearId
()
Artifact ID, if any; for container images, this will be a URL by digest
like gcr.io/projectID/imagename@sha256:123456
.
string id = 2;
clearNames()
public
Artifact
.
Builder
clearNames
()
Related artifact names. This may be the path to a binary or jar file, or in
the case of a container build, the name used to push the container image to
Google Container Registry, as presented to docker push
. Note that a
single Artifact ID can have multiple names, for example if two tags are
applied to one image.
repeated string names = 3;
getChecksum()
public
String
getChecksum
()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;
getChecksumBytes()
public
ByteString
getChecksumBytes
()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;
getDefaultInstanceForType()
public
Artifact
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getId()
public
String
getId
()
Artifact ID, if any; for container images, this will be a URL by digest
like gcr.io/projectID/imagename@sha256:123456
.
string id = 2;
getIdBytes()
public
ByteString
getIdBytes
()
Artifact ID, if any; for container images, this will be a URL by digest
like gcr.io/projectID/imagename@sha256:123456
.
string id = 2;
getNames(int index)
public
String
getNames
(
int
index
)
Related artifact names. This may be the path to a binary or jar file, or in
the case of a container build, the name used to push the container image to
Google Container Registry, as presented to docker push
. Note that a
single Artifact ID can have multiple names, for example if two tags are
applied to one image.
repeated string names = 3;
getNamesBytes(int index)
public
ByteString
getNamesBytes
(
int
index
)
Related artifact names. This may be the path to a binary or jar file, or in
the case of a container build, the name used to push the container image to
Google Container Registry, as presented to docker push
. Note that a
single Artifact ID can have multiple names, for example if two tags are
applied to one image.
repeated string names = 3;
getNamesCount()
public
int
getNamesCount
()
Related artifact names. This may be the path to a binary or jar file, or in
the case of a container build, the name used to push the container image to
Google Container Registry, as presented to docker push
. Note that a
single Artifact ID can have multiple names, for example if two tags are
applied to one image.
repeated string names = 3;
getNamesList()
public
ProtocolStringList
getNamesList
()
Related artifact names. This may be the path to a binary or jar file, or in
the case of a container build, the name used to push the container image to
Google Container Registry, as presented to docker push
. Note that a
single Artifact ID can have multiple names, for example if two tags are
applied to one image.
repeated string names = 3;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
Artifact
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
Artifact
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(Artifact other)
public
Artifact
.
Builder
mergeFrom
(
Artifact
other
)
setChecksum(String value)
public
Artifact
.
Builder
setChecksum
(
String
value
)
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;
setChecksumBytes(ByteString value)
public
Artifact
.
Builder
setChecksumBytes
(
ByteString
value
)
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;
setId(String value)
public
Artifact
.
Builder
setId
(
String
value
)
Artifact ID, if any; for container images, this will be a URL by digest
like gcr.io/projectID/imagename@sha256:123456
.
string id = 2;
setIdBytes(ByteString value)
public
Artifact
.
Builder
setIdBytes
(
ByteString
value
)
Artifact ID, if any; for container images, this will be a URL by digest
like gcr.io/projectID/imagename@sha256:123456
.
string id = 2;
setNames(int index, String value)
public
Artifact
.
Builder
setNames
(
int
index
,
String
value
)
Related artifact names. This may be the path to a binary or jar file, or in
the case of a container build, the name used to push the container image to
Google Container Registry, as presented to docker push
. Note that a
single Artifact ID can have multiple names, for example if two tags are
applied to one image.
repeated string names = 3;

