Package io.grafeas.v1beta1
Interface NoteOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Note,Note.Builder
public interface NoteOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthoritygetAttestationAuthority()A note describing an attestation role.AuthorityOrBuildergetAttestationAuthorityOrBuilder()A note describing an attestation role.BasisgetBaseImage()A note describing a base image.BasisOrBuildergetBaseImageOrBuilder()A note describing a base image.BuildgetBuild()A note describing build provenance for a verifiable build.BuildOrBuildergetBuildOrBuilder()A note describing build provenance for a verifiable build.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.DeployablegetDeployable()A note describing something that can be deployed.DeployableOrBuildergetDeployableOrBuilder()A note describing something that can be deployed.DiscoverygetDiscovery()A note describing the initial analysis of a resource.DiscoveryOrBuildergetDiscoveryOrBuilder()A note describing the initial analysis of a resource.com.google.protobuf.TimestampgetExpirationTime()Time of expiration for this note.com.google.protobuf.TimestampOrBuildergetExpirationTimeOrBuilder()Time of expiration for this note.NoteKindgetKind()Output only.intgetKindValue()Output only.StringgetLongDescription()A detailed description of this note.com.google.protobuf.ByteStringgetLongDescriptionBytes()A detailed description of this note.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.PackagegetPackage()A note describing a package hosted by various package managers.PackageOrBuildergetPackageOrBuilder()A note describing a package hosted by various package managers.StringgetRelatedNoteNames(int index)Other notes related to this note.com.google.protobuf.ByteStringgetRelatedNoteNamesBytes(int index)Other notes related to this note.intgetRelatedNoteNamesCount()Other notes related to this note.List<String>getRelatedNoteNamesList()Other notes related to this note.RelatedUrlgetRelatedUrl(int index)URLs associated with this note.intgetRelatedUrlCount()URLs associated with this note.List<RelatedUrl>getRelatedUrlList()URLs associated with this note.RelatedUrlOrBuildergetRelatedUrlOrBuilder(int index)URLs associated with this note.List<? extends RelatedUrlOrBuilder>getRelatedUrlOrBuilderList()URLs associated with this note.StringgetShortDescription()A one sentence description of this note.com.google.protobuf.ByteStringgetShortDescriptionBytes()A one sentence description of this note.Note.TypeCasegetTypeCase()com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.VulnerabilitygetVulnerability()A note describing a package vulnerability.VulnerabilityOrBuildergetVulnerabilityOrBuilder()A note describing a package vulnerability.booleanhasAttestationAuthority()A note describing an attestation role.booleanhasBaseImage()A note describing a base image.booleanhasBuild()A note describing build provenance for a verifiable build.booleanhasCreateTime()Output only.booleanhasDeployable()A note describing something that can be deployed.booleanhasDiscovery()A note describing the initial analysis of a resource.booleanhasExpirationTime()Time of expiration for this note.booleanhasPackage()A note describing a package hosted by various package managers.booleanhasUpdateTime()Output only.booleanhasVulnerability()A note describing a package vulnerability.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
string name = 1;- Returns:
- The bytes for name.
-
getShortDescription
String getShortDescription()
A one sentence description of this note.
string short_description = 2;- Returns:
- The shortDescription.
-
getShortDescriptionBytes
com.google.protobuf.ByteString getShortDescriptionBytes()
A one sentence description of this note.
string short_description = 2;- Returns:
- The bytes for shortDescription.
-
getLongDescription
String getLongDescription()
A detailed description of this note.
string long_description = 3;- Returns:
- The longDescription.
-
getLongDescriptionBytes
com.google.protobuf.ByteString getLongDescriptionBytes()
A detailed description of this note.
string long_description = 3;- Returns:
- The bytes for longDescription.
-
getKindValue
int getKindValue()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Returns:
- The enum numeric value on the wire for kind.
-
getKind
NoteKind getKind()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Returns:
- The kind.
-
getRelatedUrlList
List<RelatedUrl> getRelatedUrlList()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
-
getRelatedUrl
RelatedUrl getRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
-
getRelatedUrlCount
int getRelatedUrlCount()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
-
getRelatedUrlOrBuilderList
List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
-
getRelatedUrlOrBuilder
RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
-
hasExpirationTime
boolean hasExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
com.google.protobuf.Timestamp getExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
-
hasCreateTime
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;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.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;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.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;
-
hasUpdateTime
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;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.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;
-
getRelatedNoteNamesList
List<String> getRelatedNoteNamesList()
Other notes related to this note.
repeated string related_note_names = 9;- Returns:
- A list containing the relatedNoteNames.
-
getRelatedNoteNamesCount
int getRelatedNoteNamesCount()
Other notes related to this note.
repeated string related_note_names = 9;- Returns:
- The count of relatedNoteNames.
-
getRelatedNoteNames
String getRelatedNoteNames(int index)
Other notes related to this note.
repeated string related_note_names = 9;- Parameters:
index- The index of the element to return.- Returns:
- The relatedNoteNames at the given index.
-
getRelatedNoteNamesBytes
com.google.protobuf.ByteString getRelatedNoteNamesBytes(int index)
Other notes related to this note.
repeated string related_note_names = 9;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the relatedNoteNames at the given index.
-
hasVulnerability
boolean hasVulnerability()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;- Returns:
- Whether the vulnerability field is set.
-
getVulnerability
Vulnerability getVulnerability()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;- Returns:
- The vulnerability.
-
getVulnerabilityOrBuilder
VulnerabilityOrBuilder getVulnerabilityOrBuilder()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
-
hasBuild
boolean hasBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;- Returns:
- Whether the build field is set.
-
getBuild
Build getBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;- Returns:
- The build.
-
getBuildOrBuilder
BuildOrBuilder getBuildOrBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
-
hasBaseImage
boolean hasBaseImage()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;- Returns:
- Whether the baseImage field is set.
-
getBaseImage
Basis getBaseImage()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;- Returns:
- The baseImage.
-
getBaseImageOrBuilder
BasisOrBuilder getBaseImageOrBuilder()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
-
hasPackage
boolean hasPackage()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;- Returns:
- Whether the package field is set.
-
getPackage
Package getPackage()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;- Returns:
- The package.
-
getPackageOrBuilder
PackageOrBuilder getPackageOrBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
-
hasDeployable
boolean hasDeployable()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;- Returns:
- Whether the deployable field is set.
-
getDeployable
Deployable getDeployable()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;- Returns:
- The deployable.
-
getDeployableOrBuilder
DeployableOrBuilder getDeployableOrBuilder()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
-
hasDiscovery
boolean hasDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;- Returns:
- Whether the discovery field is set.
-
getDiscovery
Discovery getDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;- Returns:
- The discovery.
-
getDiscoveryOrBuilder
DiscoveryOrBuilder getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
-
hasAttestationAuthority
boolean hasAttestationAuthority()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;- Returns:
- Whether the attestationAuthority field is set.
-
getAttestationAuthority
Authority getAttestationAuthority()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;- Returns:
- The attestationAuthority.
-
getAttestationAuthorityOrBuilder
AuthorityOrBuilder getAttestationAuthorityOrBuilder()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
-
getTypeCase
Note.TypeCase getTypeCase()
-
-