Class Note.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NoteOrBuilder, Cloneable
    Enclosing class:
    Note

    public static final class Note.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
    implements NoteOrBuilder
     A type of analysis that can be done for a resource.
     
    Protobuf type grafeas.v1beta1.Note
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • clear

        public Note.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • getDefaultInstanceForType

        public Note getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Note build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Note buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Note.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • setField

        public Note.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • clearField

        public Note.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • clearOneof

        public Note.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • setRepeatedField

        public Note.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             int index,
                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • addRepeatedField

        public Note.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • mergeFrom

        public Note.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Note.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • mergeFrom

        public Note.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Note.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. The name of the note in the form of
         `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
         
        string name = 1;
        Specified by:
        getName in interface NoteOrBuilder
        Returns:
        The name.
      • getNameBytes

        public 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;
        Specified by:
        getNameBytes in interface NoteOrBuilder
        Returns:
        The bytes for name.
      • setName

        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;
        Parameters:
        value - The name to set.
        Returns:
        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;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Note.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the note in the form of
         `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getShortDescription

        public String getShortDescription()
         A one sentence description of this note.
         
        string short_description = 2;
        Specified by:
        getShortDescription in interface NoteOrBuilder
        Returns:
        The shortDescription.
      • getShortDescriptionBytes

        public com.google.protobuf.ByteString getShortDescriptionBytes()
         A one sentence description of this note.
         
        string short_description = 2;
        Specified by:
        getShortDescriptionBytes in interface NoteOrBuilder
        Returns:
        The bytes for shortDescription.
      • setShortDescription

        public Note.Builder setShortDescription​(String value)
         A one sentence description of this note.
         
        string short_description = 2;
        Parameters:
        value - The shortDescription to set.
        Returns:
        This builder for chaining.
      • clearShortDescription

        public Note.Builder clearShortDescription()
         A one sentence description of this note.
         
        string short_description = 2;
        Returns:
        This builder for chaining.
      • setShortDescriptionBytes

        public Note.Builder setShortDescriptionBytes​(com.google.protobuf.ByteString value)
         A one sentence description of this note.
         
        string short_description = 2;
        Parameters:
        value - The bytes for shortDescription to set.
        Returns:
        This builder for chaining.
      • getLongDescription

        public String getLongDescription()
         A detailed description of this note.
         
        string long_description = 3;
        Specified by:
        getLongDescription in interface NoteOrBuilder
        Returns:
        The longDescription.
      • getLongDescriptionBytes

        public com.google.protobuf.ByteString getLongDescriptionBytes()
         A detailed description of this note.
         
        string long_description = 3;
        Specified by:
        getLongDescriptionBytes in interface NoteOrBuilder
        Returns:
        The bytes for longDescription.
      • setLongDescription

        public Note.Builder setLongDescription​(String value)
         A detailed description of this note.
         
        string long_description = 3;
        Parameters:
        value - The longDescription to set.
        Returns:
        This builder for chaining.
      • clearLongDescription

        public Note.Builder clearLongDescription()
         A detailed description of this note.
         
        string long_description = 3;
        Returns:
        This builder for chaining.
      • setLongDescriptionBytes

        public Note.Builder setLongDescriptionBytes​(com.google.protobuf.ByteString value)
         A detailed description of this note.
         
        string long_description = 3;
        Parameters:
        value - The bytes for longDescription to set.
        Returns:
        This builder for chaining.
      • getKindValue

        public int getKindValue()
         Output only. The type of analysis. This field can be used as a filter in
         list requests.
         
        .grafeas.v1beta1.NoteKind kind = 4;
        Specified by:
        getKindValue in interface NoteOrBuilder
        Returns:
        The enum numeric value on the wire for kind.
      • setKindValue

        public Note.Builder setKindValue​(int value)
         Output only. The type of analysis. This field can be used as a filter in
         list requests.
         
        .grafeas.v1beta1.NoteKind kind = 4;
        Parameters:
        value - The enum numeric value on the wire for kind to set.
        Returns:
        This builder for chaining.
      • getKind

        public NoteKind getKind()
         Output only. The type of analysis. This field can be used as a filter in
         list requests.
         
        .grafeas.v1beta1.NoteKind kind = 4;
        Specified by:
        getKind in interface NoteOrBuilder
        Returns:
        The kind.
      • setKind

        public Note.Builder setKind​(NoteKind value)
         Output only. The type of analysis. This field can be used as a filter in
         list requests.
         
        .grafeas.v1beta1.NoteKind kind = 4;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public Note.Builder clearKind()
         Output only. The type of analysis. This field can be used as a filter in
         list requests.
         
        .grafeas.v1beta1.NoteKind kind = 4;
        Returns:
        This builder for chaining.
      • getRelatedUrlCount

        public int getRelatedUrlCount()
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
        Specified by:
        getRelatedUrlCount in interface NoteOrBuilder
      • getRelatedUrl

        public RelatedUrl getRelatedUrl​(int index)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
        Specified by:
        getRelatedUrl in interface NoteOrBuilder
      • setRelatedUrl

        public Note.Builder setRelatedUrl​(int index,
                                          RelatedUrl value)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • setRelatedUrl

        public Note.Builder setRelatedUrl​(int index,
                                          RelatedUrl.Builder builderForValue)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • addRelatedUrl

        public Note.Builder addRelatedUrl​(RelatedUrl value)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • addRelatedUrl

        public Note.Builder addRelatedUrl​(int index,
                                          RelatedUrl value)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • addRelatedUrl

        public Note.Builder addRelatedUrl​(RelatedUrl.Builder builderForValue)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • addRelatedUrl

        public Note.Builder addRelatedUrl​(int index,
                                          RelatedUrl.Builder builderForValue)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • addAllRelatedUrl

        public Note.Builder addAllRelatedUrl​(Iterable<? extends RelatedUrl> values)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • clearRelatedUrl

        public Note.Builder clearRelatedUrl()
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • removeRelatedUrl

        public Note.Builder removeRelatedUrl​(int index)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • getRelatedUrlBuilder

        public RelatedUrl.Builder getRelatedUrlBuilder​(int index)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • addRelatedUrlBuilder

        public RelatedUrl.Builder addRelatedUrlBuilder()
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • addRelatedUrlBuilder

        public RelatedUrl.Builder addRelatedUrlBuilder​(int index)
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • getRelatedUrlBuilderList

        public List<RelatedUrl.Builder> getRelatedUrlBuilderList()
         URLs associated with this note.
         
        repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
      • hasExpirationTime

        public boolean hasExpirationTime()
         Time of expiration for this note. Empty if note does not expire.
         
        .google.protobuf.Timestamp expiration_time = 6;
        Specified by:
        hasExpirationTime in interface NoteOrBuilder
        Returns:
        Whether the expirationTime field is set.
      • getExpirationTime

        public com.google.protobuf.Timestamp getExpirationTime()
         Time of expiration for this note. Empty if note does not expire.
         
        .google.protobuf.Timestamp expiration_time = 6;
        Specified by:
        getExpirationTime in interface NoteOrBuilder
        Returns:
        The expirationTime.
      • setExpirationTime

        public Note.Builder setExpirationTime​(com.google.protobuf.Timestamp value)
         Time of expiration for this note. Empty if note does not expire.
         
        .google.protobuf.Timestamp expiration_time = 6;
      • setExpirationTime

        public Note.Builder setExpirationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Time of expiration for this note. Empty if note does not expire.
         
        .google.protobuf.Timestamp expiration_time = 6;
      • mergeExpirationTime

        public Note.Builder mergeExpirationTime​(com.google.protobuf.Timestamp value)
         Time of expiration for this note. Empty if note does not expire.
         
        .google.protobuf.Timestamp expiration_time = 6;
      • clearExpirationTime

        public Note.Builder clearExpirationTime()
         Time of expiration for this note. Empty if note does not expire.
         
        .google.protobuf.Timestamp expiration_time = 6;
      • getExpirationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()
         Time of expiration for this note. Empty if note does not expire.
         
        .google.protobuf.Timestamp expiration_time = 6;
      • getExpirationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
         Time of expiration for this note. Empty if note does not expire.
         
        .google.protobuf.Timestamp expiration_time = 6;
        Specified by:
        getExpirationTimeOrBuilder in interface NoteOrBuilder
      • 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;
        Specified by:
        hasCreateTime in interface NoteOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public 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;
        Specified by:
        getCreateTime in interface NoteOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Note.Builder setCreateTime​(com.google.protobuf.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

        public Note.Builder setCreateTime​(com.google.protobuf.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;
      • mergeCreateTime

        public Note.Builder mergeCreateTime​(com.google.protobuf.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;
      • 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;
      • getCreateTimeBuilder

        public com.google.protobuf.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 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;
        Specified by:
        getCreateTimeOrBuilder in interface NoteOrBuilder
      • 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;
        Specified by:
        hasUpdateTime in interface NoteOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public 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;
        Specified by:
        getUpdateTime in interface NoteOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Note.Builder setUpdateTime​(com.google.protobuf.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

        public Note.Builder setUpdateTime​(com.google.protobuf.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;
      • mergeUpdateTime

        public Note.Builder mergeUpdateTime​(com.google.protobuf.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;
      • 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;
      • getUpdateTimeBuilder

        public com.google.protobuf.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 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;
        Specified by:
        getUpdateTimeOrBuilder in interface NoteOrBuilder
      • getRelatedNoteNamesList

        public com.google.protobuf.ProtocolStringList getRelatedNoteNamesList()
         Other notes related to this note.
         
        repeated string related_note_names = 9;
        Specified by:
        getRelatedNoteNamesList in interface NoteOrBuilder
        Returns:
        A list containing the relatedNoteNames.
      • getRelatedNoteNamesCount

        public int getRelatedNoteNamesCount()
         Other notes related to this note.
         
        repeated string related_note_names = 9;
        Specified by:
        getRelatedNoteNamesCount in interface NoteOrBuilder
        Returns:
        The count of relatedNoteNames.
      • getRelatedNoteNames

        public String getRelatedNoteNames​(int index)
         Other notes related to this note.
         
        repeated string related_note_names = 9;
        Specified by:
        getRelatedNoteNames in interface NoteOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The relatedNoteNames at the given index.
      • getRelatedNoteNamesBytes

        public com.google.protobuf.ByteString getRelatedNoteNamesBytes​(int index)
         Other notes related to this note.
         
        repeated string related_note_names = 9;
        Specified by:
        getRelatedNoteNamesBytes in interface NoteOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the relatedNoteNames at the given index.
      • setRelatedNoteNames

        public Note.Builder setRelatedNoteNames​(int index,
                                                String value)
         Other notes related to this note.
         
        repeated string related_note_names = 9;
        Parameters:
        index - The index to set the value at.
        value - The relatedNoteNames to set.
        Returns:
        This builder for chaining.
      • addRelatedNoteNames

        public Note.Builder addRelatedNoteNames​(String value)
         Other notes related to this note.
         
        repeated string related_note_names = 9;
        Parameters:
        value - The relatedNoteNames to add.
        Returns:
        This builder for chaining.
      • addAllRelatedNoteNames

        public Note.Builder addAllRelatedNoteNames​(Iterable<String> values)
         Other notes related to this note.
         
        repeated string related_note_names = 9;
        Parameters:
        values - The relatedNoteNames to add.
        Returns:
        This builder for chaining.
      • clearRelatedNoteNames

        public Note.Builder clearRelatedNoteNames()
         Other notes related to this note.
         
        repeated string related_note_names = 9;
        Returns:
        This builder for chaining.
      • addRelatedNoteNamesBytes

        public Note.Builder addRelatedNoteNamesBytes​(com.google.protobuf.ByteString value)
         Other notes related to this note.
         
        repeated string related_note_names = 9;
        Parameters:
        value - The bytes of the relatedNoteNames to add.
        Returns:
        This builder for chaining.
      • hasVulnerability

        public boolean hasVulnerability()
         A note describing a package vulnerability.
         
        .grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
        Specified by:
        hasVulnerability in interface NoteOrBuilder
        Returns:
        Whether the vulnerability field is set.
      • getVulnerability

        public Vulnerability getVulnerability()
         A note describing a package vulnerability.
         
        .grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
        Specified by:
        getVulnerability in interface NoteOrBuilder
        Returns:
        The vulnerability.
      • setVulnerability

        public Note.Builder setVulnerability​(Vulnerability value)
         A note describing a package vulnerability.
         
        .grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
      • setVulnerability

        public Note.Builder setVulnerability​(Vulnerability.Builder builderForValue)
         A note describing a package vulnerability.
         
        .grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
      • mergeVulnerability

        public Note.Builder mergeVulnerability​(Vulnerability value)
         A note describing a package vulnerability.
         
        .grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
      • clearVulnerability

        public Note.Builder clearVulnerability()
         A note describing a package vulnerability.
         
        .grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
      • getVulnerabilityBuilder

        public Vulnerability.Builder getVulnerabilityBuilder()
         A note describing a package vulnerability.
         
        .grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
      • hasBuild

        public boolean hasBuild()
         A note describing build provenance for a verifiable build.
         
        .grafeas.v1beta1.build.Build build = 11;
        Specified by:
        hasBuild in interface NoteOrBuilder
        Returns:
        Whether the build field is set.
      • getBuild

        public Build getBuild()
         A note describing build provenance for a verifiable build.
         
        .grafeas.v1beta1.build.Build build = 11;
        Specified by:
        getBuild in interface NoteOrBuilder
        Returns:
        The build.
      • setBuild

        public Note.Builder setBuild​(Build value)
         A note describing build provenance for a verifiable build.
         
        .grafeas.v1beta1.build.Build build = 11;
      • setBuild

        public Note.Builder setBuild​(Build.Builder builderForValue)
         A note describing build provenance for a verifiable build.
         
        .grafeas.v1beta1.build.Build build = 11;
      • mergeBuild

        public Note.Builder mergeBuild​(Build value)
         A note describing build provenance for a verifiable build.
         
        .grafeas.v1beta1.build.Build build = 11;
      • clearBuild

        public Note.Builder clearBuild()
         A note describing build provenance for a verifiable build.
         
        .grafeas.v1beta1.build.Build build = 11;
      • getBuildBuilder

        public Build.Builder getBuildBuilder()
         A note describing build provenance for a verifiable build.
         
        .grafeas.v1beta1.build.Build build = 11;
      • getBuildOrBuilder

        public BuildOrBuilder getBuildOrBuilder()
         A note describing build provenance for a verifiable build.
         
        .grafeas.v1beta1.build.Build build = 11;
        Specified by:
        getBuildOrBuilder in interface NoteOrBuilder
      • hasBaseImage

        public boolean hasBaseImage()
         A note describing a base image.
         
        .grafeas.v1beta1.image.Basis base_image = 12;
        Specified by:
        hasBaseImage in interface NoteOrBuilder
        Returns:
        Whether the baseImage field is set.
      • getBaseImage

        public Basis getBaseImage()
         A note describing a base image.
         
        .grafeas.v1beta1.image.Basis base_image = 12;
        Specified by:
        getBaseImage in interface NoteOrBuilder
        Returns:
        The baseImage.
      • setBaseImage

        public Note.Builder setBaseImage​(Basis value)
         A note describing a base image.
         
        .grafeas.v1beta1.image.Basis base_image = 12;
      • setBaseImage

        public Note.Builder setBaseImage​(Basis.Builder builderForValue)
         A note describing a base image.
         
        .grafeas.v1beta1.image.Basis base_image = 12;
      • mergeBaseImage

        public Note.Builder mergeBaseImage​(Basis value)
         A note describing a base image.
         
        .grafeas.v1beta1.image.Basis base_image = 12;
      • clearBaseImage

        public Note.Builder clearBaseImage()
         A note describing a base image.
         
        .grafeas.v1beta1.image.Basis base_image = 12;
      • getBaseImageBuilder

        public Basis.Builder getBaseImageBuilder()
         A note describing a base image.
         
        .grafeas.v1beta1.image.Basis base_image = 12;
      • hasPackage

        public boolean hasPackage()
         A note describing a package hosted by various package managers.
         
        .grafeas.v1beta1.package.Package package = 13;
        Specified by:
        hasPackage in interface NoteOrBuilder
        Returns:
        Whether the package field is set.
      • getPackage

        public Package getPackage()
         A note describing a package hosted by various package managers.
         
        .grafeas.v1beta1.package.Package package = 13;
        Specified by:
        getPackage in interface NoteOrBuilder
        Returns:
        The package.
      • setPackage

        public Note.Builder setPackage​(Package value)
         A note describing a package hosted by various package managers.
         
        .grafeas.v1beta1.package.Package package = 13;
      • setPackage

        public Note.Builder setPackage​(Package.Builder builderForValue)
         A note describing a package hosted by various package managers.
         
        .grafeas.v1beta1.package.Package package = 13;
      • mergePackage

        public Note.Builder mergePackage​(Package value)
         A note describing a package hosted by various package managers.
         
        .grafeas.v1beta1.package.Package package = 13;
      • clearPackage

        public Note.Builder clearPackage()
         A note describing a package hosted by various package managers.
         
        .grafeas.v1beta1.package.Package package = 13;
      • getPackageBuilder

        public Package.Builder getPackageBuilder()
         A note describing a package hosted by various package managers.
         
        .grafeas.v1beta1.package.Package package = 13;
      • getPackageOrBuilder

        public PackageOrBuilder getPackageOrBuilder()
         A note describing a package hosted by various package managers.
         
        .grafeas.v1beta1.package.Package package = 13;
        Specified by:
        getPackageOrBuilder in interface NoteOrBuilder
      • hasDeployable

        public boolean hasDeployable()
         A note describing something that can be deployed.
         
        .grafeas.v1beta1.deployment.Deployable deployable = 14;
        Specified by:
        hasDeployable in interface NoteOrBuilder
        Returns:
        Whether the deployable field is set.
      • getDeployable

        public Deployable getDeployable()
         A note describing something that can be deployed.
         
        .grafeas.v1beta1.deployment.Deployable deployable = 14;
        Specified by:
        getDeployable in interface NoteOrBuilder
        Returns:
        The deployable.
      • setDeployable

        public Note.Builder setDeployable​(Deployable value)
         A note describing something that can be deployed.
         
        .grafeas.v1beta1.deployment.Deployable deployable = 14;
      • setDeployable

        public Note.Builder setDeployable​(Deployable.Builder builderForValue)
         A note describing something that can be deployed.
         
        .grafeas.v1beta1.deployment.Deployable deployable = 14;
      • mergeDeployable

        public Note.Builder mergeDeployable​(Deployable value)
         A note describing something that can be deployed.
         
        .grafeas.v1beta1.deployment.Deployable deployable = 14;
      • clearDeployable

        public Note.Builder clearDeployable()
         A note describing something that can be deployed.
         
        .grafeas.v1beta1.deployment.Deployable deployable = 14;
      • getDeployableBuilder

        public Deployable.Builder getDeployableBuilder()
         A note describing something that can be deployed.
         
        .grafeas.v1beta1.deployment.Deployable deployable = 14;
      • hasDiscovery

        public boolean hasDiscovery()
         A note describing the initial analysis of a resource.
         
        .grafeas.v1beta1.discovery.Discovery discovery = 15;
        Specified by:
        hasDiscovery in interface NoteOrBuilder
        Returns:
        Whether the discovery field is set.
      • getDiscovery

        public Discovery getDiscovery()
         A note describing the initial analysis of a resource.
         
        .grafeas.v1beta1.discovery.Discovery discovery = 15;
        Specified by:
        getDiscovery in interface NoteOrBuilder
        Returns:
        The discovery.
      • setDiscovery

        public Note.Builder setDiscovery​(Discovery value)
         A note describing the initial analysis of a resource.
         
        .grafeas.v1beta1.discovery.Discovery discovery = 15;
      • setDiscovery

        public Note.Builder setDiscovery​(Discovery.Builder builderForValue)
         A note describing the initial analysis of a resource.
         
        .grafeas.v1beta1.discovery.Discovery discovery = 15;
      • mergeDiscovery

        public Note.Builder mergeDiscovery​(Discovery value)
         A note describing the initial analysis of a resource.
         
        .grafeas.v1beta1.discovery.Discovery discovery = 15;
      • clearDiscovery

        public Note.Builder clearDiscovery()
         A note describing the initial analysis of a resource.
         
        .grafeas.v1beta1.discovery.Discovery discovery = 15;
      • getDiscoveryBuilder

        public Discovery.Builder getDiscoveryBuilder()
         A note describing the initial analysis of a resource.
         
        .grafeas.v1beta1.discovery.Discovery discovery = 15;
      • hasAttestationAuthority

        public boolean hasAttestationAuthority()
         A note describing an attestation role.
         
        .grafeas.v1beta1.attestation.Authority attestation_authority = 16;
        Specified by:
        hasAttestationAuthority in interface NoteOrBuilder
        Returns:
        Whether the attestationAuthority field is set.
      • getAttestationAuthority

        public Authority getAttestationAuthority()
         A note describing an attestation role.
         
        .grafeas.v1beta1.attestation.Authority attestation_authority = 16;
        Specified by:
        getAttestationAuthority in interface NoteOrBuilder
        Returns:
        The attestationAuthority.
      • setAttestationAuthority

        public Note.Builder setAttestationAuthority​(Authority value)
         A note describing an attestation role.
         
        .grafeas.v1beta1.attestation.Authority attestation_authority = 16;
      • setAttestationAuthority

        public Note.Builder setAttestationAuthority​(Authority.Builder builderForValue)
         A note describing an attestation role.
         
        .grafeas.v1beta1.attestation.Authority attestation_authority = 16;
      • mergeAttestationAuthority

        public Note.Builder mergeAttestationAuthority​(Authority value)
         A note describing an attestation role.
         
        .grafeas.v1beta1.attestation.Authority attestation_authority = 16;
      • clearAttestationAuthority

        public Note.Builder clearAttestationAuthority()
         A note describing an attestation role.
         
        .grafeas.v1beta1.attestation.Authority attestation_authority = 16;
      • getAttestationAuthorityBuilder

        public Authority.Builder getAttestationAuthorityBuilder()
         A note describing an attestation role.
         
        .grafeas.v1beta1.attestation.Authority attestation_authority = 16;
      • setUnknownFields

        public final Note.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>
      • mergeUnknownFields

        public final Note.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Note.Builder>