- 2.74.0 (latest)
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public
static
final
class
Note
.
Builder
extends
GeneratedMessageV3
.
Builder<Note
.
Builder
>
implements
NoteOrBuilder
A type of analysis that can be done for a resource.
Protobuf type grafeas.v1.Note
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Note.BuilderImplements
NoteOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
addAllRelatedNoteNames(Iterable<String> values)
public
Note
.
Builder
addAllRelatedNoteNames
(
Iterable<String>
values
)
Other notes related to this note.
repeated string related_note_names = 9;
addAllRelatedUrl(Iterable<? extends RelatedUrl> values)
public
Note
.
Builder
addAllRelatedUrl
(
Iterable
< ?
extends
RelatedUrl
>
values
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
addRelatedNoteNames(String value)
public
Note
.
Builder
addRelatedNoteNames
(
String
value
)
Other notes related to this note.
repeated string related_note_names = 9;
addRelatedNoteNamesBytes(ByteString value)
public
Note
.
Builder
addRelatedNoteNamesBytes
(
ByteString
value
)
Other notes related to this note.
repeated string related_note_names = 9;
addRelatedUrl(int index, RelatedUrl value)
public
Note
.
Builder
addRelatedUrl
(
int
index
,
RelatedUrl
value
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
addRelatedUrl(int index, RelatedUrl.Builder builderForValue)
public
Note
.
Builder
addRelatedUrl
(
int
index
,
RelatedUrl
.
Builder
builderForValue
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
addRelatedUrl(RelatedUrl value)
public
Note
.
Builder
addRelatedUrl
(
RelatedUrl
value
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
addRelatedUrl(RelatedUrl.Builder builderForValue)
public
Note
.
Builder
addRelatedUrl
(
RelatedUrl
.
Builder
builderForValue
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
addRelatedUrlBuilder()
public
RelatedUrl
.
Builder
addRelatedUrlBuilder
()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
addRelatedUrlBuilder(int index)
public
RelatedUrl
.
Builder
addRelatedUrlBuilder
(
int
index
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public
Note
.
Builder
addRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
build()
public
Note
build
()
buildPartial()
public
Note
buildPartial
()
clear()
public
Note
.
Builder
clear
()
clearAttestation()
public
Note
.
Builder
clearAttestation
()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
clearBuild()
public
Note
.
Builder
clearBuild
()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
clearCompliance()
public
Note
.
Builder
clearCompliance
()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
clearCreateTime()
public
Note
.
Builder
clearCreateTime
()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
clearDeployment()
public
Note
.
Builder
clearDeployment
()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
clearDiscovery()
public
Note
.
Builder
clearDiscovery
()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
clearDsseAttestation()
public
Note
.
Builder
clearDsseAttestation
()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
clearExpirationTime()
public
Note
.
Builder
clearExpirationTime
()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
clearField(Descriptors.FieldDescriptor field)
public
Note
.
Builder
clearField
(
Descriptors
.
FieldDescriptor
field
)
clearImage()
public
Note
.
Builder
clearImage
()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
clearKind()
public
Note
.
Builder
clearKind
()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
clearLongDescription()
public
Note
.
Builder
clearLongDescription
()
A detailed description of this note.
string long_description = 3;
clearName()
public
Note
.
Builder
clearName
()
Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public
Note
.
Builder
clearOneof
(
Descriptors
.
OneofDescriptor
oneof
)
clearPackage()
public
Note
.
Builder
clearPackage
()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
clearRelatedNoteNames()
public
Note
.
Builder
clearRelatedNoteNames
()
Other notes related to this note.
repeated string related_note_names = 9;
clearRelatedUrl()
public
Note
.
Builder
clearRelatedUrl
()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
clearSbomReference()
public
Note
.
Builder
clearSbomReference
()
A note describing an SBOM reference.
.grafeas.v1.SBOMReferenceNote sbom_reference = 21;
clearSecret()
public
Note
.
Builder
clearSecret
()
A note describing a secret.
.grafeas.v1.SecretNote secret = 22;
clearShortDescription()
public
Note
.
Builder
clearShortDescription
()
A one sentence description of this note.
string short_description = 2;
clearType()
public
Note
.
Builder
clearType
()
clearUpdateTime()
public
Note
.
Builder
clearUpdateTime
()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
clearUpgrade()
public
Note
.
Builder
clearUpgrade
()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
clearVulnerability()
public
Note
.
Builder
clearVulnerability
()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
clearVulnerabilityAssessment()
public
Note
.
Builder
clearVulnerabilityAssessment
()
A note describing a vulnerability assessment.
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
clone()
public
Note
.
Builder
clone
()
getAttestation()
public
AttestationNote
getAttestation
()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
getAttestationBuilder()
public
AttestationNote
.
Builder
getAttestationBuilder
()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
getAttestationOrBuilder()
public
AttestationNoteOrBuilder
getAttestationOrBuilder
()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
getBuild()
public
BuildNote
getBuild
()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
getBuildBuilder()
public
BuildNote
.
Builder
getBuildBuilder
()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
getBuildOrBuilder()
public
BuildNoteOrBuilder
getBuildOrBuilder
()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
getCompliance()
public
ComplianceNote
getCompliance
()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
getComplianceBuilder()
public
ComplianceNote
.
Builder
getComplianceBuilder
()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
getComplianceOrBuilder()
public
ComplianceNoteOrBuilder
getComplianceOrBuilder
()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
getCreateTime()
public
Timestamp
getCreateTime
()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
getCreateTimeBuilder()
public
Timestamp
.
Builder
getCreateTimeBuilder
()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
getCreateTimeOrBuilder()
public
TimestampOrBuilder
getCreateTimeOrBuilder
()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
getDefaultInstanceForType()
public
Note
getDefaultInstanceForType
()
getDeployment()
public
DeploymentNote
getDeployment
()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
getDeploymentBuilder()
public
DeploymentNote
.
Builder
getDeploymentBuilder
()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
getDeploymentOrBuilder()
public
DeploymentNoteOrBuilder
getDeploymentOrBuilder
()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getDiscovery()
public
DiscoveryNote
getDiscovery
()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
getDiscoveryBuilder()
public
DiscoveryNote
.
Builder
getDiscoveryBuilder
()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
getDiscoveryOrBuilder()
public
DiscoveryNoteOrBuilder
getDiscoveryOrBuilder
()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
getDsseAttestation()
public
DSSEAttestationNote
getDsseAttestation
()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
getDsseAttestationBuilder()
public
DSSEAttestationNote
.
Builder
getDsseAttestationBuilder
()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
getDsseAttestationOrBuilder()
public
DSSEAttestationNoteOrBuilder
getDsseAttestationOrBuilder
()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
getExpirationTime()
public
Timestamp
getExpirationTime
()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
getExpirationTimeBuilder()
public
Timestamp
.
Builder
getExpirationTimeBuilder
()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
getExpirationTimeOrBuilder()
public
TimestampOrBuilder
getExpirationTimeOrBuilder
()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
getImage()
public
ImageNote
getImage
()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
getImageBuilder()
public
ImageNote
.
Builder
getImageBuilder
()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
getImageOrBuilder()
public
ImageNoteOrBuilder
getImageOrBuilder
()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
getKind()
public
NoteKind
getKind
()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
getKindValue()
public
int
getKindValue
()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
getLongDescription()
public
String
getLongDescription
()
A detailed description of this note.
string long_description = 3;
getLongDescriptionBytes()
public
ByteString
getLongDescriptionBytes
()
A detailed description of this note.
string long_description = 3;
getName()
public
String
getName
()
Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
getNameBytes()
public
ByteString
getNameBytes
()
Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
getPackage()
public
PackageNote
getPackage
()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
getPackageBuilder()
public
PackageNote
.
Builder
getPackageBuilder
()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
getPackageOrBuilder()
public
PackageNoteOrBuilder
getPackageOrBuilder
()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
getRelatedNoteNames(int index)
public
String
getRelatedNoteNames
(
int
index
)
Other notes related to this note.
repeated string related_note_names = 9;
getRelatedNoteNamesBytes(int index)
public
ByteString
getRelatedNoteNamesBytes
(
int
index
)
Other notes related to this note.
repeated string related_note_names = 9;
getRelatedNoteNamesCount()
public
int
getRelatedNoteNamesCount
()
Other notes related to this note.
repeated string related_note_names = 9;
getRelatedNoteNamesList()
public
ProtocolStringList
getRelatedNoteNamesList
()
Other notes related to this note.
repeated string related_note_names = 9;
getRelatedUrl(int index)
public
RelatedUrl
getRelatedUrl
(
int
index
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlBuilder(int index)
public
RelatedUrl
.
Builder
getRelatedUrlBuilder
(
int
index
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlBuilderList()
public
List<RelatedUrl
.
Builder
>
getRelatedUrlBuilderList
()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlCount()
public
int
getRelatedUrlCount
()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlList()
public
List<RelatedUrl>
getRelatedUrlList
()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlOrBuilder(int index)
public
RelatedUrlOrBuilder
getRelatedUrlOrBuilder
(
int
index
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlOrBuilderList()
public
List
< ?
extends
RelatedUrlOrBuilder
>
getRelatedUrlOrBuilderList
()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getSbomReference()
public
SBOMReferenceNote
getSbomReference
()
A note describing an SBOM reference.
.grafeas.v1.SBOMReferenceNote sbom_reference = 21;
getSbomReferenceBuilder()
public
SBOMReferenceNote
.
Builder
getSbomReferenceBuilder
()
A note describing an SBOM reference.
.grafeas.v1.SBOMReferenceNote sbom_reference = 21;
getSbomReferenceOrBuilder()
public
SBOMReferenceNoteOrBuilder
getSbomReferenceOrBuilder
()
A note describing an SBOM reference.
.grafeas.v1.SBOMReferenceNote sbom_reference = 21;
getSecret()
public
SecretNote
getSecret
()
A note describing a secret.
.grafeas.v1.SecretNote secret = 22;
getSecretBuilder()
public
SecretNote
.
Builder
getSecretBuilder
()
A note describing a secret.
.grafeas.v1.SecretNote secret = 22;
getSecretOrBuilder()
public
SecretNoteOrBuilder
getSecretOrBuilder
()
A note describing a secret.
.grafeas.v1.SecretNote secret = 22;
getShortDescription()
public
String
getShortDescription
()
A one sentence description of this note.
string short_description = 2;
getShortDescriptionBytes()
public
ByteString
getShortDescriptionBytes
()
A one sentence description of this note.
string short_description = 2;
getTypeCase()
public
Note
.
TypeCase
getTypeCase
()
getUpdateTime()
public
Timestamp
getUpdateTime
()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
getUpdateTimeBuilder()
public
Timestamp
.
Builder
getUpdateTimeBuilder
()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
getUpdateTimeOrBuilder()
public
TimestampOrBuilder
getUpdateTimeOrBuilder
()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
getUpgrade()
public
UpgradeNote
getUpgrade
()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
getUpgradeBuilder()
public
UpgradeNote
.
Builder
getUpgradeBuilder
()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
getUpgradeOrBuilder()
public
UpgradeNoteOrBuilder
getUpgradeOrBuilder
()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
getVulnerability()
public
VulnerabilityNote
getVulnerability
()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
getVulnerabilityAssessment()
public
VulnerabilityAssessmentNote
getVulnerabilityAssessment
()
A note describing a vulnerability assessment.
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
getVulnerabilityAssessmentBuilder()
public
VulnerabilityAssessmentNote
.
Builder
getVulnerabilityAssessmentBuilder
()
A note describing a vulnerability assessment.
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
getVulnerabilityAssessmentOrBuilder()
public
VulnerabilityAssessmentNoteOrBuilder
getVulnerabilityAssessmentOrBuilder
()
A note describing a vulnerability assessment.
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
getVulnerabilityBuilder()
public
VulnerabilityNote
.
Builder
getVulnerabilityBuilder
()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
getVulnerabilityOrBuilder()
public
VulnerabilityNoteOrBuilder
getVulnerabilityOrBuilder
()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
hasAttestation()
public
boolean
hasAttestation
()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
hasBuild()
public
boolean
hasBuild
()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
hasCompliance()
public
boolean
hasCompliance
()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
hasCreateTime()
public
boolean
hasCreateTime
()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
hasDeployment()
public
boolean
hasDeployment
()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
hasDiscovery()
public
boolean
hasDiscovery
()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
hasDsseAttestation()
public
boolean
hasDsseAttestation
()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
hasExpirationTime()
public
boolean
hasExpirationTime
()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
hasImage()
public
boolean
hasImage
()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
hasPackage()
public
boolean
hasPackage
()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
hasSbomReference()
public
boolean
hasSbomReference
()
A note describing an SBOM reference.
.grafeas.v1.SBOMReferenceNote sbom_reference = 21;
hasSecret()
public
boolean
hasSecret
()
A note describing a secret.
.grafeas.v1.SecretNote secret = 22;
hasUpdateTime()
public
boolean
hasUpdateTime
()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
hasUpgrade()
public
boolean
hasUpgrade
()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
hasVulnerability()
public
boolean
hasVulnerability
()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
hasVulnerabilityAssessment()
public
boolean
hasVulnerabilityAssessment
()
A note describing a vulnerability assessment.
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeAttestation(AttestationNote value)
public
Note
.
Builder
mergeAttestation
(
AttestationNote
value
)
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
mergeBuild(BuildNote value)
public
Note
.
Builder
mergeBuild
(
BuildNote
value
)
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
mergeCompliance(ComplianceNote value)
public
Note
.
Builder
mergeCompliance
(
ComplianceNote
value
)
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
mergeCreateTime(Timestamp value)
public
Note
.
Builder
mergeCreateTime
(
Timestamp
value
)
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
mergeDeployment(DeploymentNote value)
public
Note
.
Builder
mergeDeployment
(
DeploymentNote
value
)
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
mergeDiscovery(DiscoveryNote value)
public
Note
.
Builder
mergeDiscovery
(
DiscoveryNote
value
)
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
mergeDsseAttestation(DSSEAttestationNote value)
public
Note
.
Builder
mergeDsseAttestation
(
DSSEAttestationNote
value
)
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
mergeExpirationTime(Timestamp value)
public
Note
.
Builder
mergeExpirationTime
(
Timestamp
value
)
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
Note
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
Note
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(Note other)
public
Note
.
Builder
mergeFrom
(
Note
other
)
mergeImage(ImageNote value)
public
Note
.
Builder
mergeImage
(
ImageNote
value
)
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
mergePackage(PackageNote value)
public
Note
.
Builder
mergePackage
(
PackageNote
value
)
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
mergeSbomReference(SBOMReferenceNote value)
public
Note
.
Builder
mergeSbomReference
(
SBOMReferenceNote
value
)
A note describing an SBOM reference.
.grafeas.v1.SBOMReferenceNote sbom_reference = 21;
mergeSecret(SecretNote value)
public
Note
.
Builder
mergeSecret
(
SecretNote
value
)
A note describing a secret.
.grafeas.v1.SecretNote secret = 22;
mergeUnknownFields(UnknownFieldSet unknownFields)
public
final
Note
.
Builder
mergeUnknownFields
(
UnknownFieldSet
unknownFields
)
mergeUpdateTime(Timestamp value)
public
Note
.
Builder
mergeUpdateTime
(
Timestamp
value
)
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
mergeUpgrade(UpgradeNote value)
public
Note
.
Builder
mergeUpgrade
(
UpgradeNote
value
)
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
mergeVulnerability(VulnerabilityNote value)
public
Note
.
Builder
mergeVulnerability
(
VulnerabilityNote
value
)
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
mergeVulnerabilityAssessment(VulnerabilityAssessmentNote value)
public
Note
.
Builder
mergeVulnerabilityAssessment
(
VulnerabilityAssessmentNote
value
)
A note describing a vulnerability assessment.
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
removeRelatedUrl(int index)
public
Note
.
Builder
removeRelatedUrl
(
int
index
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
setAttestation(AttestationNote value)
public
Note
.
Builder
setAttestation
(
AttestationNote
value
)
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
setAttestation(AttestationNote.Builder builderForValue)
public
Note
.
Builder
setAttestation
(
AttestationNote
.
Builder
builderForValue
)
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
setBuild(BuildNote value)
public
Note
.
Builder
setBuild
(
BuildNote
value
)
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
setBuild(BuildNote.Builder builderForValue)
public
Note
.
Builder
setBuild
(
BuildNote
.
Builder
builderForValue
)
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
setCompliance(ComplianceNote value)
public
Note
.
Builder
setCompliance
(
ComplianceNote
value
)
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
setCompliance(ComplianceNote.Builder builderForValue)
public
Note
.
Builder
setCompliance
(
ComplianceNote
.
Builder
builderForValue
)
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
setCreateTime(Timestamp value)
public
Note
.
Builder
setCreateTime
(
Timestamp
value
)
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
setCreateTime(Timestamp.Builder builderForValue)
public
Note
.
Builder
setCreateTime
(
Timestamp
.
Builder
builderForValue
)
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
setDeployment(DeploymentNote value)
public
Note
.
Builder
setDeployment
(
DeploymentNote
value
)
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
setDeployment(DeploymentNote.Builder builderForValue)
public
Note
.
Builder
setDeployment
(
DeploymentNote
.
Builder
builderForValue
)
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
setDiscovery(DiscoveryNote value)
public
Note
.
Builder
setDiscovery
(
DiscoveryNote
value
)
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
setDiscovery(DiscoveryNote.Builder builderForValue)
public
Note
.
Builder
setDiscovery
(
DiscoveryNote
.
Builder
builderForValue
)
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
setDsseAttestation(DSSEAttestationNote value)
public
Note
.
Builder
setDsseAttestation
(
DSSEAttestationNote
value
)
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
setDsseAttestation(DSSEAttestationNote.Builder builderForValue)
public
Note
.
Builder
setDsseAttestation
(
DSSEAttestationNote
.
Builder
builderForValue
)
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
setExpirationTime(Timestamp value)
public
Note
.
Builder
setExpirationTime
(
Timestamp
value
)
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
setExpirationTime(Timestamp.Builder builderForValue)
public
Note
.
Builder
setExpirationTime
(
Timestamp
.
Builder
builderForValue
)
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
setField(Descriptors.FieldDescriptor field, Object value)
public
Note
.
Builder
setField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
setImage(ImageNote value)
public
Note
.
Builder
setImage
(
ImageNote
value
)
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
setImage(ImageNote.Builder builderForValue)
public
Note
.
Builder
setImage
(
ImageNote
.
Builder
builderForValue
)
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
setKind(NoteKind value)
public
Note
.
Builder
setKind
(
NoteKind
value
)
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
setKindValue(int value)
public
Note
.
Builder
setKindValue
(
int
value
)
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
setLongDescription(String value)
public
Note
.
Builder
setLongDescription
(
String
value
)
A detailed description of this note.
string long_description = 3;
setLongDescriptionBytes(ByteString value)
public
Note
.
Builder
setLongDescriptionBytes
(
ByteString
value
)
A detailed description of this note.
string long_description = 3;
setName(String value)
public
Note
.
Builder
setName
(
String
value
)
Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
setNameBytes(ByteString value)
public
Note
.
Builder
setNameBytes
(
ByteString
value
)
Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
setPackage(PackageNote value)
public
Note
.
Builder
setPackage
(
PackageNote
value
)
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
setPackage(PackageNote.Builder builderForValue)
public
Note
.
Builder
setPackage
(
PackageNote
.
Builder
builderForValue
)
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
setRelatedNoteNames(int index, String value)
public
Note
.
Builder
setRelatedNoteNames
(
int
index
,
String
value
)
Other notes related to this note.
repeated string related_note_names = 9;
setRelatedUrl(int index, RelatedUrl value)
public
Note
.
Builder
setRelatedUrl
(
int
index
,
RelatedUrl
value
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
setRelatedUrl(int index, RelatedUrl.Builder builderForValue)
public
Note
.
Builder
setRelatedUrl
(
int
index
,
RelatedUrl
.
Builder
builderForValue
)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public
Note
.
Builder
setRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
int
index
,
Object
value
)
setSbomReference(SBOMReferenceNote value)
public
Note
.
Builder
setSbomReference
(
SBOMReferenceNote
value
)
A note describing an SBOM reference.
.grafeas.v1.SBOMReferenceNote sbom_reference = 21;
setSbomReference(SBOMReferenceNote.Builder builderForValue)
public
Note
.
Builder
setSbomReference
(
SBOMReferenceNote
.
Builder
builderForValue
)
A note describing an SBOM reference.
.grafeas.v1.SBOMReferenceNote sbom_reference = 21;
setSecret(SecretNote value)
public
Note
.
Builder
setSecret
(
SecretNote
value
)
A note describing a secret.
.grafeas.v1.SecretNote secret = 22;
setSecret(SecretNote.Builder builderForValue)
public
Note
.
Builder
setSecret
(
SecretNote
.
Builder
builderForValue
)
A note describing a secret.
.grafeas.v1.SecretNote secret = 22;
setShortDescription(String value)
public
Note
.
Builder
setShortDescription
(
String
value
)
A one sentence description of this note.
string short_description = 2;
setShortDescriptionBytes(ByteString value)
public
Note
.
Builder
setShortDescriptionBytes
(
ByteString
value
)
A one sentence description of this note.
string short_description = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public
final
Note
.
Builder
setUnknownFields
(
UnknownFieldSet
unknownFields
)
setUpdateTime(Timestamp value)
public
Note
.
Builder
setUpdateTime
(
Timestamp
value
)
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
setUpdateTime(Timestamp.Builder builderForValue)
public
Note
.
Builder
setUpdateTime
(
Timestamp
.
Builder
builderForValue
)
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
setUpgrade(UpgradeNote value)
public
Note
.
Builder
setUpgrade
(
UpgradeNote
value
)
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
setUpgrade(UpgradeNote.Builder builderForValue)
public
Note
.
Builder
setUpgrade
(
UpgradeNote
.
Builder
builderForValue
)
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
setVulnerability(VulnerabilityNote value)
public
Note
.
Builder
setVulnerability
(
VulnerabilityNote
value
)
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
setVulnerability(VulnerabilityNote.Builder builderForValue)
public
Note
.
Builder
setVulnerability
(
VulnerabilityNote
.
Builder
builderForValue
)
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
setVulnerabilityAssessment(VulnerabilityAssessmentNote value)
public
Note
.
Builder
setVulnerabilityAssessment
(
VulnerabilityAssessmentNote
value
)
A note describing a vulnerability assessment.
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;
setVulnerabilityAssessment(VulnerabilityAssessmentNote.Builder builderForValue)
public
Note
.
Builder
setVulnerabilityAssessment
(
VulnerabilityAssessmentNote
.
Builder
builderForValue
)
A note describing a vulnerability assessment.
.grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20;