public final Finding createFinding ( SourceName parent , String findingId , Finding finding ) { CreateFindingRequest request = CreateFindingRequest . newBuilder ( ) . setParent ( parent == null ? null : parent . toString ( ) ) . setFindingId ( findingId ) . setFinding ( finding ) . build ( ) ; return createFinding ( request ) ; }
Creates a finding . The corresponding source must exist for finding creation to succeed .