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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Artifact.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Artifact getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Artifact build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Artifact buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Artifact.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Artifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Artifact.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Artifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Artifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Artifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Artifact.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Artifact.Builder>
public Artifact.Builder mergeFrom(Artifact other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Artifact.Builder>
public Artifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Artifact.Builder>
IOException
public String getChecksum()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;
getChecksum
in interface ArtifactOrBuilder
public ByteString getChecksumBytes()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;
getChecksumBytes
in interface ArtifactOrBuilder
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;
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 ArtifactOrBuilder
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;
getIdBytes
in interface ArtifactOrBuilder
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;
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 ArtifactOrBuilder
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;
getNamesCount
in interface ArtifactOrBuilder
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;
getNames
in interface ArtifactOrBuilder
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;
getNamesBytes
in interface ArtifactOrBuilder
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;
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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Artifact.Builder>
public final Artifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Artifact.Builder>
Copyright © 2019 Google LLC. All rights reserved.