Package io.grafeas.v1

Class AttestationNote.Builder

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

    public static final class AttestationNote.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<AttestationNote.Builder>
    implements AttestationNoteOrBuilder
     Note kind that represents a logical attestation "role" or "authority". For
     example, an organization might have one `Authority` for "QA" and one for
     "build". This note is intended to act strictly as a grouping mechanism for
     the attached occurrences (Attestations). This grouping mechanism also
     provides a security boundary, since IAM ACLs gate the ability for a principle
     to attach an occurrence to a given note. It also provides a single point of
     lookup to find all attached attestation occurrences, even if they don't all
     live in the same project.
     
    Protobuf type grafeas.v1.AttestationNote
    • 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<AttestationNote.Builder>
      • clear

        public AttestationNote.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<AttestationNote.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<AttestationNote.Builder>
      • getDefaultInstanceForType

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

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

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

        public AttestationNote.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<AttestationNote.Builder>
      • setField

        public AttestationNote.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<AttestationNote.Builder>
      • clearField

        public AttestationNote.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<AttestationNote.Builder>
      • clearOneof

        public AttestationNote.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<AttestationNote.Builder>
      • setRepeatedField

        public AttestationNote.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<AttestationNote.Builder>
      • addRepeatedField

        public AttestationNote.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<AttestationNote.Builder>
      • mergeFrom

        public AttestationNote.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<AttestationNote.Builder>
      • isInitialized

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

        public AttestationNote.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<AttestationNote.Builder>
        Throws:
        IOException
      • hasHint

        public boolean hasHint()
         Hint hints at the purpose of the attestation authority.
         
        .grafeas.v1.AttestationNote.Hint hint = 1;
        Specified by:
        hasHint in interface AttestationNoteOrBuilder
        Returns:
        Whether the hint field is set.
      • clearHint

        public AttestationNote.Builder clearHint()
         Hint hints at the purpose of the attestation authority.
         
        .grafeas.v1.AttestationNote.Hint hint = 1;
      • getHintBuilder

        public AttestationNote.Hint.Builder getHintBuilder()
         Hint hints at the purpose of the attestation authority.
         
        .grafeas.v1.AttestationNote.Hint hint = 1;
      • setUnknownFields

        public final AttestationNote.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<AttestationNote.Builder>
      • mergeUnknownFields

        public final AttestationNote.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<AttestationNote.Builder>