- 2.79.0 (latest)
 - 2.77.0
 - 2.76.0
 - 2.75.0
 - 2.74.0
 - 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 final class Note extends GeneratedMessageV3 implements NoteOrBuilderA type of analysis that can be done for a resource.
 Protobuf type grafeas.v1.Note
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NoteImplements
NoteOrBuilderStatic Fields
ATTESTATION_FIELD_NUMBER
public static final int ATTESTATION_FIELD_NUMBER| Type | Description | 
| int | 
BUILD_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER| Type | Description | 
| int | 
COMPLIANCE_FIELD_NUMBER
public static final int COMPLIANCE_FIELD_NUMBER| Type | Description | 
| int | 
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER| Type | Description | 
| int | 
DEPLOYMENT_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER| Type | Description | 
| int | 
DISCOVERY_FIELD_NUMBER
public static final int DISCOVERY_FIELD_NUMBER| Type | Description | 
| int | 
DSSE_ATTESTATION_FIELD_NUMBER
public static final int DSSE_ATTESTATION_FIELD_NUMBER| Type | Description | 
| int | 
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER| Type | Description | 
| int | 
IMAGE_FIELD_NUMBER
public static final int IMAGE_FIELD_NUMBER| Type | Description | 
| int | 
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER| Type | Description | 
| int | 
LONG_DESCRIPTION_FIELD_NUMBER
public static final int LONG_DESCRIPTION_FIELD_NUMBER| Type | Description | 
| int | 
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Type | Description | 
| int | 
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER| Type | Description | 
| int | 
RELATED_NOTE_NAMES_FIELD_NUMBER
public static final int RELATED_NOTE_NAMES_FIELD_NUMBER| Type | Description | 
| int | 
RELATED_URL_FIELD_NUMBER
public static final int RELATED_URL_FIELD_NUMBER| Type | Description | 
| int | 
SHORT_DESCRIPTION_FIELD_NUMBER
public static final int SHORT_DESCRIPTION_FIELD_NUMBER| Type | Description | 
| int | 
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER| Type | Description | 
| int | 
UPGRADE_FIELD_NUMBER
public static final int UPGRADE_FIELD_NUMBER| Type | Description | 
| int | 
VULNERABILITY_FIELD_NUMBER
public static final int VULNERABILITY_FIELD_NUMBER| Type | Description | 
| int | 
Static Methods
getDefaultInstance()
public static Note getDefaultInstance()| Type | Description | 
| Note | 
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
newBuilder()
public static Note.Builder newBuilder()| Type | Description | 
| Note.Builder | 
newBuilder(Note prototype)
public static Note.Builder newBuilder(Note prototype)| Name | Description | 
| prototype | Note | 
      
| Type | Description | 
| Note.Builder | 
parseDelimitedFrom(InputStream input)
public static Note parseDelimitedFrom(InputStream input)| Name | Description | 
| input | InputStream | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| IOException | 
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Note parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | InputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| IOException | 
parseFrom(byte[] data)
public static Note parseFrom(byte[] data)| Name | Description | 
| data | byte[] | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| InvalidProtocolBufferException | 
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Note parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| data | byte[] | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| InvalidProtocolBufferException | 
parseFrom(ByteString data)
public static Note parseFrom(ByteString data)| Name | Description | 
| data | ByteString | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| InvalidProtocolBufferException | 
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Note parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| data | ByteString | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| InvalidProtocolBufferException | 
parseFrom(CodedInputStream input)
public static Note parseFrom(CodedInputStream input)| Name | Description | 
| input | CodedInputStream | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| IOException | 
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Note parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| IOException | 
parseFrom(InputStream input)
public static Note parseFrom(InputStream input)| Name | Description | 
| input | InputStream | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| IOException | 
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Note parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | InputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| IOException | 
parseFrom(ByteBuffer data)
public static Note parseFrom(ByteBuffer data)| Name | Description | 
| data | ByteBuffer | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| InvalidProtocolBufferException | 
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Note parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| data | ByteBuffer | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Note | 
| Type | Description | 
| InvalidProtocolBufferException | 
parser()
public static Parser<Note> parser()| Type | Description | 
| Parser<Note> | 
Methods
equals(Object obj)
public boolean equals(Object obj)| Name | Description | 
| obj | Object | 
      
| Type | Description | 
| boolean | 
getAttestation()
public AttestationNote getAttestation()A note describing an attestation role.
 .grafeas.v1.AttestationNote attestation = 16;
| Type | Description | 
| AttestationNote | The attestation.  | 
      
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.  | 
      
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.  | 
      
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.  | 
      
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.  | 
      
getDeploymentOrBuilder()
public DeploymentNoteOrBuilder getDeploymentOrBuilder()A note describing something that can be deployed.
 .grafeas.v1.DeploymentNote deployment = 14;
| Type | Description | 
| DeploymentNoteOrBuilder | 
getDiscovery()
public DiscoveryNote getDiscovery()A note describing the initial analysis of a resource.
 .grafeas.v1.DiscoveryNote discovery = 15;
| Type | Description | 
| DiscoveryNote | The discovery.  | 
      
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.  | 
      
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.  | 
      
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.  | 
      
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.  | 
      
getPackageOrBuilder()
public PackageNoteOrBuilder getPackageOrBuilder()A note describing a package hosted by various package managers.
 .grafeas.v1.PackageNote package = 13;
| Type | Description | 
| PackageNoteOrBuilder | 
getParserForType()
public Parser<Note> getParserForType()| Type | Description | 
| Parser<Note> | 
getRelatedNoteNames(int index)
public String getRelatedNoteNames(int index)Other notes related to this note.
 repeated string related_note_names = 9;
| Name | Description | 
| index | intThe 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 | intThe 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 | 
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> | 
getSerializedSize()
public int getSerializedSize()| Type | Description | 
| int | 
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 | 
getUnknownFields()
public final UnknownFieldSet getUnknownFields()| Type | Description | 
| UnknownFieldSet | 
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.  | 
      
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.  | 
      
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.  | 
      
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.  | 
      
hashCode()
public int hashCode()| Type | Description | 
| int | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
newBuilderForType()
public Note.Builder newBuilderForType()| Type | Description | 
| Note.Builder | 
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Note.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)| Name | Description | 
| parent | BuilderParent | 
      
| Type | Description | 
| Note.Builder | 
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)| Name | Description | 
| unused | UnusedPrivateParameter | 
      
| Type | Description | 
| Object | 
toBuilder()
public Note.Builder toBuilder()| Type | Description | 
| Note.Builder | 
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Name | Description | 
| output | CodedOutputStream | 
      
| Type | Description | 
| IOException |