public interface NoteOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
AttestationNote |
getAttestation()
A note describing an attestation role.
|
AttestationNoteOrBuilder |
getAttestationOrBuilder()
A note describing an attestation role.
|
BuildNote |
getBuild()
A note describing build provenance for a verifiable build.
|
BuildNoteOrBuilder |
getBuildOrBuilder()
A note describing build provenance for a verifiable build.
|
Timestamp |
getCreateTime()
Output only.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
DeploymentNote |
getDeployment()
A note describing something that can be deployed.
|
DeploymentNoteOrBuilder |
getDeploymentOrBuilder()
A note describing something that can be deployed.
|
DiscoveryNote |
getDiscovery()
A note describing the initial analysis of a resource.
|
DiscoveryNoteOrBuilder |
getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
|
Timestamp |
getExpirationTime()
Time of expiration for this note.
|
TimestampOrBuilder |
getExpirationTimeOrBuilder()
Time of expiration for this note.
|
ImageNote |
getImage()
A note describing a base image.
|
ImageNoteOrBuilder |
getImageOrBuilder()
A note describing a base image.
|
NoteKind |
getKind()
Output only.
|
int |
getKindValue()
Output only.
|
String |
getLongDescription()
A detailed description of this note.
|
ByteString |
getLongDescriptionBytes()
A detailed description of this note.
|
String |
getName()
Output only.
|
ByteString |
getNameBytes()
Output only.
|
PackageNote |
getPackage()
A note describing a package hosted by various package managers.
|
PackageNoteOrBuilder |
getPackageOrBuilder()
A note describing a package hosted by various package managers.
|
String |
getRelatedNoteNames(int index)
Other notes related to this note.
|
ByteString |
getRelatedNoteNamesBytes(int index)
Other notes related to this note.
|
int |
getRelatedNoteNamesCount()
Other notes related to this note.
|
List<String> |
getRelatedNoteNamesList()
Other notes related to this note.
|
RelatedUrl |
getRelatedUrl(int index)
URLs associated with this note.
|
int |
getRelatedUrlCount()
URLs associated with this note.
|
List<RelatedUrl> |
getRelatedUrlList()
URLs associated with this note.
|
RelatedUrlOrBuilder |
getRelatedUrlOrBuilder(int index)
URLs associated with this note.
|
List<? extends RelatedUrlOrBuilder> |
getRelatedUrlOrBuilderList()
URLs associated with this note.
|
String |
getShortDescription()
A one sentence description of this note.
|
ByteString |
getShortDescriptionBytes()
A one sentence description of this note.
|
Note.TypeCase |
getTypeCase() |
Timestamp |
getUpdateTime()
Output only.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
VulnerabilityNote |
getVulnerability()
A note describing a package vulnerability.
|
VulnerabilityNoteOrBuilder |
getVulnerabilityOrBuilder()
A note describing a package vulnerability.
|
boolean |
hasAttestation()
A note describing an attestation role.
|
boolean |
hasBuild()
A note describing build provenance for a verifiable build.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeployment()
A note describing something that can be deployed.
|
boolean |
hasDiscovery()
A note describing the initial analysis of a resource.
|
boolean |
hasExpirationTime()
Time of expiration for this note.
|
boolean |
hasImage()
A note describing a base image.
|
boolean |
hasPackage()
A note describing a package hosted by various package managers.
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVulnerability()
A note describing a package vulnerability.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
string name = 1;
ByteString getNameBytes()
Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
string name = 1;
String getShortDescription()
A one sentence description of this note.
string short_description = 2;
ByteString getShortDescriptionBytes()
A one sentence description of this note.
string short_description = 2;
String getLongDescription()
A detailed description of this note.
string long_description = 3;
ByteString getLongDescriptionBytes()
A detailed description of this note.
string long_description = 3;
int getKindValue()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
NoteKind getKind()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1.NoteKind kind = 4;
List<RelatedUrl> getRelatedUrlList()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
RelatedUrl getRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
int getRelatedUrlCount()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
boolean hasExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Timestamp getExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
TimestampOrBuilder getExpirationTimeOrBuilder()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
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;
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;
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;
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;
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;
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;
List<String> getRelatedNoteNamesList()
Other notes related to this note.
repeated string related_note_names = 9;
int getRelatedNoteNamesCount()
Other notes related to this note.
repeated string related_note_names = 9;
String getRelatedNoteNames(int index)
Other notes related to this note.
repeated string related_note_names = 9;
ByteString getRelatedNoteNamesBytes(int index)
Other notes related to this note.
repeated string related_note_names = 9;
boolean hasVulnerability()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
VulnerabilityNote getVulnerability()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
VulnerabilityNoteOrBuilder getVulnerabilityOrBuilder()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
boolean hasBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
BuildNote getBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
BuildNoteOrBuilder getBuildOrBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
boolean hasImage()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
ImageNote getImage()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
ImageNoteOrBuilder getImageOrBuilder()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
boolean hasPackage()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
PackageNote getPackage()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
PackageNoteOrBuilder getPackageOrBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
boolean hasDeployment()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
DeploymentNote getDeployment()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
DeploymentNoteOrBuilder getDeploymentOrBuilder()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
boolean hasDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
DiscoveryNote getDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
DiscoveryNoteOrBuilder getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
boolean hasAttestation()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
AttestationNote getAttestation()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
AttestationNoteOrBuilder getAttestationOrBuilder()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
Note.TypeCase getTypeCase()
Copyright © 2019 Google LLC. All rights reserved.