- 2.54.0 (latest)
- 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()
Type | Description |
Descriptor |
Methods
addAllRelatedNoteNames(Iterable<String> values)
public Note.Builder addAllRelatedNoteNames(Iterable<String> values)
Other notes related to this note.
repeated string related_note_names = 9;
Name | Description |
values | Iterable<String> The relatedNoteNames to add. |
Type | Description |
Note.Builder | This builder for chaining. |
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;
Name | Description |
values | Iterable<? extends io.grafeas.v1.RelatedUrl> |
Type | Description |
Note.Builder |
addRelatedNoteNames(String value)
public Note.Builder addRelatedNoteNames(String value)
Other notes related to this note.
repeated string related_note_names = 9;
Name | Description |
value | String The relatedNoteNames to add. |
Type | Description |
Note.Builder | This builder for chaining. |
addRelatedNoteNamesBytes(ByteString value)
public Note.Builder addRelatedNoteNamesBytes(ByteString value)
Other notes related to this note.
repeated string related_note_names = 9;
Name | Description |
value | ByteString The bytes of the relatedNoteNames to add. |
Type | Description |
Note.Builder | This builder for chaining. |
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;
Name | Description |
index | int |
value | RelatedUrl |
Type | Description |
Note.Builder |
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;
Name | Description |
index | int |
builderForValue | RelatedUrl.Builder |
Type | Description |
Note.Builder |
addRelatedUrl(RelatedUrl value)
public Note.Builder addRelatedUrl(RelatedUrl value)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Name | Description |
value | RelatedUrl |
Type | Description |
Note.Builder |
addRelatedUrl(RelatedUrl.Builder builderForValue)
public Note.Builder addRelatedUrl(RelatedUrl.Builder builderForValue)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Name | Description |
builderForValue | RelatedUrl.Builder |
Type | Description |
Note.Builder |
addRelatedUrlBuilder()
public RelatedUrl.Builder addRelatedUrlBuilder()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Type | Description |
RelatedUrl.Builder |
addRelatedUrlBuilder(int index)
public RelatedUrl.Builder addRelatedUrlBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Name | Description |
index | int |
Type | Description |
RelatedUrl.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Note.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Note.Builder |
build()
public Note build()
Type | Description |
Note |
buildPartial()
public Note buildPartial()
Type | Description |
Note |
clear()
public Note.Builder clear()
Type | Description |
Note.Builder |
clearAttestation()
public Note.Builder clearAttestation()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
Type | Description |
Note.Builder |
clearBuild()
public Note.Builder clearBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
Type | Description |
Note.Builder |
clearCompliance()
public Note.Builder clearCompliance()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
Type | Description |
Note.Builder |
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;
Type | Description |
Note.Builder |
clearDeployment()
public Note.Builder clearDeployment()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
Type | Description |
Note.Builder |
clearDiscovery()
public Note.Builder clearDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
Type | Description |
Note.Builder |
clearDsseAttestation()
public Note.Builder clearDsseAttestation()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
Type | Description |
Note.Builder |
clearExpirationTime()
public Note.Builder clearExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Type | Description |
Note.Builder |
clearField(Descriptors.FieldDescriptor field)
public Note.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Note.Builder |
clearImage()
public Note.Builder clearImage()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
Type | Description |
Note.Builder |
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;
Type | Description |
Note.Builder | This builder for chaining. |
clearLongDescription()
public Note.Builder clearLongDescription()
A detailed description of this note.
string long_description = 3;
Type | Description |
Note.Builder | This builder for chaining. |
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;
Type | Description |
Note.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Note.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Note.Builder |
clearPackage()
public Note.Builder clearPackage()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
Type | Description |
Note.Builder |
clearRelatedNoteNames()
public Note.Builder clearRelatedNoteNames()
Other notes related to this note.
repeated string related_note_names = 9;
Type | Description |
Note.Builder | This builder for chaining. |
clearRelatedUrl()
public Note.Builder clearRelatedUrl()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Type | Description |
Note.Builder |
clearShortDescription()
public Note.Builder clearShortDescription()
A one sentence description of this note.
string short_description = 2;
Type | Description |
Note.Builder | This builder for chaining. |
clearType()
public Note.Builder clearType()
Type | Description |
Note.Builder |
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;
Type | Description |
Note.Builder |
clearUpgrade()
public Note.Builder clearUpgrade()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
Type | Description |
Note.Builder |
clearVulnerability()
public Note.Builder clearVulnerability()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
Type | Description |
Note.Builder |
clone()
public Note.Builder clone()
Type | Description |
Note.Builder |
getAttestation()
public AttestationNote getAttestation()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
Type | Description |
AttestationNote | The attestation. |
getAttestationBuilder()
public AttestationNote.Builder getAttestationBuilder()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
Type | Description |
AttestationNote.Builder |
getAttestationOrBuilder()
public AttestationNoteOrBuilder getAttestationOrBuilder()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
Type | Description |
AttestationNoteOrBuilder |
getBuild()
public BuildNote getBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
Type | Description |
BuildNote | The build. |
getBuildBuilder()
public BuildNote.Builder getBuildBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
Type | Description |
BuildNote.Builder |
getBuildOrBuilder()
public BuildNoteOrBuilder getBuildOrBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
Type | Description |
BuildNoteOrBuilder |
getCompliance()
public ComplianceNote getCompliance()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
Type | Description |
ComplianceNote | The compliance. |
getComplianceBuilder()
public ComplianceNote.Builder getComplianceBuilder()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
Type | Description |
ComplianceNote.Builder |
getComplianceOrBuilder()
public ComplianceNoteOrBuilder getComplianceOrBuilder()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
Type | Description |
ComplianceNoteOrBuilder |
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;
Type | Description |
Timestamp | The createTime. |
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;
Type | Description |
Builder |
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;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Note getDefaultInstanceForType()
Type | Description |
Note |
getDeployment()
public DeploymentNote getDeployment()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
Type | Description |
DeploymentNote | The deployment. |
getDeploymentBuilder()
public DeploymentNote.Builder getDeploymentBuilder()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
Type | Description |
DeploymentNote.Builder |
getDeploymentOrBuilder()
public DeploymentNoteOrBuilder getDeploymentOrBuilder()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
Type | Description |
DeploymentNoteOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDiscovery()
public DiscoveryNote getDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
Type | Description |
DiscoveryNote | The discovery. |
getDiscoveryBuilder()
public DiscoveryNote.Builder getDiscoveryBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
Type | Description |
DiscoveryNote.Builder |
getDiscoveryOrBuilder()
public DiscoveryNoteOrBuilder getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
Type | Description |
DiscoveryNoteOrBuilder |
getDsseAttestation()
public DSSEAttestationNote getDsseAttestation()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
Type | Description |
DSSEAttestationNote | The dsseAttestation. |
getDsseAttestationBuilder()
public DSSEAttestationNote.Builder getDsseAttestationBuilder()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
Type | Description |
DSSEAttestationNote.Builder |
getDsseAttestationOrBuilder()
public DSSEAttestationNoteOrBuilder getDsseAttestationOrBuilder()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
Type | Description |
DSSEAttestationNoteOrBuilder |
getExpirationTime()
public Timestamp getExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Type | Description |
Timestamp | The expirationTime. |
getExpirationTimeBuilder()
public Timestamp.Builder getExpirationTimeBuilder()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Type | Description |
Builder |
getExpirationTimeOrBuilder()
public TimestampOrBuilder getExpirationTimeOrBuilder()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Type | Description |
TimestampOrBuilder |
getImage()
public ImageNote getImage()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
Type | Description |
ImageNote | The image. |
getImageBuilder()
public ImageNote.Builder getImageBuilder()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
Type | Description |
ImageNote.Builder |
getImageOrBuilder()
public ImageNoteOrBuilder getImageOrBuilder()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
Type | Description |
ImageNoteOrBuilder |
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;
Type | Description |
NoteKind | The kind. |
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;
Type | Description |
int | The enum numeric value on the wire for kind. |
getLongDescription()
public String getLongDescription()
A detailed description of this note.
string long_description = 3;
Type | Description |
String | The longDescription. |
getLongDescriptionBytes()
public ByteString getLongDescriptionBytes()
A detailed description of this note.
string long_description = 3;
Type | Description |
ByteString | The bytes for longDescription. |
getName()
public String getName()
Output only. The name of the note in the form of
projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the note in the form of
projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getPackage()
public PackageNote getPackage()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
Type | Description |
PackageNote | The package. |
getPackageBuilder()
public PackageNote.Builder getPackageBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
Type | Description |
PackageNote.Builder |
getPackageOrBuilder()
public PackageNoteOrBuilder getPackageOrBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
Type | Description |
PackageNoteOrBuilder |
getRelatedNoteNames(int index)
public String getRelatedNoteNames(int index)
Other notes related to this note.
repeated string related_note_names = 9;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The relatedNoteNames at the given index. |
getRelatedNoteNamesBytes(int index)
public ByteString getRelatedNoteNamesBytes(int index)
Other notes related to this note.
repeated string related_note_names = 9;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the relatedNoteNames at the given index. |
getRelatedNoteNamesCount()
public int getRelatedNoteNamesCount()
Other notes related to this note.
repeated string related_note_names = 9;
Type | Description |
int | The count of relatedNoteNames. |
getRelatedNoteNamesList()
public ProtocolStringList getRelatedNoteNamesList()
Other notes related to this note.
repeated string related_note_names = 9;
Type | Description |
ProtocolStringList | A list containing the relatedNoteNames. |
getRelatedUrl(int index)
public RelatedUrl getRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Name | Description |
index | int |
Type | Description |
RelatedUrl |
getRelatedUrlBuilder(int index)
public RelatedUrl.Builder getRelatedUrlBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Name | Description |
index | int |
Type | Description |
RelatedUrl.Builder |
getRelatedUrlBuilderList()
public List<RelatedUrl.Builder> getRelatedUrlBuilderList()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Type | Description |
List<Builder> |
getRelatedUrlCount()
public int getRelatedUrlCount()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Type | Description |
int |
getRelatedUrlList()
public List<RelatedUrl> getRelatedUrlList()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Type | Description |
List<RelatedUrl> |
getRelatedUrlOrBuilder(int index)
public RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Name | Description |
index | int |
Type | Description |
RelatedUrlOrBuilder |
getRelatedUrlOrBuilderList()
public List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Type | Description |
List<? extends io.grafeas.v1.RelatedUrlOrBuilder> |
getShortDescription()
public String getShortDescription()
A one sentence description of this note.
string short_description = 2;
Type | Description |
String | The shortDescription. |
getShortDescriptionBytes()
public ByteString getShortDescriptionBytes()
A one sentence description of this note.
string short_description = 2;
Type | Description |
ByteString | The bytes for shortDescription. |
getTypeCase()
public Note.TypeCase getTypeCase()
Type | Description |
Note.TypeCase |
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;
Type | Description |
Timestamp | The updateTime. |
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;
Type | Description |
Builder |
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;
Type | Description |
TimestampOrBuilder |
getUpgrade()
public UpgradeNote getUpgrade()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
Type | Description |
UpgradeNote | The upgrade. |
getUpgradeBuilder()
public UpgradeNote.Builder getUpgradeBuilder()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
Type | Description |
UpgradeNote.Builder |
getUpgradeOrBuilder()
public UpgradeNoteOrBuilder getUpgradeOrBuilder()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
Type | Description |
UpgradeNoteOrBuilder |
getVulnerability()
public VulnerabilityNote getVulnerability()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
Type | Description |
VulnerabilityNote | The vulnerability. |
getVulnerabilityBuilder()
public VulnerabilityNote.Builder getVulnerabilityBuilder()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
Type | Description |
VulnerabilityNote.Builder |
getVulnerabilityOrBuilder()
public VulnerabilityNoteOrBuilder getVulnerabilityOrBuilder()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
Type | Description |
VulnerabilityNoteOrBuilder |
hasAttestation()
public boolean hasAttestation()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
Type | Description |
boolean | Whether the attestation field is set. |
hasBuild()
public boolean hasBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
Type | Description |
boolean | Whether the build field is set. |
hasCompliance()
public boolean hasCompliance()
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
Type | Description |
boolean | Whether the compliance field is set. |
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;
Type | Description |
boolean | Whether the createTime field is set. |
hasDeployment()
public boolean hasDeployment()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
Type | Description |
boolean | Whether the deployment field is set. |
hasDiscovery()
public boolean hasDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
Type | Description |
boolean | Whether the discovery field is set. |
hasDsseAttestation()
public boolean hasDsseAttestation()
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
Type | Description |
boolean | Whether the dsseAttestation field is set. |
hasExpirationTime()
public boolean hasExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Type | Description |
boolean | Whether the expirationTime field is set. |
hasImage()
public boolean hasImage()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
Type | Description |
boolean | Whether the image field is set. |
hasPackage()
public boolean hasPackage()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
Type | Description |
boolean | Whether the package field is set. |
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;
Type | Description |
boolean | Whether the updateTime field is set. |
hasUpgrade()
public boolean hasUpgrade()
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
Type | Description |
boolean | Whether the upgrade field is set. |
hasVulnerability()
public boolean hasVulnerability()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
Type | Description |
boolean | Whether the vulnerability field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAttestation(AttestationNote value)
public Note.Builder mergeAttestation(AttestationNote value)
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
Name | Description |
value | AttestationNote |
Type | Description |
Note.Builder |
mergeBuild(BuildNote value)
public Note.Builder mergeBuild(BuildNote value)
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
Name | Description |
value | BuildNote |
Type | Description |
Note.Builder |
mergeCompliance(ComplianceNote value)
public Note.Builder mergeCompliance(ComplianceNote value)
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
Name | Description |
value | ComplianceNote |
Type | Description |
Note.Builder |
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;
Name | Description |
value | Timestamp |
Type | Description |
Note.Builder |
mergeDeployment(DeploymentNote value)
public Note.Builder mergeDeployment(DeploymentNote value)
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
Name | Description |
value | DeploymentNote |
Type | Description |
Note.Builder |
mergeDiscovery(DiscoveryNote value)
public Note.Builder mergeDiscovery(DiscoveryNote value)
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
Name | Description |
value | DiscoveryNote |
Type | Description |
Note.Builder |
mergeDsseAttestation(DSSEAttestationNote value)
public Note.Builder mergeDsseAttestation(DSSEAttestationNote value)
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
Name | Description |
value | DSSEAttestationNote |
Type | Description |
Note.Builder |
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;
Name | Description |
value | Timestamp |
Type | Description |
Note.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Note.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Note.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Note.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Note.Builder |
mergeFrom(Note other)
public Note.Builder mergeFrom(Note other)
Name | Description |
other | Note |
Type | Description |
Note.Builder |
mergeImage(ImageNote value)
public Note.Builder mergeImage(ImageNote value)
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
Name | Description |
value | ImageNote |
Type | Description |
Note.Builder |
mergePackage(PackageNote value)
public Note.Builder mergePackage(PackageNote value)
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
Name | Description |
value | PackageNote |
Type | Description |
Note.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Note.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Note.Builder |
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;
Name | Description |
value | Timestamp |
Type | Description |
Note.Builder |
mergeUpgrade(UpgradeNote value)
public Note.Builder mergeUpgrade(UpgradeNote value)
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
Name | Description |
value | UpgradeNote |
Type | Description |
Note.Builder |
mergeVulnerability(VulnerabilityNote value)
public Note.Builder mergeVulnerability(VulnerabilityNote value)
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
Name | Description |
value | VulnerabilityNote |
Type | Description |
Note.Builder |
removeRelatedUrl(int index)
public Note.Builder removeRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
Name | Description |
index | int |
Type | Description |
Note.Builder |
setAttestation(AttestationNote value)
public Note.Builder setAttestation(AttestationNote value)
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
Name | Description |
value | AttestationNote |
Type | Description |
Note.Builder |
setAttestation(AttestationNote.Builder builderForValue)
public Note.Builder setAttestation(AttestationNote.Builder builderForValue)
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
Name | Description |
builderForValue | AttestationNote.Builder |
Type | Description |
Note.Builder |
setBuild(BuildNote value)
public Note.Builder setBuild(BuildNote value)
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
Name | Description |
value | BuildNote |
Type | Description |
Note.Builder |
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;
Name | Description |
builderForValue | BuildNote.Builder |
Type | Description |
Note.Builder |
setCompliance(ComplianceNote value)
public Note.Builder setCompliance(ComplianceNote value)
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
Name | Description |
value | ComplianceNote |
Type | Description |
Note.Builder |
setCompliance(ComplianceNote.Builder builderForValue)
public Note.Builder setCompliance(ComplianceNote.Builder builderForValue)
A note describing a compliance check.
.grafeas.v1.ComplianceNote compliance = 18;
Name | Description |
builderForValue | ComplianceNote.Builder |
Type | Description |
Note.Builder |
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;
Name | Description |
value | Timestamp |
Type | Description |
Note.Builder |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Note.Builder |
setDeployment(DeploymentNote value)
public Note.Builder setDeployment(DeploymentNote value)
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
Name | Description |
value | DeploymentNote |
Type | Description |
Note.Builder |
setDeployment(DeploymentNote.Builder builderForValue)
public Note.Builder setDeployment(DeploymentNote.Builder builderForValue)
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
Name | Description |
builderForValue | DeploymentNote.Builder |
Type | Description |
Note.Builder |
setDiscovery(DiscoveryNote value)
public Note.Builder setDiscovery(DiscoveryNote value)
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
Name | Description |
value | DiscoveryNote |
Type | Description |
Note.Builder |
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;
Name | Description |
builderForValue | DiscoveryNote.Builder |
Type | Description |
Note.Builder |
setDsseAttestation(DSSEAttestationNote value)
public Note.Builder setDsseAttestation(DSSEAttestationNote value)
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
Name | Description |
value | DSSEAttestationNote |
Type | Description |
Note.Builder |
setDsseAttestation(DSSEAttestationNote.Builder builderForValue)
public Note.Builder setDsseAttestation(DSSEAttestationNote.Builder builderForValue)
A note describing a dsse attestation note.
.grafeas.v1.DSSEAttestationNote dsse_attestation = 19;
Name | Description |
builderForValue | DSSEAttestationNote.Builder |
Type | Description |
Note.Builder |
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;
Name | Description |
value | Timestamp |
Type | Description |
Note.Builder |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Note.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Note.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Note.Builder |
setImage(ImageNote value)
public Note.Builder setImage(ImageNote value)
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
Name | Description |
value | ImageNote |
Type | Description |
Note.Builder |
setImage(ImageNote.Builder builderForValue)
public Note.Builder setImage(ImageNote.Builder builderForValue)
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
Name | Description |
builderForValue | ImageNote.Builder |
Type | Description |
Note.Builder |
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;
Name | Description |
value | NoteKind The kind to set. |
Type | Description |
Note.Builder | This builder for chaining. |
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;
Name | Description |
value | int The enum numeric value on the wire for kind to set. |
Type | Description |
Note.Builder | This builder for chaining. |
setLongDescription(String value)
public Note.Builder setLongDescription(String value)
A detailed description of this note.
string long_description = 3;
Name | Description |
value | String The longDescription to set. |
Type | Description |
Note.Builder | This builder for chaining. |
setLongDescriptionBytes(ByteString value)
public Note.Builder setLongDescriptionBytes(ByteString value)
A detailed description of this note.
string long_description = 3;
Name | Description |
value | ByteString The bytes for longDescription to set. |
Type | Description |
Note.Builder | This builder for chaining. |
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;
Name | Description |
value | String The name to set. |
Type | Description |
Note.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Note.Builder | This builder for chaining. |
setPackage(PackageNote value)
public Note.Builder setPackage(PackageNote value)
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
Name | Description |
value | PackageNote |
Type | Description |
Note.Builder |
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;
Name | Description |
builderForValue | PackageNote.Builder |
Type | Description |
Note.Builder |
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;
Name | Description |
index | int The index to set the value at. |
value | String The relatedNoteNames to set. |
Type | Description |
Note.Builder | This builder for chaining. |
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;
Name | Description |
index | int |
value | RelatedUrl |
Type | Description |
Note.Builder |
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;
Name | Description |
index | int |
builderForValue | RelatedUrl.Builder |
Type | Description |
Note.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Note.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Note.Builder |
setShortDescription(String value)
public Note.Builder setShortDescription(String value)
A one sentence description of this note.
string short_description = 2;
Name | Description |
value | String The shortDescription to set. |
Type | Description |
Note.Builder | This builder for chaining. |
setShortDescriptionBytes(ByteString value)
public Note.Builder setShortDescriptionBytes(ByteString value)
A one sentence description of this note.
string short_description = 2;
Name | Description |
value | ByteString The bytes for shortDescription to set. |
Type | Description |
Note.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Note.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Note.Builder |
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;
Name | Description |
value | Timestamp |
Type | Description |
Note.Builder |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Note.Builder |
setUpgrade(UpgradeNote value)
public Note.Builder setUpgrade(UpgradeNote value)
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
Name | Description |
value | UpgradeNote |
Type | Description |
Note.Builder |
setUpgrade(UpgradeNote.Builder builderForValue)
public Note.Builder setUpgrade(UpgradeNote.Builder builderForValue)
A note describing available package upgrades.
.grafeas.v1.UpgradeNote upgrade = 17;
Name | Description |
builderForValue | UpgradeNote.Builder |
Type | Description |
Note.Builder |
setVulnerability(VulnerabilityNote value)
public Note.Builder setVulnerability(VulnerabilityNote value)
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
Name | Description |
value | VulnerabilityNote |
Type | Description |
Note.Builder |
setVulnerability(VulnerabilityNote.Builder builderForValue)
public Note.Builder setVulnerability(VulnerabilityNote.Builder builderForValue)
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
Name | Description |
builderForValue | VulnerabilityNote.Builder |
Type | Description |
Note.Builder |