public static final class Artifact.Builder extends GeneratedMessageV3.Builder<Artifact.Builder> implements ArtifactOrBuilder
Artifact describes a build product.Protobuf type
grafeas.v1.Artifact| Modifier and Type | Method and Description |
|---|---|
Artifact.Builder |
addAllNames(Iterable<String> values)
Related artifact names.
|
Artifact.Builder |
addNames(String value)
Related artifact names.
|
Artifact.Builder |
addNamesBytes(ByteString value)
Related artifact names.
|
Artifact.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Artifact |
build() |
Artifact |
buildPartial() |
Artifact.Builder |
clear() |
Artifact.Builder |
clearChecksum()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
container.
|
Artifact.Builder |
clearField(Descriptors.FieldDescriptor field) |
Artifact.Builder |
clearId()
Artifact ID, if any; for container images, this will be a URL by digest
like `gcr.io/projectID/imagename@sha256:123456`.
|
Artifact.Builder |
clearNames()
Related artifact names.
|
Artifact.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Artifact.Builder |
clone() |
String |
getChecksum()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
container.
|
ByteString |
getChecksumBytes()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
container.
|
Artifact |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getId()
Artifact ID, if any; for container images, this will be a URL by digest
like `gcr.io/projectID/imagename@sha256:123456`.
|
ByteString |
getIdBytes()
Artifact ID, if any; for container images, this will be a URL by digest
like `gcr.io/projectID/imagename@sha256:123456`.
|
String |
getNames(int index)
Related artifact names.
|
ByteString |
getNamesBytes(int index)
Related artifact names.
|
int |
getNamesCount()
Related artifact names.
|
ProtocolStringList |
getNamesList()
Related artifact names.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Artifact.Builder |
mergeFrom(Artifact other) |
Artifact.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Artifact.Builder |
mergeFrom(Message other) |
Artifact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Artifact.Builder |
setChecksum(String value)
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
container.
|
Artifact.Builder |
setChecksumBytes(ByteString value)
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
container.
|
Artifact.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
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`.
|
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`.
|
Artifact.Builder |
setNames(int index,
String value)
Related artifact names.
|
Artifact.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Artifact.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Artifact.Builder>public Artifact.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Artifact.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Artifact.Builder>public Artifact getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Artifact build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Artifact buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Artifact.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Artifact.Builder>public Artifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Artifact.Builder>public Artifact.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Artifact.Builder>public Artifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Artifact.Builder>public Artifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Artifact.Builder>public Artifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Artifact.Builder>public Artifact.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Artifact.Builder>public Artifact.Builder mergeFrom(Artifact other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Artifact.Builder>public Artifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Artifact.Builder>IOExceptionpublic String getChecksum()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;getChecksum in interface ArtifactOrBuilderpublic ByteString getChecksumBytes()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;getChecksumBytes in interface ArtifactOrBuilderpublic Artifact.Builder setChecksum(String value)
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;public Artifact.Builder clearChecksum()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;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;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;getId in interface ArtifactOrBuilderpublic 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;getIdBytes in interface ArtifactOrBuilderpublic 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;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;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;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;getNamesList in interface ArtifactOrBuilderpublic 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;getNamesCount in interface ArtifactOrBuilderpublic 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;getNames in interface ArtifactOrBuilderpublic 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;getNamesBytes in interface ArtifactOrBuilderpublic 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;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;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;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;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;public final Artifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Artifact.Builder>public final Artifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Artifact.Builder>Copyright © 2019 Google LLC. All rights reserved.